Skip to main content
VulnerabilityPublished Updated

CVE-2026-42246: ruby2.7, ruby3.0, ruby3.2, ruby3.3 vulnerabilities

Affects ruby2.7Source 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.7.0-5ubuntu1.18+esm5 : patch ruby2.7 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.7.0-5ubuntu1.18+esm5, 3.0.2-7ubuntu2.13, 3.2.3-1ubuntu0.24.04.8 +1
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 to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
Ubuntu 26.04 LTSruby3.3pkg:deb/ubuntu/ruby3.3?arch=source&distro=resoluteOther threatsAffected
  • <3.3.8-2ubuntu3.1
Fixed in
  • 3.3.8-2ubuntu3.1
Ubuntu 24.04 LTSruby3.2pkg:deb/ubuntu/ruby3.2?arch=source&distro=nobleOther threatsAffected
  • <3.2.3-1ubuntu0.24.04.8
Fixed in
  • 3.2.3-1ubuntu0.24.04.8
Ubuntu 22.04 LTSruby3.0pkg:deb/ubuntu/ruby3.0?arch=source&distro=jammyOther threatsAffected
  • <3.0.2-7ubuntu2.13
Fixed in
  • 3.0.2-7ubuntu2.13
Ubuntu Pro 20.04 LTSruby2.7pkg:deb/ubuntu/ruby2.7?arch=source&distro=esm-infra/focalOther threatsAffected
  • <2.7.0-5ubuntu1.18+esm5
Fixed in
  • 2.7.0-5ubuntu1.18+esm5

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 TLS encryption was started after issuing a STARTTLS command. A remote attacker could use this to perform a machine-in-the-middle attack and silently bypass TLS encryption. (CVE-2026-42246) It was discovered that Ruby's Net::IMAP library did not validate string arguments passed to certain commands. A remote attacker could use this to inject arbitrary IMAP commands. (CVE-2026-42257) It was discovered that Ruby's Net::IMAP library was vulnerable to a denial of service attack when authenticating with SCRAM-SHA1 or SCRAM-SHA256. A hostile server could send a very large iteration count value to cause excessive computation in the client. This issue only affected ruby3.3. (CVE-2026-42256)

References

Community reviews

Loading reviews…