# CVE-2024-41946: REXML DoS vulnerability

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/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.19%, higher than 68% of CVEs (2026-12-01)
- Published: 2024-08-01T14:22:14.014Z
- Modified: 2026-09-10T03:50:18.121Z
- Also known as: GHSA-5866-49gr-22v4
- Weaknesses: CWE-400, CWE-770
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

REXML is an XML toolkit for Ruby. The REXML gem 3.3.2 has a DoS vulnerability when it parses an XML that has many entity expansions with SAX2 or pull parser API. The REXML gem 3.3.3 or later include the patch to fix the vulnerability.

(As written by CVE List.)

## Affected

- ruby rexml: < 3.3.3
- ruby-lang rexml: before 3.3.3
- rexml (RubyGems): before 3.3.3

## Every score

- GitHub_M: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- GitHub: CVSS:3.1 7.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- 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`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/ruby/rexml/security/advisories/GHSA-5866-49gr-22v4> (vendor-advisory, web)
- <https://github.com/ruby/rexml/commit/033d1909a8f259d5a7c53681bcaf14f13bcf0368> (patch, web)
- <https://www.ruby-lang.org/en/news/2008/08/23/dos-vulnerability-in-rexml> (not-applicable, web)
- <https://www.ruby-lang.org/en/news/2024/08/01/dos-rexml-cve-2024-41946> (vendor-advisory, web)
- <https://security.netapp.com/advisory/ntap-20250117-0007/>
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00011.html> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-41946> (advisory)
- <https://github.com/ruby/rexml> (package)
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rexml/CVE-2024-41946.yml> (web)
- <https://security.netapp.com/advisory/ntap-20250117-0007> (web)

## Sources

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

---

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