CVSS 4.0
2.3 lowCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:NLow (2.3) in ruby-lang net\. EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in net-imap 0.4.24, 0.5.14, 0.6.4.
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:NCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:Hnet-imap (RubyGems): fixed in 0.6.4, 0.5.14, 0.4.24Explain CVE-2026-42245 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-42245?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-42245?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-42245 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| ruby-lang:net\ | before 0.4.24 |
| ruby-lang:net\ | from 0.5.0 before 0.5.14 |
| ruby-lang:net\ | from 0.6.0 before 0.6.4 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-q2mw-fvj9-vvcw | RubyGems | net-imap | >=0.6.0 <0.6.4 | 0.6.4 |
| GHSA-q2mw-fvj9-vvcw | RubyGems | net-imap | >=0.5.0 <0.5.14 | 0.5.14 |
| GHSA-q2mw-fvj9-vvcw | RubyGems | net-imap | <0.4.24 | 0.4.24 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12 | ruby3.1 | no fix listed | DEBIAN-CVE-2026-42245 |
| Debian | 13 | ruby3.3 | 3.3.13-0+deb13u1 | DEBIAN-CVE-2026-42245 DSA-6614-1 |
| Debian | 14 | ruby3.3 | no fix listed | DEBIAN-CVE-2026-42245 |
| Ubuntu | 25.10, 26.10 | jruby, ruby3.3 | no fix listed | UBUNTU-CVE-2026-42245 |
| Red Hat | enterprise_linux:8::appstream | ruby, ruby-doc, ruby-libs and 7 more | 0:3.3.10-7.module+el8.10.0+24407+4a33a056 | RHSA-2026:33515 |
| Red Hat | enterprise_linux:8::appstream | rubygem-abrt, rubygem-abrt-doc | 0:0.4.0-1.module+el8.10.0+21226+b78a28c4 | RHSA-2026:33515 |
| Red Hat | enterprise_linux:8::appstream | rubygem-bigdecimal, rubygem-bigdecimal-debuginfo | 0:3.1.5-7.module+el8.10.0+24407+4a33a056 | RHSA-2026:33515 |
| Red Hat | enterprise_linux:8::appstream | rubygem-bundler | 0:2.5.22-7.module+el8.10.0+24407+4a33a056 | RHSA-2026:33515 |
| Red Hat | enterprise_linux:8::appstream | rubygem-io-console, rubygem-io-console-debuginfo | 0:0.7.1-7.module+el8.10.0+24407+4a33a056 | RHSA-2026:33515 |
| Red Hat | enterprise_linux:8::appstream | rubygem-irb | 0:1.13.1-7.module+el8.10.0+24407+4a33a056 | RHSA-2026:33515 |
| Red Hat | enterprise_linux:8::appstream | rubygem-json, rubygem-json-debuginfo | 0:2.7.2-7.module+el8.10.0+24407+4a33a056 | RHSA-2026:33515 |
| Red Hat | enterprise_linux:8::appstream | rubygem-minitest | 0:5.20.0-7.module+el8.10.0+24407+4a33a056 | RHSA-2026:33515 |
| Red Hat | enterprise_linux:8::appstream | rubygem-mysql2, rubygem-mysql2-doc, rubygem-mysql2-debuginfo and 1 more | 0:0.5.5-1.module+el8.10.0+21226+b78a28c4 | RHSA-2026:33515 |
| Red Hat | enterprise_linux:8::appstream | rubygem-pg, rubygem-pg-doc, rubygem-pg-debuginfo and 1 more | 0:1.5.4-1.module+el8.10.0+21226+b78a28c4 | RHSA-2026:33515 |
| Red Hat | enterprise_linux:8::appstream | rubygem-power_assert | 0:2.0.3-7.module+el8.10.0+24407+4a33a056 | RHSA-2026:33515 |
| Red Hat | enterprise_linux:8::appstream | rubygem-psych, rubygem-psych-debuginfo | 0:5.1.2-7.module+el8.10.0+24407+4a33a056 | RHSA-2026:33515 |
| 198 more for Red Hat in the JSON and on Red Hat's page. | ||||
| AlmaLinux | 8 | ruby, ruby-doc, ruby-libs and 3 more | 3.3.10-7.module_el8.10.0+4210+b037b1ec | ALSA-2026:33515 |
| AlmaLinux | 8 | rubygem-abrt, rubygem-abrt-doc | 0.4.0-1.module_el8.10.0+3799+191214cc | ALSA-2026:33515 |
| AlmaLinux | 8 | rubygem-bigdecimal | 3.1.5-7.module_el8.10.0+4210+b037b1ec | ALSA-2026:33515 |
| AlmaLinux | 8 | rubygem-bundler | 2.5.22-7.module_el8.10.0+4210+b037b1ec | ALSA-2026:33515 |
| AlmaLinux | 8 | rubygem-io-console | 0.7.1-7.module_el8.10.0+4210+b037b1ec | ALSA-2026:33515 |
| AlmaLinux | 8 | rubygem-irb | 1.13.1-7.module_el8.10.0+4210+b037b1ec | ALSA-2026:33515 |
| AlmaLinux | 8 | rubygem-json | 2.7.2-7.module_el8.10.0+4210+b037b1ec | ALSA-2026:33515 |
| AlmaLinux | 8 | rubygem-minitest | 5.20.0-7.module_el8.10.0+4210+b037b1ec | ALSA-2026:33515 |
| AlmaLinux | 8 | rubygem-mysql2, rubygem-mysql2-doc | 0.5.5-1.module_el8.10.0+3799+191214cc | ALSA-2026:33515 |
| AlmaLinux | 8 | rubygem-pg, rubygem-pg-doc | 1.5.4-1.module_el8.10.0+3799+191214cc | ALSA-2026:33515 |
| AlmaLinux | 8 | rubygem-power_assert | 2.0.3-7.module_el8.10.0+4210+b037b1ec | ALSA-2026:33515 |
| AlmaLinux | 8 | rubygem-psych | 5.1.2-7.module_el8.10.0+4210+b037b1ec | ALSA-2026:33515 |
| 61 more for AlmaLinux in the JSON. | ||||
| Rocky Linux | 8 | rubygem-abrt | 0:0.4.0-1.module+el8.10.0+1679+61871737 | RLSA-2026:33515 |
| Rocky Linux | 8 | rubygem-abrt | 0:0.4.0-1.module+el8.10.0+1741+bdb5b6ca | RLSA-2026:33515 |
| Rocky Linux | 8 | rubygem-abrt | 0:0.4.0-1.module+el8.10.0+1820+f3fffb92 | RLSA-2026:33515 |
| Rocky Linux | 8 | rubygem-abrt | 0:0.4.0-1.module+el8.10.0+1826+b62220b4 | RLSA-2026:33515 |
| Rocky Linux | 8 | rubygem-abrt | 0:0.4.0-1.module+el8.10.0+1827+16ecb9d2 | RLSA-2026:33515 |
| Rocky Linux | 8 | rubygem-abrt | 0:0.4.0-1.module+el8.5.0+668+665814fa | RLSA-2026:33515 |
| Rocky Linux | 8 | rubygem-abrt | 0:0.4.0-1.module+el8.9.0+1537+0b2034bd | RLSA-2026:33515 |
| Rocky Linux | 8 | rubygem-mysql2 | 0:0.5.5-1.module+el8.10.0+1679+61871737 | RLSA-2026:33515 |
| Rocky Linux | 8 | rubygem-mysql2 | 0:0.5.5-1.module+el8.10.0+1827+16ecb9d2 | RLSA-2026:33515 |
| Rocky Linux | 8 | rubygem-pg | 0:1.5.4-1.module+el8.10.0+1679+61871737 | RLSA-2026:33515 |
| Rocky Linux | 8 | rubygem-pg | 0:1.5.4-1.module+el8.10.0+1827+16ecb9d2 | RLSA-2026:33515 |
| Rocky Linux | 9 | rubygem-mysql2 | 0:0.5.5-3.module+el9.7.0+40032+36e56d0d | RLSA-2026:33576 |
| 1 more for Rocky Linux in the JSON. | ||||
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat.
Red Hat rates this Moderate.
Red Hat has rated this flaw as Moderate because a malicious IMAP server can trigger excessive CPU consumption, resulting in a denial-of-service (DoS) condition in client applications using the affected Net::IMAP library. Successful exploitation requires interaction with a hostile server, and the impact is strictly limited to resource exhaustion of the client process. The vulnerability does not allow code execution, privilege escalation, or unauthorized access to data.
Regarding Red Hat Satellite: the Satellite-shipped puppet-agent package may include Net::IMAP / net-imap files under /opt/puppetlabs as part of the bundled Puppet Ruby runtime. Satellite does not use Net::IMAP for its supported email notification functionality (SMTP is used instead), and the vulnerable IMAP client operations are not exercised on a supported Satellite attack path. Presence of these files in puppet-agent therefore does not change the assessment that these CVEs are not applicable to Red Hat Satellite. Scanner findings based solely on on-disk gem presence should be treated as false positives for Satellite product impact.
To reduce the risk of a denial of service, ensure that applications using the Net::IMAP library are configured to connect exclusively to trusted IMAP servers. Avoid connecting to untrusted or unverified IMAP services, as a hostile server can exploit this vulnerability. This operational control helps prevent exposure to malicious IMAP response processing.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 10 | ruby4.0-0:4.0.3-35.el10_2 | Fixed 2026-06-30 | RHSA-2026:33540 |
| Red Hat Enterprise Linux 10 | ruby-0:3.3.10-13.el10_2 | Fixed 2026-06-30 | RHSA-2026:33565 |
| Red Hat Enterprise Linux 10.0 Extended Update Support | ruby-0:3.3.10-11.el10_0.2 | Fixed 2026-07-06 | RHSA-2026:35895 |
| Red Hat Enterprise Linux 8 | ruby:3.3-8100020260615131010.489197e6 | Fixed 2026-06-30 | RHSA-2026:33515 |
| Red Hat Enterprise Linux 9 | ruby:3.3-9080020260615131001.9 | Fixed 2026-06-30 | RHSA-2026:33576 |
| Red Hat Enterprise Linux 9 | ruby:4.0-9080020260619130154.9 | Fixed 2026-06-30 | RHSA-2026:33577 |
| Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions | ruby:3.3-9040020260630065449.9 | Fixed 2026-07-07 | RHSA-2026:36099 |
| Red Hat Enterprise Linux 9.6 Extended Update Support | ruby:3.3-9060020260630075016.9 | Fixed 2026-07-09 | RHSA-2026:37238 |
| Red Hat Hardened Images | ruby4-0-main-0.3.2-33.4.hum1 | Fixed 2026-06-30 | RHSA-2026:33551 |
| Red Hat Hardened Images | ruby4-0-main-4.0.0-33.4.hum1 | Fixed 2026-06-30 | RHSA-2026:33551 |
| Red Hat Hardened Images | ruby3-4-main-0.3.1-31.2.hum1 | Fixed 2026-06-30 | RHSA-2026:33552 |
| Red Hat 3scale API Management Platform 2 | 3scale-amp21/system | Not affected | |
| Red Hat 3scale API Management Platform 2 | 3scale-amp21/zync | Not affected | |
| Red Hat 3scale API Management Platform 2 | 3scale-amp22/system | Not affected | |
| Red Hat 3scale API Management Platform 2 | 3scale-amp22/zync | Not affected | |
| Red Hat 3scale API Management Platform 2 | 3scale-amp2/system-rhel7 | Not affected | |
| Red Hat 3scale API Management Platform 2 | 3scale-amp2/system-rhel8 | Not affected | |
| Red Hat 3scale API Management Platform 2 | 3scale-amp2/system-rhel9 | Not affected | |
| Red Hat 3scale API Management Platform 2 | 3scale-amp2/zync-rhel8 | Not affected | |
| Red Hat 3scale API Management Platform 2 | 3scale-amp2/zync-rhel9 | Not affected | |
| 4 more in the JSON and on Red Hat's page. | |||
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-42245.