---
title: "CVE-2026-42256"
canonical_url: "https://pkgseek.com/security/CVE-2026-42256"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "medium"
---

# 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.

CVE-2026-42256 is rated MEDIUM (6.5), with 171 indexed affected package builds across 4 distributions.

- **Severity / Score**: MEDIUM (6.5)
- **Affected builds**: 171
- **Affected distros**: 4
- **Distros with fixed_in**: AlmaLinux, Debian, Oracle Linux, Rocky Linux

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| AlmaLinux | 9 | ruby | 3.0.7-170.el9_8 | 4.0.6-34.module_el9.8.0+289+5a070f48 |
| AlmaLinux | 9 | ruby-bundled-gems | 3.3.13-10.module_el9.8.0+336+233af6ab | 4.0.6-34.module_el9.8.0+289+5a070f48 |
| AlmaLinux | 9 | ruby-default-gems | 3.0.7-170.el9_8 | 4.0.6-34.module_el9.8.0+289+5a070f48 |
| AlmaLinux | 9 | ruby-devel | 3.0.7-170.el9_8 | 4.0.6-34.module_el9.8.0+289+5a070f48 |
| AlmaLinux | 9 | ruby-doc | 3.3.13-10.module_el9.8.0+336+233af6ab | 4.0.6-34.module_el9.8.0+289+5a070f48 |
| AlmaLinux | 9 | rubygem-bigdecimal | 3.0.0-170.el9_8 | 4.0.6-34.module_el9.8.0+289+5a070f48 |
| AlmaLinux | 9 | rubygem-bundler | 2.2.33-170.el9_8 | 4.0.6-34.module_el9.8.0+289+5a070f48 |
| AlmaLinux | 9 | rubygem-io-console | 0.5.7-170.el9_8 | 3.3.12-8.module_el9.8.0+288+22f1c9f2 |
| AlmaLinux | 9 | rubygem-irb | 1.3.5-170.el9_8 | 3.3.12-8.module_el9.8.0+288+22f1c9f2 |
| AlmaLinux | 9 | rubygem-json | 2.5.1-170.el9_8 | 3.3.12-8.module_el9.8.0+288+22f1c9f2 |
| AlmaLinux | 9 | rubygem-minitest | 5.14.2-170.el9_8 | 6.0.0-34.module_el9.8.0+289+5a070f48 |
| AlmaLinux | 9 | rubygem-mysql2 | 0.5.5-3.module_el9.7.0+184+e2e36072 | 0.5.7-1.module_el9.8.0+232+50f6dd36 |
| AlmaLinux | 9 | rubygem-mysql2-doc | 0.5.5-3.module_el9.7.0+184+e2e36072 | 0.5.7-1.module_el9.8.0+232+50f6dd36 |
| AlmaLinux | 9 | rubygem-pg | 1.5.4-2.module_el9.7.0+245+447713a2 | 1.6.3-1.module_el9.8.0+232+50f6dd36 |
| AlmaLinux | 9 | rubygem-pg-doc | 1.5.4-2.module_el9.7.0+245+447713a2 | 1.6.3-1.module_el9.8.0+232+50f6dd36 |
| AlmaLinux | 9 | rubygem-power_assert | 1.2.1-170.el9_8 | 3.3.12-8.module_el9.8.0+288+22f1c9f2 |
| AlmaLinux | 9 | rubygem-psych | 3.3.2-170.el9_8 | 5.3.1-34.module_el9.8.0+289+5a070f48 |
| AlmaLinux | 9 | rubygem-racc | 1.8.1-36.module_el9.8.0+337+2e29b311 | 3.3.12-8.module_el9.8.0+288+22f1c9f2 |
| AlmaLinux | 9 | rubygem-rake | 13.0.3-170.el9_8 | 13.3.1-34.module_el9.8.0+289+5a070f48 |
| AlmaLinux | 9 | rubygem-rbs | 1.4.0-170.el9_8 | 4.0.6-34.module_el9.8.0+289+5a070f48 |
| AlmaLinux | 9 | rubygem-rdoc | 6.3.4.1-170.el9_8 | 7.0.4-34.module_el9.8.0+289+5a070f48 |
| AlmaLinux | 9 | rubygem-rexml | 3.2.5-170.el9_8 | 4.0.6-34.module_el9.8.0+289+5a070f48 |
| AlmaLinux | 9 | rubygem-rss | 0.2.9-170.el9_8 | 3.3.12-8.module_el9.8.0+288+22f1c9f2 |
| AlmaLinux | 9 | rubygems | 3.2.33-170.el9_8 | 4.0.6-34.module_el9.8.0+289+5a070f48 |
| AlmaLinux | 9 | rubygems-devel | 3.2.33-170.el9_8 | 4.0.6-34.module_el9.8.0+289+5a070f48 |
| AlmaLinux | 9 | rubygem-test-unit | 3.3.7-170.el9_8 | 4.0.6-34.module_el9.8.0+289+5a070f48 |
| AlmaLinux | 9 | rubygem-typeprof | 0.15.2-170.el9_8 | 3.3.12-8.module_el9.8.0+288+22f1c9f2 |
| AlmaLinux | 9 | ruby-libs | 3.0.7-170.el9_8 | 4.0.6-34.module_el9.8.0+289+5a070f48 |
| Debian | trixie | libruby3.3 | 3.3.8-2 | 3.3.13-0+deb13u1 |
| Debian | trixie | ruby3.3 | 3.3.8-2 | 3.3.13-0+deb13u1 |
| Debian | trixie | ruby3.3-dev | 3.3.8-2 | 3.3.13-0+deb13u1 |
| Debian | trixie | ruby3.3-doc | 3.3.8-2 | 3.3.13-0+deb13u1 |
| Oracle Linux | 10 | ruby | 3.3.10-13.el10_2 | 3.3.12-14.el10_2 |
| Oracle Linux | 10 | ruby4.0 | 4.0.3-35.el10_2 | 4.0.6-36.el10_2 |
| Oracle Linux | 10 | ruby4.0-devel | 4.0.3-35.el10_2 | 4.0.6-36.el10_2 |
| Oracle Linux | 10 | ruby4.0-rubygem-mysql2 | 0.5.7-35.el10_2 | 0.5.7-36.el10_2 |
| Oracle Linux | 10 | ruby4.0-rubygem-pg | 1.6.3-35.el10_2 | 1.6.3-36.el10_2 |
| Oracle Linux | 10 | ruby-bundled-gems | 3.3.10-13.el10_2 | 3.3.12-14.el10_2 |
| Oracle Linux | 10 | ruby-default-gems | 3.3.10-13.el10_2 | 3.3.12-14.el10_2 |
| Oracle Linux | 10 | ruby-devel | 3.3.10-13.el10_2 | 3.3.12-14.el10_2 |
| Oracle Linux | 10 | rubygem-bigdecimal | 3.1.5-13.el10_2 | 3.1.5-14.el10_2 |
| Oracle Linux | 10 | rubygem-bundler | 2.5.22-13.el10_2 | 2.5.22-14.el10_2 |
| Oracle Linux | 10 | rubygem-io-console | 0.7.1-13.el10_2 | 0.7.1-14.el10_2 |
| Oracle Linux | 10 | rubygem-irb | 1.13.1-13.el10_2 | 1.13.1-14.el10_2 |
| Oracle Linux | 10 | rubygem-json | 2.7.2-13.el10_2 | 2.7.2-14.el10_2 |
| Oracle Linux | 10 | rubygem-minitest | 5.20.0-13.el10_2 | 5.20.0-14.el10_2 |
| Oracle Linux | 10 | rubygem-power_assert | 2.0.3-13.el10_2 | 2.0.3-14.el10_2 |
| Oracle Linux | 10 | rubygem-psych | 5.1.2-13.el10_2 | 5.1.2-14.el10_2 |
| Oracle Linux | 10 | rubygem-racc | 1.7.3-13.el10_2 | 1.7.3-14.el10_2 |
| Oracle Linux | 10 | rubygem-rake | 13.1.0-13.el10_2 | 13.1.0-14.el10_2 |
| Oracle Linux | 10 | rubygem-rbs | 3.4.0-13.el10_2 | 3.4.0-14.el10_2 |
| Oracle Linux | 10 | rubygem-rdoc | 6.6.3.1-13.el10_2 | 6.6.3.1-14.el10_2 |
| Oracle Linux | 10 | rubygem-rexml | 3.4.4-13.el10_2 | 3.4.4-14.el10_2 |
| Oracle Linux | 10 | rubygem-rss | 0.3.1-13.el10_2 | 0.3.1-14.el10_2 |
| Oracle Linux | 10 | rubygems | 3.5.22-13.el10_2 | 3.5.22-14.el10_2 |
| Oracle Linux | 10 | rubygems-devel | 3.5.22-13.el10_2 | 3.5.22-14.el10_2 |
| Oracle Linux | 10 | rubygem-test-unit | 3.6.1-13.el10_2 | 3.6.1-14.el10_2 |
| Oracle Linux | 10 | rubygem-typeprof | 0.21.9-13.el10_2 | 0.21.9-14.el10_2 |
| Oracle Linux | 10 | ruby-libs | 3.3.10-13.el10_2 | 3.3.12-14.el10_2 |
| Oracle Linux | 8 | ruby | 2.5.9-114.module+el8.10.0+91057+c9074c35 | 3.3.12-8.module+el8.10.0+90981+a74aefb6 |
| Oracle Linux | 8 | ruby-bundled-gems | 3.3.10-7.module+el8.10.0+90936+88c9ba90 | 3.3.12-8.module+el8.10.0+90981+a74aefb6 |
| Oracle Linux | 8 | ruby-default-gems | 3.3.10-7.module+el8.10.0+90936+88c9ba90 | 3.3.12-8.module+el8.10.0+90981+a74aefb6 |
| Oracle Linux | 8 | ruby-devel | 2.5.9-114.module+el8.10.0+91057+c9074c35 | 3.3.12-8.module+el8.10.0+90981+a74aefb6 |
| Oracle Linux | 8 | ruby-doc | 2.5.9-114.module+el8.10.0+91057+c9074c35 | 3.3.12-8.module+el8.10.0+90981+a74aefb6 |
| Oracle Linux | 8 | rubygem-abrt | 0.3.0-4.module+el8.10.0+90367+ae9e8511 | 0.4.0-1.module+el8.10.0+90287+d51aa4ed |
| Oracle Linux | 8 | rubygem-abrt-doc | 0.3.0-4.module+el8.10.0+90367+ae9e8511 | 0.4.0-1.module+el8.10.0+90287+d51aa4ed |
| Oracle Linux | 8 | rubygem-bigdecimal | 1.3.4-114.module+el8.10.0+91057+c9074c35 | 3.1.5-8.module+el8.10.0+90981+a74aefb6 |
| Oracle Linux | 8 | rubygem-bundler | 1.16.1-5.module+el8.10.0+90940+f98fa8f0 | 2.5.22-8.module+el8.10.0+90981+a74aefb6 |
| Oracle Linux | 8 | rubygem-io-console | 0.4.6-114.module+el8.10.0+91057+c9074c35 | 0.7.1-8.module+el8.10.0+90981+a74aefb6 |
| Oracle Linux | 8 | rubygem-irb | 1.13.1-7.module+el8.10.0+90936+88c9ba90 | 1.13.1-8.module+el8.10.0+90981+a74aefb6 |
| Oracle Linux | 8 | rubygem-json | 2.1.0-114.module+el8.10.0+91057+c9074c35 | 2.7.2-8.module+el8.10.0+90981+a74aefb6 |
| Oracle Linux | 8 | rubygem-minitest | 5.10.3-114.module+el8.10.0+91057+c9074c35 | 5.20.0-8.module+el8.10.0+90981+a74aefb6 |
| Oracle Linux | 8 | rubygem-mysql2 | 0.5.3-3.module+el8.10.0+90574+609b2fe6 | 0.5.5-1.module+el8.10.0+90287+d51aa4ed |
| Oracle Linux | 8 | rubygem-mysql2-doc | 0.5.3-3.module+el8.10.0+90574+609b2fe6 | 0.5.5-1.module+el8.10.0+90287+d51aa4ed |
| Oracle Linux | 8 | rubygem-pg | 1.2.3-1.module+el8.10.0+90343+d5e92a1d | 1.5.4-1.module+el8.10.0+90287+d51aa4ed |
| Oracle Linux | 8 | rubygem-pg-doc | 1.2.3-1.module+el8.10.0+90343+d5e92a1d | 1.5.4-1.module+el8.10.0+90287+d51aa4ed |
| Oracle Linux | 8 | rubygem-power_assert | 1.1.1-114.module+el8.10.0+91057+c9074c35 | 2.0.3-8.module+el8.10.0+90981+a74aefb6 |
| Oracle Linux | 8 | rubygem-psych | 3.0.2-114.module+el8.10.0+91057+c9074c35 | 5.1.2-8.module+el8.10.0+90981+a74aefb6 |
| Oracle Linux | 8 | rubygem-racc | 1.7.3-7.module+el8.10.0+90936+88c9ba90 | 1.7.3-8.module+el8.10.0+90981+a74aefb6 |
| Oracle Linux | 8 | rubygem-rake | 12.3.3-114.module+el8.10.0+91057+c9074c35 | 13.1.0-8.module+el8.10.0+90981+a74aefb6 |
| Oracle Linux | 8 | rubygem-rbs | 3.4.0-7.module+el8.10.0+90936+88c9ba90 | 3.4.0-8.module+el8.10.0+90981+a74aefb6 |
| Oracle Linux | 8 | rubygem-rdoc | 6.0.1.1-114.module+el8.10.0+91057+c9074c35 | 6.6.3.1-8.module+el8.10.0+90981+a74aefb6 |
| Oracle Linux | 8 | rubygem-rexml | 3.4.4-7.module+el8.10.0+90936+88c9ba90 | 3.4.4-8.module+el8.10.0+90981+a74aefb6 |
| Oracle Linux | 8 | rubygem-rss | 0.3.1-7.module+el8.10.0+90936+88c9ba90 | 0.3.1-8.module+el8.10.0+90981+a74aefb6 |
| Oracle Linux | 8 | rubygems | 2.7.6.3-114.module+el8.10.0+91057+c9074c35 | 3.5.22-8.module+el8.10.0+90981+a74aefb6 |
| Oracle Linux | 8 | rubygems-devel | 2.7.6.3-114.module+el8.10.0+91057+c9074c35 | 3.5.22-8.module+el8.10.0+90981+a74aefb6 |
| Oracle Linux | 8 | rubygem-test-unit | 3.2.7-114.module+el8.10.0+91057+c9074c35 | 3.6.1-8.module+el8.10.0+90981+a74aefb6 |
| Oracle Linux | 8 | rubygem-typeprof | 0.21.9-7.module+el8.10.0+90936+88c9ba90 | 0.21.9-8.module+el8.10.0+90981+a74aefb6 |
| Oracle Linux | 8 | ruby-libs | 2.5.9-114.module+el8.10.0+91057+c9074c35 | 3.3.12-8.module+el8.10.0+90981+a74aefb6 |
| Oracle Linux | 9 | ruby | 3.3.12-9.module+el9.8.0+91048+2b421f43 | 4.0.6-34.module+el9.8.0+90985+4aa8aa3b |
| Oracle Linux | 9 | ruby-bundled-gems | 3.3.12-9.module+el9.8.0+91048+2b421f43 | 4.0.6-34.module+el9.8.0+90985+4aa8aa3b |
| Oracle Linux | 9 | ruby-default-gems | 3.3.12-9.module+el9.8.0+91048+2b421f43 | 4.0.6-34.module+el9.8.0+90985+4aa8aa3b |
| Oracle Linux | 9 | ruby-devel | 3.3.12-9.module+el9.8.0+91048+2b421f43 | 4.0.6-34.module+el9.8.0+90985+4aa8aa3b |
| Oracle Linux | 9 | ruby-doc | 3.3.12-9.module+el9.8.0+91048+2b421f43 | 4.0.6-34.module+el9.8.0+90985+4aa8aa3b |
| Oracle Linux | 9 | rubygem-bigdecimal | 3.1.5-9.module+el9.8.0+91048+2b421f43 | 4.0.1-34.module+el9.8.0+90985+4aa8aa3b |
| Oracle Linux | 9 | rubygem-bundler | 2.5.22-9.module+el9.8.0+91048+2b421f43 | 4.0.16-34.module+el9.8.0+90985+4aa8aa3b |
| Oracle Linux | 9 | rubygem-io-console | 0.7.1-9.module+el9.8.0+91048+2b421f43 | 0.8.2-34.module+el9.8.0+90985+4aa8aa3b |
| Oracle Linux | 9 | rubygem-irb | 1.13.1-9.module+el9.8.0+91048+2b421f43 | 1.16.0-34.module+el9.8.0+90985+4aa8aa3b |
| Oracle Linux | 9 | rubygem-json | 2.7.2-9.module+el9.8.0+91048+2b421f43 | 2.7.2-8.module+el9.8.0+90984+bac48209 |
| Oracle Linux | 9 | rubygem-minitest | 5.20.0-9.module+el9.8.0+91048+2b421f43 | 6.0.0-34.module+el9.8.0+90985+4aa8aa3b |

_Showing 100 of 171 total affected builds._
