CVSS 4.0
7.6 highCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:NHigh (7.6) in ruby-lang net\. EPSS 0.3% estimated probability of exploitation activity in the next 30 days. Fixed in net-imap 0.3.10, 0.4.24, 0.5.14.
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:NCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:Nnet-imap (RubyGems): fixed in 0.6.4, 0.5.14, 0.4.24, 0.3.10Explain CVE-2026-42246 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-42246?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-42246?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-42246 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.3.10 |
| ruby-lang:net\ | from 0.4.0 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-vcgp-9326-pqcp | RubyGems | net-imap | >=0.6.0 <0.6.4 | 0.6.4 |
| GHSA-vcgp-9326-pqcp | RubyGems | net-imap | >=0.5.0 <0.5.14 | 0.5.14 |
| GHSA-vcgp-9326-pqcp | RubyGems | net-imap | >=0.4.0 <0.4.24 | 0.4.24 |
| GHSA-vcgp-9326-pqcp | RubyGems | net-imap | <0.3.10 | 0.3.10 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12 | ruby3.1 | no fix listed | DEBIAN-CVE-2026-42246 |
| Debian | 13 | ruby3.3 | 3.3.13-0+deb13u1 | DEBIAN-CVE-2026-42246 DSA-6614-1 |
| Debian | 14 | ruby3.3 | no fix listed | DEBIAN-CVE-2026-42246 |
| Ubuntu | 16.04:LTS, 18.04:LTS, 20.04:LTS and 4 more | jruby | no fix listed | UBUNTU-CVE-2026-42246 |
| Ubuntu | 22.04:LTS | ruby3.0 | 3.0.2-7ubuntu2.13 | UBUNTU-CVE-2026-42246 |
| Ubuntu | 24.04:LTS | ruby3.2 | 3.2.3-1ubuntu0.24.04.8 | UBUNTU-CVE-2026-42246 |
| Ubuntu | 25.10 | jruby, ruby3.3 | no fix listed | UBUNTU-CVE-2026-42246 |
| Ubuntu | 26.04:LTS | ruby3.3 | 3.3.8-2ubuntu3.1 | UBUNTU-CVE-2026-42246 |
| Ubuntu | Pro:16.04:LTS | ruby2.3 | 2.3.1-2~ubuntu16.04.16+esm14 | UBUNTU-CVE-2026-42246 |
| Ubuntu | Pro:18.04:LTS | ruby2.5 | 2.5.1-1ubuntu1.16+esm8 | UBUNTU-CVE-2026-42246 |
| Ubuntu | Pro:20.04:LTS | ruby2.7 | 2.7.0-5ubuntu1.18+esm5 | UBUNTU-CVE-2026-42246 |
| Red Hat | enterprise_linux:8::appstream | ruby, ruby-doc, ruby-irb and 5 more | 0:2.5.9-115.module+el8.10.0+24408+7ffaaa88 | RHSA-2026:33514 |
| 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.3.0-4.module+el8.10.0+22021+135c76a8 | RHSA-2026:33514 |
| 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:1.3.4-115.module+el8.10.0+24408+7ffaaa88 | RHSA-2026:33514 |
| 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-bson, rubygem-bson-doc, rubygem-bson-debuginfo and 1 more | 0:4.3.0-2.module+el8.9.0+19193+435404ae | RHSA-2026:33514 |
| 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-bundler, rubygem-bundler-doc | 0:1.16.1-5.module+el8.10.0+23088+750dc6ca | RHSA-2026:33514 |
| Red Hat | enterprise_linux:8::appstream | rubygem-did_you_mean | 0:1.2.0-115.module+el8.10.0+24408+7ffaaa88 | RHSA-2026:33514 |
| Red Hat | enterprise_linux:8::appstream | rubygem-io-console, rubygem-io-console-debuginfo | 0:0.4.6-115.module+el8.10.0+24408+7ffaaa88 | RHSA-2026:33514 |
| 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 |
| 277 more for Red Hat in the JSON and on Red Hat's page. | ||||
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. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat.
Red Hat rates this Important.
This vulnerability affects the STARTTLS functionality in the Ruby net-imap library. Red Hat Product Security has assessed this issue as an Important severity vulnerability.
Attack Complexity is considered High (AC:H), because successful exploitation requires an attacker capable of intercepting and modifying network traffic and successfully winning a timing race during the STARTTLS negotiation process.
This may allow exposure of authentication credentials, email contents, and other sensitive information, as well as unauthorized modification of data transmitted over the affected connection.
```
Red Hat's ruby packages distribute net-imap as a default bundled gem, the ruby package itself is listed affected. Applications relying on the system-provided Ruby installation to handle IMAP connections may be exposed to this flaw.
Red Hat 3scale API Management uses net-imap which is a transitive dependency of mail, which is a dependency of actionmailer and actionmailbox. The images doesn’t load them or use them in any way, hence, they are not affected.
```
As a temporary workaround, Users are strongly encouraged to switch from explicit TLS upgrading mechanisms (STARTTLS on port 143) to Implicit TLS connections (such as IMAPS on port 993).
By enforcing implicit TLS via port 993 from the initial socket creation step, the connection is mathematically protected against packet injection and connection degradation tactics entirely, bypassing the vulnerable implementation path.
| 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 7 Extended Lifecycle Support | ruby-0:2.0.0.648-39.el7_9.1 | Fixed 2026-07-09 | RHSA-2026:37397 |
| Red Hat Enterprise Linux 8 | ruby:2.5-8100020260615131019.489197e6 | Fixed 2026-06-30 | RHSA-2026:33514 |
| Red Hat Enterprise Linux 8 | ruby:3.3-8100020260615131010.489197e6 | Fixed 2026-06-30 | RHSA-2026:33515 |
| Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support | ruby:2.5-8040020260630124058.522a0ee4 | Fixed 2026-07-06 | RHSA-2026:35866 |
| Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On | ruby:2.5-8040020260630124058.522a0ee4 | Fixed 2026-07-06 | RHSA-2026:35866 |
| Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support | ruby:2.5-8060020260630123825.ad008a3a | Fixed 2026-07-06 | RHSA-2026:35867 |
| Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On | ruby:2.5-8060020260630123825.ad008a3a | Fixed 2026-07-06 | RHSA-2026:35867 |
| 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 | |
| Red Hat Enterprise Linux 6 | ruby | Out of support scope | |
| 15 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-42246.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.