Resource exhaustion in REXML - CVE-2025-58767

 

Resource exhaustion in REXML - CVE-2025-58767

Published: September 18, 2025


Vulnerability identifier: #VU115794
CSH Severity: Low
CVSS v4.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/U:Clear
CVE-ID: CVE-2025-58767
CWE-ID: CWE-400
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: rubygems.org
Affected software:
REXML

Detailed vulnerability description

The vulnerability allows a local attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to application does not properly control consumption of internal resources when parsing invalid XML containing multiple XML declarations. A local attacker can trigger resource exhaustion and perform a denial of service (DoS) attack.


How to mitigate CVE-2025-58767

Install updates from vendor's website.

Sources