CVE-2025-10990
JSON

7.5high

Rexml: rexml: denial of service via inefficient regex parsing

Severity
7.5high CVSS:3.1 by redhat
Exploit likelihood
0.56% (higher than 48% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
redhat
Also known as
GHSA-2rxp-v6pw-ch6m

Description

A flaw was found in REXML. A remote attacker could exploit inefficient regular expression (regex) parsing when processing hex numeric character references (&#x...;) in XML documents. This could lead to a Regular Expression Denial of Service (ReDoS), impacting the availability of the affected component. This issue is the result of an incomplete fix for CVE-2024-49761.

Affected

Product or packageVersionsReported by
Red Hat SatelliteNot specified
Not affected: 6.17.5, 6.16.5.4
CVE List
puppet-agentNot specified
Not affected: from 0:8.8.1-3.el8sat before *, from 0:8.8.1-3.el9sat before *, from 0:7.34.0-4.el8sat before *, from 0:7.34.0-4.el9sat before *
CVE List
rexml (RubyGems)before 3.3.9GitHub Advisory Database

All scores

redhat7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
GitHub7.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
GitHubmedium CVSS:4.0CVSS: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

Classification

CWE-1333

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

A flaw was found in REXML. A remote attacker could exploit inefficient regular expression (regex) parsing when processing hex numeric character references (&#x...;) in XML documents. This could lead to a Regular Expression Denial of Service (ReDoS), impacting the availability of the affected component. This issue is the result of an incomplete fix for CVE-2024-49761.

GitHub Advisory Database
Impact

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. Note that Ruby 3.1 will reach EOL on 2025-03.

Patches

The REXML gem 3.3.9 or later include the patch to fix the vulnerability.

Workarounds

Use Ruby 3.2 or later instead of Ruby 3.1.

References
NVD (es)

Se encontró una vulnerabilidad en REXML. Un atacante remoto podría explotar el análisis ineficiente de expresiones regulares (regex) al procesar referencias de caracteres numéricos hexadecimales (&#x...;) en documentos XML. Esto podría conducir a una Denegación de Servicio por Expresiones Regulares (ReDoS), impactando la disponibilidad del componente afectado. Este problema es el resultado de una corrección incompleta para CVE-2024-49761.

References

https://access.redhat.com/errata/RHSA-2025:17606vendor-advisory
https://access.redhat.com/errata/RHSA-2025:17613vendor-advisory
https://access.redhat.com/errata/RHSA-2025:17693vendor-advisory
https://access.redhat.com/security/cve/CVE-2025-10990vdb-entry
https://bugzilla.redhat.com/show_bug.cgi?id=2398216issue-tracking
https://github.com/ruby/rexml/commit/ce59f2eb1aeb371fe1643414f06618dbe031979fweb
https://github.com/ruby/rexml/security/advisories/GHSA-2rxp-v6pw-ch6mweb
https://www.ruby-lang.org/en/news/2024/10/28/redos-rexml-cve-2024-49761/
https://nvd.nist.gov/vuln/detail/CVE-2024-49761advisory
https://github.com/ruby/rexmlpackage
https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rexml/CVE-2024-49761.ymlweb
https://lists.debian.org/debian-lts-announce/2025/01/msg00011.htmlweb

Related

Sources

SourceRecordLicence
CVE ListCVE-2025-10990 changed 2026-06-25CVE Terms of Use
GitHub Advisory DatabaseGHSA-2rxp-v6pw-ch6m changed 2026-09-10CC-BY-4.0
NVDCVE-2025-10990 changed 2026-06-26Public domain