CVE-2026-42245
7.5 HIGHNet::IMAP implements Internet Message Access Protocol (IMAP) client functionality in Ruby
Published: 2026-05-09 · Last updated: 2026-05-18
Severity and scoring
- CVSS
- 7.5 HIGH
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CWE
- CWE-407
Affected products
| Vendor | Product |
|---|---|
| ruby-lang | net\ |
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.
Source: NVD
References
- [NVD]https://nvd.nist.gov/vuln/detail/CVE-2026-42245
- [Patch]https://github.com/ruby/net-imap/commit/6091f7d6b1f3514cafbfe39c76f2b5d73de3ca96
- [Patch]https://github.com/ruby/net-imap/commit/88d95231fc8afef11c1f074453f7d75b68c9dfda
- [Patch]https://github.com/ruby/net-imap/commit/de685f91a4a4cc75eb80da898c2bf8af08d34819
- [Other]https://github.com/ruby/net-imap/releases/tag/v0.4.24
- [Other]https://github.com/ruby/net-imap/releases/tag/v0.5.14
- [Other]https://github.com/ruby/net-imap/releases/tag/v0.6.4
- [Vendor advisory]https://github.com/ruby/net-imap/security/advisories/GHSA-q2mw-fvj9-vvcw
Related CVEs
Same vendor
- CVE-2026-46727 — An issue was discovered in Ruby 4 before 4.0.5 (8.1 HIGH)
- CVE-2026-42258 — Net::IMAP implements Internet Message Access Protocol (IMAP) client functionality in Ruby (9.8 CRITICAL)
- CVE-2026-42257 — Net::IMAP implements Internet Message Access Protocol (IMAP) client functionality in Ruby (9.8 CRITICAL)
- CVE-2026-42256 — Net::IMAP implements Internet Message Access Protocol (IMAP) client functionality in Ruby (6.5 MEDIUM)
- CVE-2026-42246 — Net::IMAP implements Internet Message Access Protocol (IMAP) client functionality in Ruby (7.4 HIGH)
Same CWE
- CVE-2026-45664 — ImageMagick is free and open-source software used for editing and manipulating digital images (5.3 MEDIUM)
- CVE-2026-41850 — Applications that evaluate user-supplied Spring Expression Language (SpEL) expressions are vulnerable to an Algorithmic Denial of Service... (7.5 HIGH)
- CVE-2026-11312 — A vulnerability was found in bytedance InfiniStore up to 0.2.33 (3.3 LOW)
- CVE-2026-8889 — Version 3.0.7 of the Securly Chrome Extension uses deprecated SHA-1 hashing for IWF CSAM URL matching (25,020 hashes) and CIPA blocklist ... (7.5 HIGH)
- CVE-2026-3276 — unicodedata.normalize() can take excessive CPU time when processing specially crafted Unicode input containing long runs of combining cha...