CVE-2024-35176: REXML is an XML toolkit for Ruby
CVE-2024-35176 is a medium-severity flaw (CVSS 5.3) affecting rexml. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2024-35176?
rexml: upgrade to 3.2.7. Exact commands for each OS are on this page.
Is CVE-2024-35176 being exploited?
CVE-2024-35176 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2024-35176 affect?
CVE-2024-35176 affects rexml. Severity is medium (CVSS 5.3). 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
How urgent is CVE-2024-35176?
Priority 44/100. Remotely exploitable, no login, no user action
Software pages
Related CVEs
- CVE-2024-49761 HIGH 7.5 UPGRADE DOWNGRADE REXML is an XML toolkit for Ruby
- CVE-2024-43398 MEDIUM 5.9 UPGRADE MITIGATE REXML is an XML toolkit for Ruby
- CVE-2024-41946 MEDIUM 5.3 UPGRADE REXML is an XML toolkit for Ruby
- CVE-2024-41123 MEDIUM 5.3 UPGRADE REXML is an XML toolkit for Ruby
- CVE-2024-39908 MEDIUM 4.3 UPGRADE MITIGATE REXML is an XML toolkit for Ruby