CVE-2024-49761 MEDIUM

CVE-2024-49761: REXML ReDoS vulnerability

Vendor Ruby
Product rexml
Weakness CWE-1333
Published October 28, 2024
Last update November 3, 2025

CVSS base score

6.6/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality
Integrity

CVSS vector

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

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

October 28, 2024 CVE published
November 3, 2025 Record updated