CVE-2025-58767 Details
Description
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.
A denial-of-service vulnerability has been identified in the REXML XML toolkit for Ruby, specifically in versions 3.3.3 prior to 3.4.1. This vulnerability arises when REXML parses XML files that contain multiple XML declarations, which can lead to performance issues. Users who parse untrusted XML may be particularly affected.
Users can upgrade to REXML version 3.4.2 or later, which includes the necessary patches to address this vulnerability. If an upgrade is not possible, avoid parsing untrusted XML with REXML.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Sep 17, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-400 | Uncontrolled Resource Consumption | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| ruby-lang rexml | >= 3.3.3, < 3.4.2 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Sep 30, 2025 | Reanalysis | [email protected] |
| Sep 19, 2025 | Initial Analysis | [email protected] |
| Sep 17, 2025 | New CVE Received | [email protected] |