CVE Catalog

CVE-2025-58767

Low
Published: Translated: NVD NIST

Summary

REXML is an XML toolkit for Ruby. Versions 3.3.3 to 3.4.1 have a DoS vulnerability when parsing XML containing multiple XML declarations. If you parse untrusted XMLs, you may be impacted. REXML gem 3.4.2 or later includes the patches.

Risk Assessment

An attacker can cause a denial of service (DoS) by sending a specially crafted XML document with multiple declarations, potentially disrupting application availability.

Recommendation

Update the REXML library to version 3.4.2 or later, which contains the necessary fixes.

Original NVD description (English source)

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 vulnera

Vulnerability data from NVD (NIST) · CISA KEV · EPSS