CVE-2025-58767
REXML has DoS condition when parsing malformed XML file
5.3
MEDIUM
CVSS 3.1
EPSS 0.08%
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.
How to fix CVE-2025-58767
To remediate CVE-2025-58767, upgrade the affected package to a fixed version below.
- —upgrade to 3.4.4-r0 or later
- —no fix listed
- —no fix listed
- —upgrade to 3.4.2 or later
Is CVE-2025-58767 being exploited?
Low — EPSS is 0.1%, meaning exploitation activity has not been observed at scale.
Affected packages (4)
- from 0, < 3.4.4-r0
- from 0
- from 0
- >= 3.3.3, < 3.4.2
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | 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 |
| osv | CVSS 3.1 | MEDIUM5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |