CVE-2024-35176: Ruby-Lang Rexml

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

REXML is an XML toolkit for Ruby. The REXML gem before 3.2.6 has a denial of service vulnerability when it parses an XML that has many `<`s in an attribute value. Those who need to parse untrusted XMLs may be impacted to this vulnerability. The REXML gem 3.2.7 or later include the patch to fix this vulnerability. As a workaround, don't parse untrusted XMLs.

What to do

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

  • Ruby-Lang Rexml, before 3.2.7: fixed in 3.2.7

Affected products

Affected packages

Published 2024-05-16. Last modified 2026-06-17.