HighFix available
libxml2 — security advisory
valid.c in libxml2 before 2.9.13 has a use-after-free of ID and IDREF attributes.
- Products
- libxml2
- Affected versions
- Not specified
- Fixed versions
- 2.9.13+dfsg-1
- CVEs
- CVE-2022-23308
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 30 Oct 2026, 16:47 UTC · Revision 1
Source evidence
valid.c in libxml2 before 2.9.13 has a use-after-free of ID and IDREF attributes.
osv:DEBIAN-CVE-2022-23308
libxml2
Fixed versions: 2.9.13+dfsg-1
libxml2
Fixed versions: 2.9.13+dfsg-1
libxml2
Fixed versions: 2.9.13+dfsg-1
Complete source record
{
"id": "de64df88f5ab15ea89ab4366e9b07c186efb20a97ceedea4e957d67143182251",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2022-23308",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2022-23308",
"summary": "valid.c in libxml2 before 2.9.13 has a use-after-free of ID and IDREF attributes.",
"evidence": "osv:DEBIAN-CVE-2022-23308",
"products": [
{
"name": {
"value": "libxml2",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.9.13+dfsg-1",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "libxml2",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.9.13+dfsg-1",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "libxml2",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.9.13+dfsg-1",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "DEBIAN-CVE-2022-23308",
"aliases": [
"DEBIAN-CVE-2022-23308"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.9.13+dfsg-1"
}
]
}
],
"package": {
"name": "libxml2",
"purl": "pkg:deb/debian/libxml2?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-23308.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.9.13+dfsg-1"
}
]
}
],
"package": {
"name": "libxml2",
"purl": "pkg:deb/debian/libxml2?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-23308.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.9.13+dfsg-1"
}
]
}
],
"package": {
"name": "libxml2",
"purl": "pkg:deb/debian/libxml2?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-23308.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-15T09:47:39.944600537Z",
"provider": "osv",
"upstream": [
"CVE-2022-23308"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2022-23308"
]
},
"related_cves": [
{
"value": "CVE-2022-23308",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 328217,
"published_at": "2022-02-26T05:15:08.28+00:00"
}