MediumFix available
ruby-rexml — security advisory
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.
- Products
- ruby-rexml
- Affected versions
- Not specified
- Fixed versions
- 3.4.4-r0
- CVEs
- CVE-2025-58767
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 17:56 UTC · Revision 1
Source evidence
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.
osv:ALPINE-CVE-2025-58767
ruby-rexml
Fixed versions: 3.4.4-r0
ruby-rexml
Fixed versions: 3.4.4-r0
ruby-rexml
Fixed versions: 3.4.4-r0
Complete source record
{
"id": "b8b4d411dc2558e8fbfdd2425dc8f2bfa237176071016ebf65197b3b90c3a254",
"url": "https://osv.dev/vulnerability/ALPINE-CVE-2025-58767",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "ALPINE-CVE-2025-58767",
"summary": "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.",
"evidence": "osv:ALPINE-CVE-2025-58767",
"products": [
{
"name": {
"value": "ruby-rexml",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "3.4.4-r0",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "ruby-rexml",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "3.4.4-r0",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "ruby-rexml",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "3.4.4-r0",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": []
}
],
"severity": "medium",
"structured": {
"id": "ALPINE-CVE-2025-58767",
"aliases": [
"ALPINE-CVE-2025-58767"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "3.3.3"
},
{
"fixed": "3.4.4-r0"
}
]
}
],
"package": {
"name": "ruby-rexml",
"purl": "pkg:apk/alpine/ruby-rexml?arch=source",
"ecosystem": "Alpine:v3.22"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2025-58767.json"
},
"ecosystem_specific": {}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "3.3.3"
},
{
"fixed": "3.4.4-r0"
}
]
}
],
"package": {
"name": "ruby-rexml",
"purl": "pkg:apk/alpine/ruby-rexml?arch=source",
"ecosystem": "Alpine:v3.23"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2025-58767.json"
},
"ecosystem_specific": {}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "3.3.3"
},
{
"fixed": "3.4.4-r0"
}
]
}
],
"package": {
"name": "ruby-rexml",
"purl": "pkg:apk/alpine/ruby-rexml?arch=source",
"ecosystem": "Alpine:v3.24"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2025-58767.json"
},
"ecosystem_specific": {}
}
],
"modified": "2026-10-27T12:30:03.142299064Z",
"provider": "osv",
"upstream": [
"CVE-2025-58767"
],
"references": [
"https://security.alpinelinux.org/vuln/CVE-2025-58767"
]
},
"related_cves": [
{
"value": "CVE-2025-58767",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 461528,
"published_at": "2025-09-17T18:15:52.857+00:00"
}