Vulnerability
CVE-2026-42245
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.
168 advisories report this vulnerability, across 14 ecosystems.
Advisories in Wolfi
- CGA-44v6-7hqq-4mg4
- CGA-4xpr-232v-p3p6
- CGA-53mq-3qh9-7334
- CGA-58rc-9fqx-99vj
- CGA-5gfx-fj7q-2rhr
- CGA-6cp9-cpfr-766j
- CGA-6j76-vgh4-h735
- CGA-74f2-9wj8-2f3c
- CGA-755q-q8w6-hxm2
- CGA-77jv-6qcw-2vfh
- CGA-7gq5-c34c-2xg5
- CGA-7xm5-mqhf-457r
- CGA-8566-g2cp-27wr
- CGA-8fwg-ccxq-4gcq
- CGA-8pfg-hr7c-mvgf
- CGA-8xp8-mjfc-wh8x
- CGA-9gc3-w8xj-4h7r
- CGA-chr5-9pg8-wr24
- CGA-f7wm-wr2h-3v3h
- CGA-fpmp-prc3-crpm
- CGA-h2j5-9wjc-qr84
- CGA-h3v8-3m7h-2frq
- CGA-h95v-mqqg-mp5c
- CGA-jh2p-23qw-78r2
- CGA-m3c3-646c-hm84
- CGA-rxpj-8wpm-rcc7
- CGA-w447-c29j-77vr
- CGA-w779-f7x2-fg5c
- CGA-wq6g-m3cf-2jp7
- CGA-x263-2qh2-j8v2
- CGA-xc8c-55gh-3vgh
- CGA-xhrf-63f3-cg73
References
- https://github.com/ruby/net-imap/commit/6091f7d6b1f3514cafbfe39c76f2b5d73de3ca96
- https://github.com/ruby/net-imap/commit/88d95231fc8afef11c1f074453f7d75b68c9dfda
- https://github.com/ruby/net-imap/commit/de685f91a4a4cc75eb80da898c2bf8af08d34819
- https://github.com/ruby/net-imap/releases/tag/v0.4.24
- https://github.com/ruby/net-imap/releases/tag/v0.5.14
- https://github.com/ruby/net-imap/releases/tag/v0.6.4
- https://github.com/ruby/net-imap/security/advisories/GHSA-q2mw-fvj9-vvcw