CVE-2025-58767Ruby-lang Rexml
Low 1.2
Follow: this CVE · Ruby-lang · Ruby-lang Rexml We alert you by email or Slack (account required).
- Priority
- 7
- CVSS 4.0
- 1.2
- EPSS
- —
- Auth required
- Yes
- Published
- Sep 17, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-400
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- 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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
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.
What to do
- Apply the vendor's security update for Rexml.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| RubyGems | rexml |
≥ 3.3.3 < 3.4.2 |
3.4.2 |
gem "rexml", ">= 3.4.2" |
Per OSV / GitHub Advisories (GHSA-c2f4-jgmc-q2r5). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| ruby-lang | rexml | ≥ 3.3.3 < 3.4.2 |
Official advisories
- Security update for ruby2.5 · SUSE · SUSE-SU-2026:5416-1 · Nov 23, 2026 High
- Security update for ruby3.4 · SUSE · openSUSE-SU-2026:21878-1 · Nov 23, 2026 High
- Security update for ruby3.4 · SUSE · SUSE-SU-2026:24933-1 · Sep 18, 2026 High
- Red Hat Security Advisory: ruby security update · Red Hat · RHSA-2025:23141 · Jan 3, 2026 Medium
- Red Hat Security Advisory: ruby:3.3 security update · Red Hat · RHSA-2025:23062 · Jan 3, 2026 Medium
- Red Hat Security Advisory: ruby:3.3 security update · Red Hat · RHSA-2025:23063 · Jan 3, 2026 Medium
Also: SUSE (+2), Red Hat (+3)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Vendor Advisory