CVE-2024-35176 | REXML contains a denial of service vulnerability

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.

Published: 2024-05-16 Last update: 2026-06-17 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2024-35176 is rated Moderate Risk (43.8/100): CVSS Medium severity, with medium exploitation likelihood (EPSS 2.06%). Mandatory action: Review affected assets and schedule remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2024-35176

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-15 8.43% 2.06% -6.36%
2 2026-06-04 6.40% 8.43% +2.03%
3 2026-04-19 6.40%

Full EPSS history (50 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2024-35176

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
5.3 3.1 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:N)
Doesn’t really leak secrets in a meaningful way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:L)
Might cause slowdowns, glitches, or partial disruption—not a full brick.
3.9 1.4 [email protected]

Weakness enumeration for CVE-2024-35176

GitHub Security Advisory for CVE-2024-35176

GHSA-vg3r-rm7w-2xgh · Severity: medium · Ecosystem: rubygems — REXML contains a denial of service vulnerability

OS Trackers for CVE-2024-35176

vendor priority summary link
debian not yet assigned CVE-2024-35176 not yet assigned priority: Debian including 2 source packages (ruby2.7, ruby3.1), 2 status rows across 2 suites (bookworm, bullseye): open 1, resolved 1. https://security-tracker.debian.org/tracker/CVE-2024-35176
gentoo normal CVE-2024-35176: 1 GLSA(s) (202507-08), 1 atom(s) (dev-ruby/rexml); latest impact normal. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2024-35176
redhat low https://access.redhat.com/security/cve/CVE-2024-35176
suse medium CVE-2024-35176 severity moderate: SUSE including 293 source package names (2.19-54.2:libruby2_5-2_5-2.5.9-150000.4.32.1, 2.19-54.2:ruby2.5-2.5.9-150000.4.32.1, …), 904 product×package rows across 196 product lines (Container bci/ruby, Container suse/rmt-server, … (196 product lines)): Fixed 593, Known Affected 231, Known Not Affected 80. https://www.suse.com/security/cve/CVE-2024-35176/
ubuntu medium CVE-2024-35176 medium priority: Ubuntu including 7 source packages (jruby, ruby2.3, …), 54 status rows across 10 suites (bionic, focal, jammy, noble, oracular, plucky, questing, trusty, upstream, xenial): DNE 31, needs-triage 13, released 5, not-affected 3, ignored 2. https://ubuntu.com/security/CVE-2024-35176

Affected software / configurations for CVE-2024-35176

Vendor Product Version Raw CPE
ruby-lang rexml < 3.2.7 cpe:2.3:a:ruby-lang:rexml:*:*:*:*:*:ruby:*:*

References for CVE-2024-35176

cvelogic Threat Intelligence