Vulnerability
CVE-2026-42256
Net::IMAP implements Internet Message Access Protocol (IMAP) client functionality in Ruby. From versions 0.4.0 to before 0.4.24, 0.5.0 to before 0.5.14, and 0.6.0 to before 0.6.4, when authenticating a connection with SCRAM-SHA1 or SCRAM-SHA256, a hostile server can perform a computational denial-of-service attack on the client process by sending a big iteration count value. This issue has been patched in versions 0.4.24, 0.5.14, and 0.6.4.
150 advisories report this vulnerability, across 13 ecosystems.
Advisories in Chainguard
- CGA-268g-r3gh-23fp
- CGA-273j-442h-h7qj
- CGA-27fv-8r2g-jjrj
- CGA-29fc-jrx4-m9p8
- CGA-2cr6-7gfc-xj52
- CGA-2g9p-qfq9-xc7q
- CGA-2pqp-38hh-prp6
- CGA-3fhv-42mm-mfhr
- CGA-3j58-32p3-x27j
- CGA-422x-4663-69xc
- CGA-42qc-c733-q6hr
- CGA-44w9-h8cj-rpq9
- CGA-462m-9hvc-h4w2
- CGA-4gmc-gm7m-834h
- CGA-4j2c-vhpg-5387
- CGA-4q6r-mjfc-p5xh
- CGA-4vc6-6mhj-q3vp
- CGA-4vgm-5w82-4wfx
- CGA-5246-622r-mfwp
- CGA-536p-33j8-5rf8
- CGA-55rc-5w25-fprv
- CGA-58qw-6x3p-p4jv
- CGA-5rqf-9mw2-mvv4
- CGA-5v6w-c9fg-8cr2
- CGA-5w73-ppwq-w829
- CGA-67rr-c53p-2hwm
- CGA-6h9p-6rp9-66mq
- CGA-6vj3-4p3x-64gm
- CGA-73mj-q35x-rq9c
- CGA-73rv-fhjw-mmgm
- CGA-76v2-wr69-f5c4
- CGA-7jm5-5v5f-8942
- CGA-7m8g-r5ph-qgfq
- CGA-82hf-92wq-mh57
- CGA-8f6x-6249-x43w
- CGA-8p28-pcxp-4qq6
- CGA-8x35-fp49-g58g
- CGA-938c-gffm-cc68
- CGA-9r9g-x7j4-gwhg
- CGA-9wgq-h636-v63j
- CGA-c34m-wh5w-88cv
- CGA-c7p6-gmq7-4f2w
- CGA-cp6p-6cc6-82vm
- CGA-fj79-w2wc-2f35
- CGA-fj8m-cw5r-cc9f
- CGA-fr38-9fjp-2xx4
- CGA-fvgj-wrjw-qhj7
- CGA-g9wp-v63v-9hjr
- CGA-ggqw-7r74-62rc
- CGA-gpjg-vf35-jm5w
- CGA-h6rw-q5h2-x59f
- CGA-h8hr-m6pm-g3m6
- CGA-h9j8-r3mm-h36p
- CGA-hfj5-w4fv-5mwx
- CGA-hfmx-c8p5-6fr9
- CGA-j4qw-pw92-p8pr
- CGA-j55h-m446-w2xm
- CGA-j7w4-2hp5-2vmx
- CGA-j824-h652-gfj2
- CGA-j8hh-54mp-qh9x
- CGA-jc8m-h4vq-433w
- CGA-jccj-w83w-qhjg
- CGA-jcj8-wv6m-v3jr
- CGA-jmf8-wmjm-36v5
- CGA-jq3v-6hhc-vqvf
- CGA-jv9g-xw44-9hh9
- CGA-jwwj-f84w-cmrg
- CGA-jx4r-9c5w-x6rx
- CGA-jxc9-7q99-9wqv
- CGA-m3hg-5hx7-35v3
- CGA-m3hp-jccr-3jhp
- CGA-m6pg-fmq7-67fw
- CGA-m7c8-hwh5-gmmh
- CGA-mr76-39vr-h3f4
- CGA-p2p7-v4jw-24fv
- CGA-p48x-6666-f3pv
- CGA-p65m-x56r-cq74
- CGA-p92q-cvw9-mhj9
- CGA-p9jj-7qvx-px55
- CGA-pf58-372r-f7vw
- CGA-pjqf-3pmw-3845
- CGA-pm93-c53f-gppg
- CGA-pmpg-fv8r-775x
- CGA-px87-c492-whjq
- CGA-q69x-rp8f-4pg6
- CGA-q6ph-mw54-vj4q
- CGA-qcg7-mv27-4g8h
- CGA-qh92-g2gq-2q4j
- CGA-qh9v-7mgj-jrvr
- CGA-qprx-297h-77r5
- CGA-qv3x-mrf6-2h3r
- CGA-qx3q-qj9q-mvfq
- CGA-rggw-xvgm-j3rp
- CGA-rh3r-7ggg-qmqv
- CGA-rwwx-r4v3-mhxh
- CGA-v2fm-c7xc-7qc4
- CGA-v6jp-h5gg-v498
- CGA-v8r9-84j2-6fhv
- CGA-v8wx-m5h9-rqpw
- CGA-v92h-2grv-qph3
Showing the first 100. The API lists them all: /api/v1/vulnerabilities/CVE-2026-42256.
References
- https://github.com/ruby/net-imap/commit/158d0b505074397cdb5ceb58935e42dd2bcfa612
- https://github.com/ruby/net-imap/commit/808001bc45c06f7297a7e96d341279e041a7f7f4
- https://github.com/ruby/net-imap/commit/99f59eab6064955a23debd95410263ad144df758
- 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-87pf-fpwv-p7m7