Read the docs
TI-2025-36425 Aliases CVE-2025-58767GHSA-c2f4-jgmc-q2r5

REXML has a DoS condition when parsing malformed XML file

Priority LOW 7CWE-400Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · Low
Fix status
Partial Red Hat: 8 fixed, 9 without a fix

Attack profile from CVSS 4.0 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-400.

Summary

REXML is an XML toolkit for Ruby. The REXML gems from 3.3.3 to 3.4.1 has a DoS vulnerability when parsing XML containing multiple XML declarations. If you need to parse untrusted XMLs, you may be impacted to these vulnerabilities. The REXML gem 3.4.2 or later include the patches to fix these vulnerabilities.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00248 16th percentileScored 2026-11-07
Fix Partial rexml (ruby): 3.4.2rexml (RubyGems): 3.4.2Red Hat: 6 advisoriesRed Hat: 8 fixed, 9 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
rubyrexml3.3.3 to before 3.4.23.4.2Patch availableCNA
—rexml (RubyGems)3.3.3 to before 3.4.23.4.2Patch availableGHSA-c2f4-jgmc-q2r5
  • rexml Vendorruby Affected 3.3.3 to before 3.4.2 Fixed in 3.4.2 Patch available CNA
  • rexml (RubyGems) Vendor— Affected 3.3.3 to before 3.4.2 Fixed in 3.4.2 Patch available GHSA-c2f4-jgmc-q2r5

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:ruby-lang:rexml:*:*:*:*:*:ruby:*:*3.3.3 to before 3.4.2Vulnerableruby
  • cpe:2.3:a:ruby-lang:rexml:*:*:*:*:*:ruby:*:* Versions 3.3.3 to before 3.4.2 Vulnerable ·ruby

Remediation

  • Fix · CNA rexml (ruby) Fixed in 3.4.2
  • Fix · GHSA-c2f4-jgmc-q2r5 rexml (RubyGems) Fixed in 3.4.2 Advisory →

Red Hat 6 advisories

  • RHSA-2025:23927 Released 2025-12-22 · Red Hat rating Moderate
    ruby security update
    • Red Hat Enterprise Linux AppStream EUS (v. 10.0) ruby-3.3.10-11.el10_0, ruby-bundled-gems-3.3.10-11.el10_0, ruby-default-gems-3.3.10-11.el10_0 +20
    • Red Hat Enterprise Linux CodeReady Linux Builder EUS (v. 10.0) ruby-doc-3.3.10-11.el10_0
  • RHSA-2025:23648 Released 2025-12-18 · Red Hat rating Moderate
    ruby:3.3 security update
    • Red Hat Enterprise Linux AppStream EUS (v.9.6) ruby-3.3.10-5.module+el9.6.0+23780+e40d2335.aarch64::ruby:3.3, ruby-3.3.10-5.module+el9.6.0+23780+e40d2335.i686::ruby:3.3, ruby-3.3.10-5.module+el9.6.0+23780+e40d2335.ppc64le::ruby:3.3 +47
  • RHSA-2025:23141 Released 2025-12-11 · Red Hat rating Moderate
    ruby security update
    • Red Hat Enterprise Linux AppStream (v. 10) ruby-3.3.10-11.el10_1, ruby-bundled-gems-3.3.10-11.el10_1, ruby-default-gems-3.3.10-11.el10_1 +20
    • Red Hat Enterprise Linux CodeReady Linux Builder (v. 10) ruby-doc-3.3.10-11.el10_1
Show 3 more Red Hat advisories
  • RHSA-2025:23140 Released 2025-12-11 · Red Hat rating Moderate
    ruby:3.3 security update
    • Red Hat Enterprise Linux AppStream EUS (v.9.4) ruby-3.3.10-5.module+el9.4.0+23769+ab06e946.aarch64::ruby:3.3, ruby-3.3.10-5.module+el9.4.0+23769+ab06e946.i686::ruby:3.3, ruby-3.3.10-5.module+el9.4.0+23769+ab06e946.ppc64le::ruby:3.3 +47
  • RHSA-2025:23062 Released 2025-12-10 · Red Hat rating Moderate
    ruby:3.3 security update
    • Red Hat Enterprise Linux AppStream (v. 8) ruby-3.3.10-5.module+el8.10.0+23696+c42b0f57.aarch64::ruby:3.3, ruby-3.3.10-5.module+el8.10.0+23696+c42b0f57.i686::ruby:3.3, ruby-3.3.10-5.module+el8.10.0+23696+c42b0f57.ppc64le::ruby:3.3 +47
  • RHSA-2025:23063 Released 2025-12-10 · Red Hat rating Moderate
    ruby:3.3 security update
    • Red Hat Enterprise Linux AppStream (v. 9) ruby-3.3.10-5.module+el9.7.0+23651+15dc1615.aarch64::ruby:3.3, ruby-3.3.10-5.module+el9.7.0+23651+15dc1615.i686::ruby:3.3, ruby-3.3.10-5.module+el9.7.0+23651+15dc1615.ppc64le::ruby:3.3 +47

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Logging Subsystem for Red Hat OpenShiftAffectedNo fix yet: Fix deferred
OpenShift Service Mesh 2AffectedNo fix yet: Fix deferred
Red Hat 3scale API Management Platform 2AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 8AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 9AffectedNo fix yet: Fix deferred
Red Hat OpenShift Container Platform 4AffectedNo fix yet: Fix deferred
Red Hat OpenStack Platform 17.1AffectedNo fix yet: Fix deferred
Red Hat Satellite 6AffectedNo fix yet: Fix deferred
Red Hat Satellite ClientAffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux AppStream (v. 10)Fixed RHSA-2025:23141
Red Hat Enterprise Linux AppStream (v. 8)Fixed RHSA-2025:23062
Red Hat Enterprise Linux AppStream (v. 9)Fixed RHSA-2025:23063
Red Hat Enterprise Linux AppStream EUS (v. 10.0)Fixed RHSA-2025:23927
Red Hat Enterprise Linux AppStream EUS (v.9.4)Fixed RHSA-2025:23140
Red Hat Enterprise Linux AppStream EUS (v.9.6)Fixed RHSA-2025:23648
Red Hat Enterprise Linux CodeReady Linux Builder (v. 10)Fixed RHSA-2025:23141
Red Hat Enterprise Linux CodeReady Linux Builder EUS (v. 10.0)Fixed RHSA-2025:23927

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-58767
  2. 2026-10-03 Alias added: GHSA-c2f4-jgmc-q2r5

References

  • TI-2024-27968 REXML DoS vulnerability CVSS 3.1HIGH 7.5
  • TI-2024-27475 REXML DoS vulnerability CVSS 3.1HIGH 7.5
  • TI-2021-09890 The REXML gem before 3.2.5 in Ruby before 2.6.7, 2.7.x before 2.7.3, and 3.x before 3.0.1… CVSS 3.1HIGH 7.5
  • TI-2024-33228 REXML ReDoS vulnerability CVSS 4.0MEDIUM 6.6
  • TI-2024-23250 REXML contains a denial of service vulnerability CVSS 3.1MEDIUM 5.3
  • TI-2024-29047 REXML denial of service vulnerability CVSS 3.1MEDIUM 5.9
See all 7 →

Sources