ADVISORIES

Vulnerability

CVE-2024-49761

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.

109 advisories report this vulnerability, across 14 ecosystems.

Advisories in Ubuntu

  • UBUNTU-CVE-2024-49761

    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…

    CVE-2024-49761 Ubuntu Updated 24 November 2026
  • USN-7091-1

    ruby3.0, ruby3.2, ruby3.3 vulnerabilities

    CVE-2024-35176CVE-2024-39908CVE-2024-41123CVE-2024-41946 Ubuntu Updated 24 November 2026
  • USN-7091-2

    ruby2.7 vulnerabilities

    CVE-2024-35176CVE-2024-41123CVE-2024-41946CVE-2024-49761 Ubuntu Updated 24 November 2026
  • USN-7442-1

    ruby2.3, ruby2.5 vulnerabilities

    CVE-2024-49761CVE-2025-27219CVE-2025-27220CVE-2025-27221 Ubuntu Updated 24 November 2026

References