# CVE-2024-39908: Denial of service in REXML

- Severity: Medium 4.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L`
- 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.49%, higher than 74% of CVEs (2026-12-01)
- Published: 2024-07-16T17:28:07.372Z
- Modified: 2026-09-10T03:50:16.309Z
- Also known as: GHSA-4xqq-m2hx-25v8
- Related: CVE-2024-41123
- Weaknesses: CWE-400
- 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.1 has some DoS vulnerabilities when it parses an XML that has many specific characters such as `<`, `0` and `%>`. If you need to parse untrusted XMLs, you many be impacted to these vulnerabilities. The REXML gem 3.3.2 or later include the patches to fix these vulnerabilities. Users are advised to upgrade. Users unable to upgrade should avoid parsing untrusted XML strings.

(As written by CVE List.)

## Affected

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

## Every score

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

## References

- <https://github.com/ruby/rexml/security/advisories/GHSA-4xqq-m2hx-25v8> (vendor-advisory, web)
- <https://www.ruby-lang.org/en/news/2024/07/16/dos-rexml-cve-2024-39908> (vendor-advisory, web)
- <https://security.netapp.com/advisory/ntap-20250117-0008/> (third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00011.html> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-39908> (advisory)
- <https://github.com/ruby/rexml> (package)
- <https://github.com/ruby/rexml/releases/tag/v3.3.2> (web)
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rexml/CVE-2024-39908.yml> (web)
- <https://security.netapp.com/advisory/ntap-20250117-0008> (web)

## Sources

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

---

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