Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Ruby-Lang | Rexml | >= 3.3.3, < 3.4.2 |
Related Weaknesses (CWE)
References
- https://github.com/ruby/rexml/commit/5859bdeac792687eaf93d8e8f0b7e3c1e2ed5c23Patch
- https://github.com/ruby/rexml/security/advisories/GHSA-c2f4-jgmc-q2r5Vendor Advisory
FAQ
What is CVE-2025-58767?
CVE-2025-58767 is a vulnerability with a CVSS score of 5.3 (MEDIUM). 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 impa...
How severe is CVE-2025-58767?
CVE-2025-58767 has been rated MEDIUM with a CVSS base score of 5.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-58767?
Check the references section above for vendor advisories and patch information. Affected products include: Ruby-Lang Rexml.