Medium severity · published Sep 17, 2025
CVE-2025-58767
REXML is an XML toolkit for Ruby
5.3
CVSS
0.2%
EPSS
No
On KEV
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 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
Low
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.2% · higher than 16% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
RE
Rexml · Ruby-lang
3.3.3 before 3.4.2 · source: NVD
Affected product
RE
Rexml
Ruby-lang
More from Rexml
7.5
CVE-2024-49761
REXML is an XML toolkit for Ruby
7.5
CVE-2024-41946
REXML is an XML toolkit for Ruby
7.5
CVE-2024-41123
REXML is an XML toolkit for Ruby
7.5
CVE-2021-28965
The REXML gem before 3.2.5 in Ruby before 2.6.7, 2.7.x before 2.7.3, and 3.x before 3.0.1 does not properly address XML round-trip issues
5.9
CVE-2024-43398
REXML is an XML toolkit for Ruby