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.
CVE-2024-39908
This medium-severity CVE scores 4.3 under NVD CVSS v3. EPSS exploit probability: 8.3%, top 8% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- Lower severity and no public exploit yet
A fix is available — apply it.
- CVSS v3
- 4.3
- EG Score
- 4.3(medium)
- EPSS
- 71.1%
- KEV
- Not listed
Published
July 16, 2024
Last Modified
November 3, 2025
References (6)
- security-advisories@githubhttps://github.com/ruby/rexml/security/advisories/GHSA-4xqq-m2hx-25v8
- security-advisories@githubhttps://www.ruby-lang.org/en/news/2024/07/16/dos-rexml-cve-2024-39908
- af854a3a-2127-422b-91ae-364da2661108https://github.com/ruby/rexml/security/advisories/GHSA-4xqq-m2hx-25v8
- af854a3a-2127-422b-91ae-364da2661108https://lists.debian.org/debian-lts-announce/2025/01/msg00011.html
- af854a3a-2127-422b-91ae-364da2661108https://security.netapp.com/advisory/ntap-20250117-0008/
- af854a3a-2127-422b-91ae-364da2661108https://www.ruby-lang.org/en/news/2024/07/16/dos-rexml-cve-2024-39908
Vendor Advisories for CVE-2024-39908(5)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
- CVE-2024-39908Microsoft Security Response Center (MSRC)Medium
Denial of service in REXML
- RHSA-2025:4488Red Hat Product SecurityMedium
Red Hat Security Advisory: ruby:3.1 security update
- RHSA-2025:4063Red Hat Product SecurityMedium
Red Hat Security Advisory: ruby:3.1 security update
- RHSA-2024:6784Red Hat Product SecurityMedium
Red Hat Security Advisory: ruby:3.3 security update
- RHSA-2024:6785Red Hat Product SecurityMedium
Red Hat Security Advisory: ruby:3.3 security update
Patch Availability(8)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| ubuntu | ruby3.0-doc (3.0.2-7ubuntu2.10) @ jammy | 2026-05-23 | ubuntu |
| ubuntu | ruby3.3-doc (3.3.4-2ubuntu5.1) @ oracular | 2026-05-23 | ubuntu |
| ubuntu | ruby2.3-tcltk (2.3.1-2~ubuntu16.04.16+esm11) @ xenial | 2026-05-23 | ubuntu |
| ubuntu | ruby2.7-doc (2.7.0-5ubuntu1.16) @ focal | 2026-05-23 | ubuntu |
| redhat | ruby:3.1-9050020250404144903.9 | 2025-05-06 | redhat |
| redhat | ruby:3.1-8100020250407112943.489197e6 | 2025-04-23 | redhat |
| redhat | ruby:3.3-9040020240906110954.9 | 2024-09-18 | redhat |
| redhat | ruby:3.3-8100020240906074654.489197e6 | 2024-09-18 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(1 across 1 ecosystem)
RubyGems(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| rexml | 3.1.7.3 ... 3.3.1 (16 versions) | 3.3.2 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Additional Vendor Advisories
(4)
Vendors that published advisories for this CVE beyond the curated set above. Broader coverage but minimal per-row detail — click through for the original advisory.
Data Freshness Timeline
(refreshed 9× in last 7d / 44× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-11 08:26 UTCEPSS rescore
- 2026-07-11 08:26 UTCEPSS rescore
- 2026-07-09 19:09 UTCEPSS rescore
- 2026-07-08 15:14 UTCEPSS rescore
- 2026-07-08 15:13 UTCEPSS rescore
- 2026-07-07 13:45 UTCEPSS rescore
- 2026-07-06 16:26 UTCEPSS rescore
- 2026-07-06 02:22 UTCEPSS rescore
- 2026-07-06 02:22 UTCEPSS rescore
- 2026-07-05 02:29 UTCEPSS rescore
- 2026-07-04 06:30 UTCEPSS rescore
- 2026-07-01 15:05 UTCEPSS rescore
- 2026-06-30 23:21 UTCEPSS rescore
- 2026-06-30 23:21 UTCEPSS rescore
- 2026-06-29 14:05 UTCEPSS rescore
- 2026-06-28 14:06 UTCEPSS rescore
- 2026-06-28 14:06 UTCEPSS rescore
- 2026-06-28 04:55 UTCEPSS rescore
- 2026-06-28 04:55 UTCEPSS rescore
- 2026-06-27 03:07 UTCEPSS rescore
- 2026-06-27 03:07 UTCEPSS rescore
- 2026-06-25 23:46 UTCOSV refresh
- 2026-06-25 13:49 UTCEPSS rescore
- 2026-06-24 14:04 UTCEPSS rescore
- 2026-06-24 14:04 UTCEPSS rescore
Show 55 moreShow fewer
- 2026-06-23 21:32 UTCEPSS rescore
- 2026-06-23 21:32 UTCEPSS rescore
- 2026-06-22 14:25 UTCEPSS rescore
- 2026-06-22 14:25 UTCEPSS rescore
- 2026-06-21 14:55 UTCEPSS rescore
- 2026-06-21 14:55 UTCEPSS rescore
- 2026-06-21 01:58 UTCEPSS rescore
- 2026-06-21 01:58 UTCEPSS rescore
- 2026-06-19 19:25 UTCEPSS rescore
- 2026-06-19 19:25 UTCEPSS rescore
- 2026-06-18 17:52 UTCEPSS rescore
- 2026-06-18 17:51 UTCEPSS rescore
- 2026-06-17 17:52 UTCEPSS rescore
- 2026-06-16 17:52 UTCEPSS rescore
- 2026-06-16 17:52 UTCEPSS rescore
- 2026-06-15 17:47 UTCEPSS rescore
- 2026-06-13 22:59 UTCEPSS rescore
- 2026-06-13 22:59 UTCEPSS rescore
- 2026-06-12 23:11 UTCEPSS rescore
- 2026-06-11 13:59 UTCEPSS rescore
- 2026-06-10 22:17 UTCEPSS rescore
- 2026-06-10 13:21 UTCEPSS rescore
- 2026-06-08 14:16 UTCEPSS rescore
- 2026-06-08 12:42 UTCOSV refresh
- 2026-06-07 15:24 UTCEPSS rescore
- 2026-06-07 15:24 UTCEPSS rescore
- 2026-06-06 13:46 UTCEPSS rescore
- 2026-06-06 13:46 UTCEPSS rescore
- 2026-06-05 22:46 UTCEPSS rescore
- 2026-06-05 22:46 UTCEPSS rescore
- 2026-06-05 06:09 UTCEPSS rescore
- 2026-06-05 06:09 UTCEPSS rescore
- 2026-06-04 13:11 UTCEPSS rescore
- 2026-06-04 13:11 UTCEPSS rescore
- 2026-06-02 20:12 UTCEPSS rescore
- 2026-06-01 13:51 UTCEPSS rescore
- 2026-06-01 13:51 UTCEPSS rescore
- 2026-05-31 22:30 UTCEPSS rescore
- 2026-05-31 22:30 UTCEPSS rescore
- 2026-05-31 00:15 UTCEPSS rescore
- 2026-05-31 00:15 UTCEPSS rescore
- 2026-05-29 13:43 UTCEPSS rescore
- 2026-05-28 13:44 UTCEPSS rescore
- 2026-05-28 13:44 UTCEPSS rescore
- 2026-05-28 13:44 UTCEPSS rescore
- 2026-05-27 13:40 UTCEPSS rescore
- 2026-05-27 13:40 UTCEPSS rescore
- 2026-05-27 13:40 UTCEPSS rescore
- 2026-05-26 13:43 UTCEPSS rescore
- 2026-05-26 13:43 UTCEPSS rescore
- 2026-05-26 07:18 UTCEPSS rescore
- 2026-05-26 07:18 UTCEPSS rescore
- 2026-05-26 07:18 UTCEPSS rescore
- 2026-05-23 22:08 UTCEG score recompute
- 2026-05-23 22:08 UTCVendor advisory
Related CVEs(same vendor + same CWE)
Same vendor
10 shownmsrc · redhat
Same CWE
10 shownCWE-400
Frequently asked(5)
What is CVE-2024-39908?
When was CVE-2024-39908 disclosed?
Is CVE-2024-39908 actively exploited?
What is the CVSS score of CVE-2024-39908?
How do I remediate CVE-2024-39908?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2024-39908
Is Your Infrastructure Affected by CVE-2024-39908?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.