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

- Severity: Medium 5.9 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.21%, higher than 69% of CVEs (2026-12-01)
- Published: 2024-08-22T14:14:03.588Z
- Modified: 2026-09-10T03:50:55.410Z
- Also known as: GHSA-vmwr-mc7x-5vc3
- Weaknesses: CWE-776
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- ruby rexml: < 3.3.6
- rexml (RubyGems): before 3.3.6
- ruby-lang rexml: before 3.3.6
- netapp bootstrap_os: no versions given

## Every score

- GitHub_M: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 5.9 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`

## References

- <https://github.com/ruby/rexml/security/advisories/GHSA-vmwr-mc7x-5vc3> (vendor-advisory, web)
- <https://github.com/ruby/rexml/releases/tag/v3.3.6> (release-notes, web)
- <https://security.netapp.com/advisory/ntap-20250103-0006/> (third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00011.html> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-43398> (advisory)
- <https://github.com/ruby/rexml/commit/7cb5eaeb221c322b9912f724183294d8ce96bae3> (web)
- <https://github.com/ruby/rexml> (package)
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rexml/CVE-2024-43398.yml> (web)
- <https://security.netapp.com/advisory/ntap-20250103-0006> (web)
- <https://www.ruby-lang.org/en/news/2024/08/22/dos-rexml-cve-2024-43398> (web)

## Sources

- CVE List: [CVE-2024-43398](https://www.cve.org/CVERecord?id=CVE-2024-43398), CVE Terms of Use, modified 2025-11-03
- GitHub Advisory Database: [GHSA-vmwr-mc7x-5vc3](https://github.com/advisories/GHSA-vmwr-mc7x-5vc3), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2024-43398](https://nvd.nist.gov/vuln/detail/CVE-2024-43398), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-43398 · Whole record: https://cve.day/CVE-2024-43398.json · Rebuilt by cve.day 2026-11-25T22:58:44.665Z
