Skip to main content
VulnerabilityPublished Updated

CVE-2025-58767: Ruby2.3 · REXML is an XML toolkit for Ruby

Affects ruby2.3Source GCVE Database

0
Compare
Authoritative record:CVE-2025-58767· Low 1.2

Not known to be exploited · CVSS 1.2 Low · fixed in 3.4.2 : update ruby2.3 when convenient.

Data as of 20 Nov 2026, 08:27 UTC

CVSS 4.0 base score
1.2Low
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.2% chance of exploitation in 30 days – higher than 16% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 3.4.2
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 17 Sep 2025

  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 19 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10ruby3.3pkg:deb/ubuntu/ruby3.3?arch=source&distro=stonkingOther threatsAffected
  • =3.3.8-2ubuntu3
  • =3.3.8-2.2ubuntu4
  • =3.3.8-2.2ubuntu4.1
Fixed in–
Ubuntu 26.04 LTSruby3.3pkg:deb/ubuntu/ruby3.3?arch=source&distro=resoluteOther threatsAffected
  • 3.3.8-2ubuntu2 – 3.3.8-2ubuntu3.2
4 affected builds
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.9
10 affected builds
Fixed in–
Ubuntu 22.04 LTSruby3.0pkg:deb/ubuntu/ruby3.0?arch=source&distro=jammyOther threatsAffected
  • 3.0.2-5ubuntu1 – 3.0.2-7ubuntu2.14
16 affected builds
Fixed in–
Ubuntu Pro 20.04 LTSruby2.7pkg:deb/ubuntu/ruby2.7?arch=source&distro=esm-infra/focalOther threatsAffected
  • 2.7.0-1 – 2.7.0-5ubuntu1.18+esm5
28 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

Upgrade to REXML gem version 3.4.2 or later to apply the official patch that fixes this denial of service vulnerability. No other mitigations are indicated. Users parsing untrusted XML should ensure they are not using affected versions.

Description

REXML, an XML toolkit for Ruby, has a denial of service (DoS) vulnerability in versions 3.3.3 to 3.4.1 when parsing XML containing multiple XML declarations. This affects Ruby 2.3 packages listed. The vulnerability can be triggered by parsing untrusted XML. The issue is fixed in REXML gem version 3.4.2 and later.

References

Community reviews

Loading reviews…