# CVE-2024-43398: REXML denial of service vulnerability

- Priority: **Routine**
- Reason: Not severe (CVSS 5.9, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-08-22 · Modified: 2025-11-03
- Aliases: ALPINE-CVE-2024-43398, UBUNTU-CVE-2024-43398, DEBIAN-CVE-2024-43398, CGA-29gr-cjwq-4rxf, CGA-2m4w-w496-h466, CGA-39f2-vx6g-prvm, CGA-3qwv-52v9-xj64, CGA-43jp-p5q6-cwfh, CGA-485x-rj2v-mqmx, CGA-5qmc-q6gv-mfv4, CGA-6456-3fgm-g742, CGA-8545-fqrw-gf79, CGA-8cpp-m8xp-h5c7, CGA-97cf-3f7v-g8jm, CGA-9x4p-9w9r-g898, CGA-c83c-x4mm-m379, CGA-cc47-6h77-mvc2, CGA-chmv-j8vr-crmw, CGA-f9gv-hp59-qcqq, CGA-g4wx-x5h7-xm5v, CGA-h8h8-gpwp-q7q9, CGA-j6wj-g93v-gm47, CGA-m4f6-xh4f-xr88, CGA-m6f2-cjv8-547x, CGA-mfp2-pc7q-r8w5, CGA-mrf5-r82f-94mf, CGA-p5c6-pm23-rfvm, CGA-q2q6-wj7g-cf8c, CGA-q5jr-7jj7-58r5, CGA-q5qf-5hg3-prw3, CGA-qqvm-7v5g-mqgh, CGA-rcfr-g4cq-2w3g, CGA-rmj8-6j84-hp4v, CGA-vrxv-x69q-926v, CGA-w37p-fr6c-cg9h, CGA-w4xg-fmwm-j4j9, CGA-wx4m-chxx-fw92, CGA-23wq-xm4w-3rx6, CGA-2x6r-6xh8-5m33, CGA-4586-8j53-h5r2, CGA-63qc-fcpm-fwrr, CGA-6hvm-85w3-f393, CGA-7w58-pmrh-cmg5, CGA-8qqp-5g8j-wfw3, CGA-962x-9xg2-gp6q, CGA-96hp-9wh7-7f3h, CGA-c373-rw49-vhjp, CGA-c7q6-m5gr-r9r8, CGA-cf4j-5r6c-fm6g, CGA-jvjj-2m33-q994, CGA-mp85-fvcp-7qf9, GHSA-vmwr-mc7x-5vc3, CGA-qjxj-j84j-3ffg, CGA-wg6f-mcjr-jx88, CGA-x776-xvg8-x3hc, CGA-xhqv-77vg-v5jr
- Record: https://cvemate.com/vulnerability/CVE-2024-43398 · JSON: https://cvemate.com/vulnerability/CVE-2024-43398/json

## Description

```text
REXML is an XML toolkit for Ruby. The REXML gem before 3.3.6 has a DoS vulnerability when it parses an XML that has many deep elements that have same local name attributes. If you need to parse untrusted XMLs with tree parser API like REXML::Document.new, you may be impacted to this vulnerability. If you use other parser APIs such as stream parser API and SAX2 parser API, this vulnerability is not affected. The REXML gem 3.3.6 or later include the patch to fix the vulnerability.
```

## Signals

- CVSS: 5.9 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 1.205%, percentile 69.299%, 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 55)

- alpine ruby-rexml (Alpine Linux): \< 3.3.9-r0
- chainguard jruby-9.4 (Chainguard): \< 9.4.9.0-r0
- chainguard jruby-9.4-default-ruby (Chainguard): \< 9.4.9.0-r0
- chainguard kube-fluentd-operator (Chainguard): \< 1.18.2-r15
- chainguard kube-fluentd-operator-compat (Chainguard): \< 1.18.2-r15
- chainguard kube-fluentd-operator-default-config (Chainguard): \< 1.18.2-r15
- chainguard kube-fluentd-operator-oci-entrypoint (Chainguard): \< 1.18.2-r15
- chainguard ruby-3.1 (Chainguard): \< 3.1.6-r3
- chainguard ruby-3.1-dev (Chainguard): \< 3.1.6-r3
- chainguard ruby-3.2 (Chainguard): \< 3.2.5-r2
- chainguard ruby-3.2-dev (Chainguard): \< 3.2.5-r2
- chainguard ruby-3.2-doc (Chainguard): \< 3.2.5-r2
- chainguard ruby-3.3 (Chainguard): \< 3.3.4-r3
- chainguard ruby-3.3-base (Chainguard): \< 3.3.4-r3
- chainguard ruby-3.3-base-dev (Chainguard): \< 3.3.4-r3
- chainguard ruby-3.3-dev (Chainguard): \< 3.3.4-r3
- chainguard ruby-3.3-doc (Chainguard): \< 3.3.4-r3
- chainguard ruby3.2-fluentd-kubernetes-daemonset-1.16 (Chainguard): \< 1.16.6.1.2-r2
- chainguard ruby3.2-fluentd-kubernetes-daemonset-1.16-kinesis (Chainguard): \< 1.16.6.1.2-r2
- chainguard ruby3.2-fluentd-kubernetes-daemonset-1.17 (Chainguard): \< 1.17.1.1.2-r1

## References

- <https://github.com/ruby/rexml/security/advisories/GHSA-vmwr-mc7x-5vc3>
- <https://github.com/ruby/rexml/releases/tag/v3.3.6>
- <https://security.netapp.com/advisory/ntap-20250103-0006/>
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00011.html>
- <https://security.alpinelinux.org/vuln/CVE-2024-43398>
- <https://ubuntu.com/security/CVE-2024-43398>
- <https://www.cve.org/CVERecord?id=CVE-2024-43398>
- <https://ubuntu.com/security/notices/USN-7256-1>
- <https://ubuntu.com/security/notices/USN-7418-1>
- <https://security-tracker.debian.org/tracker/CVE-2024-43398>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/43xxx/CVE-2024-43398.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2024-43398>
- <https://github.com/ruby/rexml/commit/7cb5eaeb221c322b9912f724183294d8ce96bae3>
- <https://github.com/ruby/rexml>
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rexml/CVE-2024-43398.yml>
- <https://security.netapp.com/advisory/ntap-20250103-0006>
- <https://www.ruby-lang.org/en/news/2024/08/22/dos-rexml-cve-2024-43398>

---

Data as of 2026-12-05T03:28:49.208Z. 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
