CVE-2025-58767
REXML has a DoS condition when parsing malformed XML file
- State
- Published
- Severity
- 1.2 Low
- Published
- Sep 17, 2025
- Updated
- Sep 17, 2025
- Reserved
- Sep 4, 2025
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 1.2 Low | 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 | GitHub_M |
Weaknesses
- CWE-400 Uncontrolled Resource Consumption
Affected Products
| Product | Versions |
|---|---|
rexmlruby |
|
References
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.