
CVE catalog
CVE-2025-58767
ruby3.1: CVE-2025-58767
- Severity
- Medium · CVSS 5.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.25% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | ruby3.1 | bookworm | 3.1.2-7+deb12u1 | not affected |
| Debian | ruby3.1 | bookworm-security | 3.1.2-7+deb12u1 | not affected |
| Opensuse | ruby3.4 | leap 16.0 | 3.4.10-160000.1.1 | fixed |
| Alpine | ruby-rexml | 3.23 | 3.4.4-r0 | fixed |
| Alpine | ruby-rexml | 3.24 | 3.4.4-r0 | fixed |
| Opensuse | ruby3.4 | tumbleweed | 3.4.8-1.1 | fixed |
| Alpine | ruby-rexml | 3.22 | 3.4.4-r0 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | ruby3.1 | source | bookworm | Not affected | unimportant | Not reported | Not reported |
| Opensuse | ruby3.4 | rpm | leap 16.0 | 3.4.10-160000.1.1 | Not reported | OPENSUSE-SU-2026:21878-1 | Not reported |
| Alpine | ruby-rexml | apk | 3.23 | 3.4.4-r0 | Not reported | ALPINE-CVE-2025-58767 | Not reported |
| Alpine | ruby-rexml | apk | 3.24 | 3.4.4-r0 | Not reported | ALPINE-CVE-2025-58767 | Not reported |
| Opensuse | ruby3.4 | rpm | tumbleweed | 3.4.8-1.1 | Not reported | OPENSUSE-SU-2025:15828-1 | Not reported |
| Alpine | ruby-rexml | apk | 3.22 | 3.4.4-r0 | Not reported | ALPINE-CVE-2025-58767 | Not reported |
Notes
[bookworm] ruby3.1: Minor issue
OpenFactory catalog packages
[Debian 13 (Trixie)]
- [libruby3.3]Affected
Source package: [ruby3.3]
Details (2)
3.3.8-2· amd64 · trixieAffected
dsa · ruby3.3 · debian · 13
3.3.8-2· arm64 · trixieAffected
dsa · ruby3.3 · debian · 13
- [ruby3.3]Affected
Details (2)
3.3.8-2· amd64 · trixieAffected
dsa · ruby3.3 · debian · 13
3.3.8-2· arm64 · trixieAffected
dsa · ruby3.3 · debian · 13
- [ruby3.3-dev]Affected
Source package: [ruby3.3]
Details (2)
3.3.8-2· amd64 · trixieAffected
dsa · ruby3.3 · debian · 13
3.3.8-2· arm64 · trixieAffected
dsa · ruby3.3 · debian · 13
- [ruby3.3-doc]Affected
Source package: [ruby3.3]
Details (2)
3.3.8-2· all · trixieAffected
dsa · ruby3.3 · debian · 13
3.3.8-2· all · trixieAffected
dsa · ruby3.3 · debian · 13
[Debian 12 (Bookworm)]
- [libruby3.1]Not affected
Source package: [ruby3.1]
Details (4)
3.1.2-7+deb12u1· amd64 · bookwormNot affected
dsa · ruby3.1 · debian · bookworm
3.1.2-7+deb12u1· arm64 · bookwormNot affected
dsa · ruby3.1 · debian · bookworm
3.1.2-7+deb12u1· amd64 · bookworm-securityNot affected
dsa · ruby3.1 · debian · bookworm
3.1.2-7+deb12u1· arm64 · bookworm-securityNot affected
dsa · ruby3.1 · debian · bookworm
- [ruby3.1]Not affected
Details (4)
3.1.2-7+deb12u1· amd64 · bookwormNot affected
dsa · ruby3.1 · debian · bookworm
3.1.2-7+deb12u1· arm64 · bookwormNot affected
dsa · ruby3.1 · debian · bookworm
3.1.2-7+deb12u1· amd64 · bookworm-securityNot affected
dsa · ruby3.1 · debian · bookworm
3.1.2-7+deb12u1· arm64 · bookworm-securityNot affected
dsa · ruby3.1 · debian · bookworm
- [ruby3.1-dev]Not affected
Source package: [ruby3.1]
Details (4)
3.1.2-7+deb12u1· amd64 · bookwormNot affected
dsa · ruby3.1 · debian · bookworm
3.1.2-7+deb12u1· arm64 · bookwormNot affected
dsa · ruby3.1 · debian · bookworm
3.1.2-7+deb12u1· amd64 · bookworm-securityNot affected
dsa · ruby3.1 · debian · bookworm
3.1.2-7+deb12u1· arm64 · bookworm-securityNot affected
dsa · ruby3.1 · debian · bookworm
- [ruby3.1-doc]Not affected
Source package: [ruby3.1]
Details (4)
3.1.2-7+deb12u1· all · bookwormNot affected
dsa · ruby3.1 · debian · bookworm
3.1.2-7+deb12u1· all · bookwormNot affected
dsa · ruby3.1 · debian · bookworm
3.1.2-7+deb12u1· all · bookworm-securityNot affected
dsa · ruby3.1 · debian · bookworm
3.1.2-7+deb12u1· all · bookworm-securityNot affected
dsa · ruby3.1 · debian · bookworm
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2026_21878-1.json]
- [https://osv.dev/vulnerability/ALPINE-CVE-2025-58767]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2025-58767]
- [https://osv.dev/vulnerability/openSUSE-SU-2025:15828-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2026:21878-1]
- [https://security-tracker.debian.org/tracker/CVE-2025-58767]
- [https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-58767.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2025/wid-sec-w-2025-2083.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]