# CVE-2026-42256: net-imap: Denial of service via high iteration count for \`SCRAM-\*\` authentication

- Priority: **Routine**
- Reason: Not severe (CVSS 6, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-05-09 · Modified: 2026-05-11
- Aliases: SUSE-SU-2026:3792-1, UBUNTU-CVE-2026-42256, DEBIAN-CVE-2026-42256, CGA-27fv-8r2g-jjrj, CGA-29fc-jrx4-m9p8, CGA-2cr6-7gfc-xj52, CGA-2pqp-38hh-prp6, CGA-3j58-32p3-x27j, CGA-422x-4663-69xc, CGA-4vgm-5w82-4wfx, CGA-536p-33j8-5rf8, CGA-7m8g-r5ph-qgfq, CGA-fj79-w2wc-2f35, CGA-fj8m-cw5r-cc9f, CGA-gpjg-vf35-jm5w, CGA-j55h-m446-w2xm, CGA-j7w4-2hp5-2vmx, CGA-j824-h652-gfj2, CGA-jv9g-xw44-9hh9, CGA-m3hg-5hx7-35v3, CGA-m3hp-jccr-3jhp, CGA-p2p7-v4jw-24fv, CGA-p92q-cvw9-mhj9, CGA-pf58-372r-f7vw, CGA-q69x-rp8f-4pg6, CGA-q6ph-mw54-vj4q, CGA-qh92-g2gq-2q4j, CGA-rwwx-r4v3-mhxh, CGA-v2fm-c7xc-7qc4, CGA-vq2r-qgrg-qc9p, CGA-wp7r-grh4-j79f, openSUSE-SU-2026:21225-1, CGA-268g-r3gh-23fp, CGA-273j-442h-h7qj, CGA-2g9p-qfq9-xc7q, CGA-3fhv-42mm-mfhr, 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-5246-622r-mfwp, 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-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-fr38-9fjp-2xx4, CGA-fvgj-wrjw-qhj7, CGA-g9wp-v63v-9hjr, CGA-ggqw-7r74-62rc, 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-j8hh-54mp-qh9x, CGA-jc8m-h4vq-433w, CGA-jccj-w83w-qhjg, CGA-jcj8-wv6m-v3jr, CGA-jmf8-wmjm-36v5, CGA-jq3v-6hhc-vqvf, CGA-jwwj-f84w-cmrg, CGA-jx4r-9c5w-x6rx, CGA-jxc9-7q99-9wqv, CGA-m6pg-fmq7-67fw, CGA-m7c8-hwh5-gmmh, CGA-mr76-39vr-h3f4, CGA-p48x-6666-f3pv, CGA-p65m-x56r-cq74, CGA-p9jj-7qvx-px55, CGA-pjqf-3pmw-3845, CGA-pm93-c53f-gppg, CGA-pmpg-fv8r-775x, GHSA-87pf-fpwv-p7m7, CGA-px87-c492-whjq, CGA-qcg7-mv27-4g8h, 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-v6jp-h5gg-v498, CGA-v8r9-84j2-6fhv, CGA-v8wx-m5h9-rqpw, CGA-v92h-2grv-qph3, CGA-vh2x-jpc5-r674, CGA-vh33-46hm-23q8, CGA-vjxc-v9h5-j7q3, CGA-vmqc-p898-3mqh, CGA-vwjw-6429-v3vf, CGA-w8xg-2g5m-3rjj, CGA-w9hh-79r8-5488, CGA-wjq9-pfrc-fr8r, CGA-wv68-vh9c-5fhp, CGA-wxvh-4c65-44rh, CGA-xgfj-qxhp-99vc, CGA-xq95-mfv8-qr5v, CGA-xrwc-4q2f-7xmh, ALPINE-CVE-2026-42256
- Record: https://cvemate.com/vulnerability/CVE-2026-42256 · JSON: https://cvemate.com/vulnerability/CVE-2026-42256/json

## Description

```text
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.
```

## Signals

- CVSS: 6.5 medium (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- EPSS: 0.299%, percentile 24.262%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 82)

- alpine ruby-net-imap (Alpine Linux): \< 0.4.25-r0
- chainguard gitlab-rails-ce-18.1 (Chainguard): \< 18.1.6-r10
- chainguard gitlab-rails-ce-18.10 (Chainguard): \< 18.10.5-r1
- chainguard gitlab-rails-ce-18.11 (Chainguard): \< 18.11.3-r1
- chainguard gitlab-rails-ce-18.3 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.4 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.5 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.6 (Chainguard): \< 18.6.6-r4
- chainguard gitlab-rails-ce-18.7 (Chainguard): \< 18.7.6-r3
- chainguard gitlab-rails-ce-18.8 (Chainguard): \< 18.8.9-r1
- chainguard gitlab-rails-ce-18.9 (Chainguard): \< 18.9.7-r2
- chainguard gitlab-rails-ce-fips-18.1 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-18.10 (Chainguard): \< 18.10.4-r1
- chainguard gitlab-rails-ce-fips-18.11 (Chainguard): \< 18.11.3-r2
- chainguard gitlab-rails-ce-fips-18.3 (Chainguard): \< 18.3.6-r7
- chainguard gitlab-rails-ce-fips-18.4 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-18.5 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-18.6 (Chainguard): \< 18.6.6-r4
- chainguard gitlab-rails-ce-fips-18.7 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-18.8 (Chainguard): All versions (No fix recorded)

## References (first 20 of 31)

- <https://github.com/ruby/net-imap/security/advisories/GHSA-87pf-fpwv-p7m7>
- <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://www.suse.com/support/update/announcement/2026/suse-su-20263792-1/>
- <https://bugzilla.suse.com/1265369>
- <https://bugzilla.suse.com/1274715>
- <https://www.suse.com/security/cve/CVE-2026-42256>
- <https://ubuntu.com/security/CVE-2026-42256>
- <https://www.cve.org/CVERecord?id=CVE-2026-42256>
- <https://ubuntu.com/security/notices/USN-8478-1>
- <https://security-tracker.debian.org/tracker/CVE-2026-42256>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42256.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-42256>
- <https://bugzilla.suse.com/1246976>
- <https://bugzilla.suse.com/1248510>
- <https://bugzilla.suse.com/1248869>

---

Data as of 2026-12-05T04:45:29.711Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
