CVE-2025-58767: REXML has DoS condition when parsing malformed XML file

CVE-2025-58767 · Severity: medium · CVSS 4 · Published 2025-09-17

REXML has DoS condition when parsing malformed XML file

Technologies: rexml (RubyGems). Vendors: RubyGems.

Quick answers

Is CVE-2025-58767 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2025-58767 being exploited in the wild.
How severe is CVE-2025-58767?
Medium severity, with a CVSS score of 4, published 17 September 2025.
Which products and versions are affected?
rexml (RubyGems) ECOSYSTEM:introduced=3.3.3,fixed=3.4.2.
Is there a fix for CVE-2025-58767?
Yes. rexml (RubyGems): upgrade to 3.4.2 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2025-58767?
Check whether you run rexml (RubyGems) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • rexml (RubyGems): upgrade to 3.4.2 or later
    bundle update rexml

Affected products

  • rexml (RubyGems) ECOSYSTEM:introduced=3.3.3,fixed=3.4.2

Identifiers

  • CVE-2025-58767
  • GHSA-c2f4-jgmc-q2r5

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.