ADVISORIES

Vulnerability

CVE-2025-58767

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.

143 advisories report this vulnerability, across 15 ecosystems.

Advisories in RubyGems

  • GHSA-c2f4-jgmc-q2r5

    REXML has DoS condition when parsing malformed XML file

    Low CVE-2025-58767 RubyGems Updated 10 September 2026

References