# CVE-2024-35176: REXML contains a denial of service vulnerability

- Priority: **Routine**
- Reason: Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-05-16 · Modified: 2025-11-03
- Aliases: RHSA-2024:5338, UBUNTU-CVE-2024-35176, DEBIAN-CVE-2024-35176, CGA-26x5-m7q5-pq7m, CGA-27hw-76mw-r8qf, CGA-29x6-h772-hc47, CGA-2wrj-7xqf-cjfr, CGA-3528-458h-gqvh, CGA-3c6h-8225-f8pq, CGA-6232-jwcp-ph3j, CGA-7fw5-xxwr-qfwh, CGA-7g7v-jfx8-52j3, CGA-7rf7-77xg-6xhv, CGA-8j4v-48vh-26ch, CGA-8qwg-7xgh-vxp2, CGA-953f-536c-665f, CGA-9ch7-2m28-pg74, CGA-9m5f-64mx-g64g, CGA-cqh4-5438-gpqp, CGA-f2x8-76jq-2hqg, CGA-g2pw-c9cf-p948, CGA-gc35-8fjf-7jxr, CGA-gwcv-4fcp-2924, CGA-jhj7-6r9r-69cc, CGA-m47q-g47c-xm59, CGA-m5q9-w4hc-q5g9, CGA-mpvq-gjmh-488j, CGA-p734-c7m8-22g6, CGA-p7p4-jwc8-mv5r, CGA-px5h-pchm-cfp3, CGA-q7qh-3qx5-37v9, CGA-q84p-jg52-pw64, CGA-qh6j-vh3j-wjh6, CGA-qmpj-56pq-hvf3, CGA-r28q-2g86-5cg7, CGA-vrh8-76fq-hq8c, CGA-w8q4-ww9f-pvq4, CGA-wf6h-mj64-4rgm, CGA-x4hh-73gx-3pr5, GHSA-vg3r-rm7w-2xgh
- Record: https://cvemate.com/vulnerability/CVE-2024-35176 · JSON: https://cvemate.com/vulnerability/CVE-2024-35176/json

## Description

```text
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.
```

## Signals

- CVSS: 5.3 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- EPSS: 2.064%, percentile 82.014%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 48)

- chainguard jruby-9.4 (Chainguard): \< 9.4.8.0-r0
- chainguard jruby-9.4-default-ruby (Chainguard): \< 9.4.8.0-r0
- chainguard kube-fluentd-operator (Chainguard): \< 1.18.2-r11
- chainguard kube-fluentd-operator-compat (Chainguard): \< 1.18.2-r11
- chainguard kube-fluentd-operator-default-config (Chainguard): \< 1.18.2-r11
- chainguard kube-fluentd-operator-oci-entrypoint (Chainguard): \< 1.18.2-r11
- chainguard logstash-output-opensearch (Chainguard): \< 2.0.3-r2
- chainguard ruby-3.1 (Chainguard): \< 3.1.6-r2
- chainguard ruby-3.1-dev (Chainguard): \< 3.1.6-r2
- chainguard ruby-3.2 (Chainguard): \< 3.2.4-r4
- chainguard ruby-3.2-dev (Chainguard): \< 3.2.4-r4
- chainguard ruby-3.2-doc (Chainguard): \< 3.2.4-r4
- chainguard ruby-3.3 (Chainguard): \< 3.3.2-r0
- chainguard ruby-3.3-base (Chainguard): \< 3.3.2-r0
- chainguard ruby-3.3-base-dev (Chainguard): \< 3.3.2-r0
- chainguard ruby-3.3-dev (Chainguard): \< 3.3.2-r0
- chainguard ruby-3.3-doc (Chainguard): \< 3.3.2-r0
- chainguard ruby3.2-rexml (Chainguard): \< 3.2.8-r0
- wolfi jruby-9.4 (Wolfi): \< 9.4.8.0-r0
- wolfi jruby-9.4-default-ruby (Wolfi): \< 9.4.8.0-r0

## References (first 20 of 22)

- <https://github.com/ruby/rexml/security/advisories/GHSA-vg3r-rm7w-2xgh>
- <https://github.com/ruby/rexml/commit/4325835f92f3f142ebd91a3fdba4e1f1ab7f1cfb>
- <https://www.ruby-lang.org/en/news/2024/05/16/dos-rexml-cve-2024-35176>
- <https://security.netapp.com/advisory/ntap-20250306-0001/>
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00011.html>
- <https://access.redhat.com/errata/RHSA-2024:5338>
- <https://access.redhat.com/security/updates/classification/#low>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2280894>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2024/rhsa-2024_5338.json>
- <https://access.redhat.com/security/cve/CVE-2024-35176>
- <https://www.cve.org/CVERecord?id=CVE-2024-35176>
- <https://nvd.nist.gov/vuln/detail/CVE-2024-35176>
- <https://ubuntu.com/security/CVE-2024-35176>
- <https://ubuntu.com/security/notices/USN-7091-1>
- <https://ubuntu.com/security/notices/USN-7091-2>
- <https://ubuntu.com/security/notices/USN-7418-1>
- <https://ubuntu.com/security/notices/USN-7734-1>
- <https://ubuntu.com/security/notices/USN-7840-1>
- <https://security-tracker.debian.org/tracker/CVE-2024-35176>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/35xxx/CVE-2024-35176.json>

---

Data as of 2026-12-05T04:20:57.629Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
