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.
Advisories
Source ID Title
EUVD EUVD EUVD-2025-29746 REXML has DoS condition when parsing malformed XML file
Github GHSA Github GHSA GHSA-c2f4-jgmc-q2r5 REXML has DoS condition when parsing malformed XML file
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Tue, 30 Sep 2025 22:15:00 +0900

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L'}


Sat, 20 Sep 2025 01:00:00 +0900

Type Values Removed Values Added
First Time appeared Ruby-lang
Ruby-lang rexml
CPEs cpe:2.3:a:ruby-lang:rexml:*:*:*:*:*:ruby:*:*
Vendors & Products Ruby-lang
Ruby-lang rexml
Metrics cvssV3_1

{'score': 2.9, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L'}

cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}


Thu, 18 Sep 2025 21:00:00 +0900

Type Values Removed Values Added
First Time appeared Ruby
Ruby rexml
Vendors & Products Ruby
Ruby rexml

Thu, 18 Sep 2025 09:15:00 +0900

Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 2.9, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L'}

threat_severity

Low


Thu, 18 Sep 2025 03:15:00 +0900

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 18 Sep 2025 03:00:00 +0900

Type Values Removed Values Added
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.
Title REXML has a DoS condition when parsing malformed XML file
Weaknesses CWE-400
References
Metrics cvssV4_0

{'score': 1.2, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2025-09-17T17:54:00.334Z

Reserved: 2025-09-04T19:18:09.500Z

Link: CVE-2025-58767

cve-icon Vulnrichment

Updated: 2025-09-17T17:53:14.220Z

cve-icon NVD

Status : Analyzed

Published: 2025-09-17T18:15:52.857

Modified: 2025-09-30T13:07:07.207

Link: CVE-2025-58767

cve-icon Redhat

Severity : Low

Publid Date: 2025-09-17T17:45:58Z

Links: CVE-2025-58767 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2025-09-18T20:59:03Z

Weaknesses