# CVE-2024-49761: REXML ReDoS vulnerability

- Severity: Medium 6.6 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U`
- 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.42%, higher than 73% of CVEs (2026-12-01)
- Published: 2024-10-28T14:10:18.000Z
- Modified: 2026-09-10T03:50:19.086Z
- Also known as: GHSA-2rxp-v6pw-ch6m
- Related: CVE-2025-10990
- Weaknesses: CWE-1333
- 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 before 3.3.9 has a ReDoS vulnerability when it parses an XML that has many digits between &# and x...; in a hex numeric character reference (&#x...;). This does not happen with Ruby 3.2 or later. Ruby 3.1 is the only affected maintained Ruby. The REXML gem 3.3.9 or later include the patch to fix the vulnerability.

(As written by CVE List.)

## Affected

- ruby rexml: < 3.3.9; before 3.3.9
- rexml (RubyGems): before 3.3.9
- ruby-lang rexml: before 3.3.9
- netapp ontap_tools: 10

## Every score

- GitHub_M: CVSS:4.0 6.6 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U`
- 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:H/SC:N/SI:N/SA:N/E:U`
- 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-2rxp-v6pw-ch6m> (third-party-advisory, web)
- <https://github.com/ruby/rexml/commit/ce59f2eb1aeb371fe1643414f06618dbe031979f> (patch, web)
- <https://www.ruby-lang.org/en/news/2024/10/28/redos-rexml-cve-2024-49761> (vendor-advisory, web)
- <https://security.netapp.com/advisory/ntap-20241227-0004/> (third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00011.html> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-49761> (advisory)
- <https://github.com/ruby/rexml> (package)
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rexml/CVE-2024-49761.yml> (web)
- <https://security.netapp.com/advisory/ntap-20241227-0004> (web)

## Sources

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

---

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