Skip to main content
← All vulnerabilities
CVE-2025-58767GHSA-C2F4-JGMC-Q2R5

REXML has a DoS condition when parsing malformed XML file

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.4.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • ruby rexml

    From 3.3.3 · fixed in 3.4.2

  • rexmlRubyGems

    From 3.3.3 · fixed in 3.4.2

References 2

GitHub · ruby/rexml