CVE-2024-41946
HIGH 7.5CVSS 3.1REXML DoS vulnerability
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.
- Published
- 1 Aug 2024
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-400CWE-770
- Also known as
- GHSA-5866-49gr-22v4
- Sources
- NVDJSONOSV GHSA-5866-49gr-22v4JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | 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 | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | ruby-lang | rexmlcpe:2.3:a:ruby-lang:rexml:*:*:*:*:*:ruby:*:* |
< 3.3.3 | 3.3.3 |
| OSV | RubyGems | rexml | < 3.3.3 | 3.3.3 |
References
- https://github.com/ruby/rexml/commit/033d1909a8f259d5a7c53681bcaf14f13bcf0368 · Patch, WEB
- https://github.com/ruby/rexml/security/advisories/GHSA-5866-49gr-22v4 · Vendor Advisory, 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://lists.debian.org/debian-lts-announce/2025/01/msg00011.html · WEB
- https://security.netapp.com/advisory/ntap-20250117-0007/ · 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
History
- 25 Nov 2026 20:56 UTC · NVD: first stored (published 1 Aug 2024)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 2 Aug 2024)