CVE-2026-42246: ruby2.3, ruby2.5 vulnerabilities
Affects ruby2.3Source GCVE Database
Mentioned vulnerabilities
Not known to be exploited · CVSS 7.6 High · fixed in 2.3.1-2~ubuntu16.04.16+esm14 : patch ruby2.3 soon.
Data as of 24 Nov 2026, 17:39 UTC
- Patch
- Available – fixed in 2.3.1-2~ubuntu16.04.16+esm14, 2.5.1-1ubuntu1.16+esm8
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 9 May 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.
What to do
Upgrade the Ubuntu to 2.3.1-2~ubuntu16.04.16+esm14 (ruby2.3 package) or 2.5.1-1ubuntu1.16+esm8 (ruby2.5 package).
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu Pro 18.04 LTSruby2.5pkg:deb/ubuntu/ruby2.5?arch=source&distro=esm-infra/bionicOther threats | Affected
| Fixed in
|
Ubuntu Pro 16.04 LTSruby2.3pkg:deb/ubuntu/ruby2.3?arch=source&distro=esm-infra-legacy/xenialOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
It was discovered that Ruby's Net::IMAP library did not properly verify that Transport Layer Security (TLS) encryption was started after issuing a STARTTLS command. A remote attacker could possibly use this issue to perform a machine-in-the-middle attack and silently bypass TLS encryption. (CVE-2026-42246) It was also discovered that Ruby's Net::IMAP library did not validate string arguments passed to certain commands. A remote attacker could possibly use this issue to inject arbitrary IMAP commands. (CVE-2026-42257)