CVE-2026-42245
Last modified
CVE-2026-42245 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. Net::IMAP implements Internet Message Access Protocol (IMAP) client functionality in Ruby. Prior to versions 0.4.24, 0.5.14, and 0.6.4, Net::IMAP::ResponseReader has quadratic time complexity when reading large responses containing many string literals. EPSS estimates a 0.41% chance of exploitation in the next 30 days.
Description
Net::IMAP implements Internet Message Access Protocol (IMAP) client functionality in Ruby. Prior to versions 0.4.24, 0.5.14, and 0.6.4, Net::IMAP::ResponseReader has quadratic time complexity when reading large responses containing many string literals. A hostile server can send responses which are crafted to exhaust the client's CPU for a denial of service attack. This issue has been patched in versions 0.4.24, 0.5.14, and 0.6.4.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Ruby-Lang | Net\ | < 0.4.24 | Imap |
| Ruby-Lang | Net\ | >= 0.5.0, < 0.5.14 | Imap |
| Ruby-Lang | Net\ | >= 0.6.0, < 0.6.4 | Imap |
References
- https://github.com/ruby/net-imap/releases/tag/v0.6.4Release Notes
- https://github.com/ruby/net-imap/security/advisories/GHSA-q2mw-fvj9-vvcwMitigation, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-42245?
How severe is CVE-2026-42245?
How do I fix CVE-2026-42245?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-42236n8n is an open source workflow automation platform. Prior to…7.5
- CVE-2026-42237n8n is an open source workflow automation platform. Prior to…8.8
- CVE-2026-42238Nginx UI is a web user interface for the Nginx web server. P…9.8
- CVE-2026-42239Budibase is an open-source low-code platform. Prior to versi…8.1
- CVE-2026-4224When an Expat parser with a registered ElementDeclHandler pa…7.5
- CVE-2026-42241ParquetSharp is a .NET library for reading and writing Apach…5.3
- CVE-2026-42246Net::IMAP implements Internet Message Access Protocol (IMAP)…7.4
- CVE-2026-42248Ollama for Windows does not perform integrity or authenticit…9.8
- CVE-2026-42249Ollama for Windows contains a Remote Code Execution vulnerab…9.8
- CVE-2026-4225A security flaw has been discovered in CMS Made Simple up to…2.4
- CVE-2026-42250bzip2 contains an off‑by‑one error in the bzip2recover utili…4.8
- CVE-2026-42251Use of hard-coded credentials in KS-SOMED allowed an unautho…8.7
Are you affected by CVE-2026-42245?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
