Skip to main content
VulnerabilityPublished Updated

CVE-2026-46727: Jruby · An issue was discovered in Ruby 4 before 4.0.5

Affects jrubySource GCVE Database

0
Compare
Authoritative record:CVE-2026-46727· High 8.1

Not known to be exploited · CVSS 8.1 High · fixed in 4.0.5 : patch jruby soon.

Data as of 17 Nov 2026, 20:40 UTC

CVSS 3.1 base score
8.1High
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 4.0.5
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 22 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 17 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10jrubypkg:deb/ubuntu/jruby?arch=source&distro=stonkingOther threatsAffected
  • =9.4.8.0+ds-3ubuntu1
  • =9.4.14.0+ds-1
Fixed in–
Ubuntu 26.10ruby3.3pkg:deb/ubuntu/ruby3.3?arch=source&distro=stonkingOther threatsAffected
  • =3.3.8-2ubuntu3
  • =3.3.8-2.2ubuntu4
Fixed in–
Ubuntu 26.04 LTSruby3.3pkg:deb/ubuntu/ruby3.3?arch=source&distro=resoluteOther threatsAffected
  • =3.3.8-2ubuntu2
  • =3.3.8-2ubuntu3
  • =3.3.8-2ubuntu3.1
Fixed in–
Ubuntu 25.10jrubypkg:deb/ubuntu/jruby?arch=source&distro=questingOther threatsAffected
  • =9.4.8.0+ds-2ubuntu1
  • =9.4.8.0+ds-3ubuntu1
Fixed in–
Ubuntu 25.10ruby3.3pkg:deb/ubuntu/ruby3.3?arch=source&distro=questingOther threatsAffected
  • 3.3.7-1ubuntu2 – 3.3.8-2ubuntu2.1
4 affected builds
Fixed in–
Ubuntu 24.04 LTSruby3.2pkg:deb/ubuntu/ruby3.2?arch=source&distro=nobleOther threatsAffected
  • 3.2.3-1 – 3.2.3-1ubuntu0.24.04.8
9 affected builds
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A fix is available in Ruby version 4.0.5. Users should upgrade to Ruby 4.0.5 or later to remediate this vulnerability. No additional mitigation steps are indicated in the provided data.

Description

A race condition vulnerability in Ruby 4 versions prior to 4.0.5 allows a remote attacker to cause a use-after-free in the pthread-based getaddrinfo timeout handler. This can lead to a crash of the Ruby process when calling Addrinfo.getaddrinfo or Socket.tcp with timeout parameters. Exploitation could be triggered by delaying DNS responses, potentially via a malicious DNS server or resolver. Memory corruption exploitation is theoretically possible.

References

Community reviews

Loading reviews…