CVE-2025-58767: ruby rexml · Uncontrolled Resource Consumption
Affects ruby rexmlSource CVE Database V5
Not known to be exploited · CVSS 1.2 Low.
Data as of 26 Oct 2026, 14:05 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 15% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
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:UExploitation evidence
Disclosed: evidence found.
CVE published 17 Sep 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: 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 26 Oct 2026.
What to do
AI-suggested
European organizations should take the following specific actions to mitigate this vulnerability: 1) Identify all Ruby applications and services using the REXML gem, particularly versions between 3.3.3 and 3.4.1. 2) Upgrade the REXML gem to version 3.4.2 or later, which contains the fix for this vulnerability. 3) Implement strict input validation and sanitization for XML data, especially when processing untrusted sources, to detect and reject XML documents with multiple XML declarations. 4) Employ runtime monitoring and resource usage limits on applications parsing XML to detect abnormal consumption patterns indicative of exploitation attempts. 5) For critical systems, consider using alternative XML parsing libraries with robust security features if upgrading REXML is not immediately feasible. 6) Incorporate this vulnerability into vulnerability management and patching workflows to ensure timely updates. 7) Conduct security testing and code reviews focusing on XML parsing logic to identify and remediate similar resource exhaustion risks.
Description
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.