Live threats

All CVEs / Ruby-lang

CVE-2025-58767Ruby-lang Rexml

Low 1.2

Priority
7
CVSS 4.0
1.2
EPSS
—
Auth required
Yes
Published
Sep 17, 2025
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-400
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

What happens

REXML is an XML toolkit for Ruby. The REXML gems from 3.3.3 to 3.4.1 has a DoS vulnerability when parsing XML containing multiple XML declarations. If you need to parse untrusted XMLs, you may be impacted to these vulnerabilities. The REXML gem 3.4.2 or later include the patches to fix these vulnerabilities.

Original NVD text.

What to do

  1. Apply the vendor's security update for Rexml.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
RubyGems rexml ≥ 3.3.3 < 3.4.2 3.4.2 gem "rexml", ">= 3.4.2"

Per OSV / GitHub Advisories (GHSA-c2f4-jgmc-q2r5). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
ruby-langrexml≥ 3.3.3 < 3.4.2

Official advisories

Also: SUSE (+2), Red Hat (+3)

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.