CVE-2025-58767: Ruby-Lang Rexml

Medium severity, CVSS 5.3. EPSS: 0.4% probability of exploitation activity in the next 30 days.

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.

What to do

The record states a fixed version for the versions it affects. If you run one, update to it.

  • Ruby-Lang Rexml, from 3.3.3, before 3.4.2: fixed in 3.4.2

Affected products

Affected packages

Published 2025-09-17. Last modified 2026-06-17.