Skip to main content
VulnerabilityPublished Updated

CVE-2026-42246: ruby2.3, ruby2.5 vulnerabilities

Affects ruby2.3Source GCVE Database

0
Compare

Mentioned vulnerabilities

Authoritative record:CVE-2026-42246· High 7.6

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

CVSS 4.0 base score
7.6High
How severe the flaw is on the 0–10 CVSS scale.
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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 9 May 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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).

Affected software

ProductAffectedFixed in
Ubuntu Pro 18.04 LTSruby2.5pkg:deb/ubuntu/ruby2.5?arch=source&distro=esm-infra/bionicOther threatsAffected
  • <2.5.1-1ubuntu1.16+esm8
Fixed in
  • 2.5.1-1ubuntu1.16+esm8
Ubuntu Pro 16.04 LTSruby2.3pkg:deb/ubuntu/ruby2.3?arch=source&distro=esm-infra-legacy/xenialOther threatsAffected
  • <2.3.1-2~ubuntu16.04.16+esm14
Fixed in
  • 2.3.1-2~ubuntu16.04.16+esm14

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)

References

Community reviews

Loading reviews…