CVE-2024-41946: Jruby · REXML is an XML toolkit for Ruby
Affects jrubySource GCVE Database
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
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 5.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:LExploitation evidence
Disclosed: evidence found.
CVE published 1 Aug 2024
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 to a fixed release listed under Affected software.
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10jrubypkg:deb/ubuntu/jruby?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSjrubypkg:deb/ubuntu/jruby?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 25.10jrubypkg:deb/ubuntu/jruby?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSjrubypkg:deb/ubuntu/jruby?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSruby3.2pkg:deb/ubuntu/ruby3.2?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 22.04 LTSruby3.0pkg:deb/ubuntu/ruby3.0?arch=source&distro=jammyOther threats | Affected
| Fixed in
|
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
- ubuntu.com/security/CVE-2024-41946 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2024-41946 (opens in a new tab)
- github.com/ruby/rexml/security/advisories/GHSA-5866-49gr-22v4 (opens in a new tab)
- github.com/ruby/rexml/commit/033d1909a8f259d5a7c53681bcaf14f13bcf0368 (opens in a new tab)
- ubuntu.com/security/notices/USN-7091-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7091-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7840-1 (opens in a new tab)