Skip to main content
VulnerabilityPublished Updated

CVE-2024-41946: Jruby · REXML is an XML toolkit for Ruby

Affects jrubySource GCVE Database

0
Compare
Authoritative record:CVE-2024-41946· Medium 5.3

Not known to be exploited · CVSS 5.3 Medium · fixed in 2.3.1-2~ubuntu16.04.16+esm11 : update jruby when convenient.

Data as of 24 Nov 2026, 19:38 UTC

CVSS 3.1 base score
5.3Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 3.15.3
Patch
Available – fixed in 2.3.1-2~ubuntu16.04.16+esm11, 2.5.1-1ubuntu1.16+esm6, 2.7.0-5ubuntu1.15 +2
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 1 Aug 2024

  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.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.04 LTSjrubypkg:deb/ubuntu/jruby?arch=source&distro=resoluteOther threatsAffected
  • =9.4.8.0+ds-3ubuntu1
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 24.04 LTSjrubypkg:deb/ubuntu/jruby?arch=source&distro=nobleOther threatsAffected
  • 9.3.9.0+ds-1 – 9.4.6.0+ds-1ubuntu3
4 affected builds
Fixed in–
Ubuntu 24.04 LTSruby3.2pkg:deb/ubuntu/ruby3.2?arch=source&distro=nobleOther threatsAffected
  • <3.2.3-1ubuntu0.24.04.3
Fixed in
  • 3.2.3-1ubuntu0.24.04.3
Ubuntu 22.04 LTSruby3.0pkg:deb/ubuntu/ruby3.0?arch=source&distro=jammyOther threatsAffected
  • <3.0.2-7ubuntu2.8
Fixed in
  • 3.0.2-7ubuntu2.8

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

AI-suggested

Apply the official patches provided by Ubuntu by updating Ruby and Jruby packages to the fixed versions: 2.3.1-2~ubuntu16.04.16+esm11, 2.5.1-1ubuntu1.16+esm6, 2.7.0-5ubuntu1.15, 3.0.2-7ubuntu2.8, and 3.2.3-1ubuntu0.24.04.3 or later. Standard system updates will apply these fixes. No additional mitigation steps are required beyond applying these updates.

Description

The REXML gem version 3.3.2 used in Ruby has a denial of service (DoS) vulnerability when parsing XML documents with many entity expansions using the SAX2 or pull parser API. This flaw can cause Ruby to crash. The vulnerability affects multiple Ubuntu package versions of Ruby and Jruby. Fixed versions are available, and updates should be applied to mitigate the issue.

References

Community reviews

Loading reviews…