Use After Free in libxml2's xmlParseInternalSubset from GNOME libxml2 version 2.9.11 to 2.11.0 allows a remote attacker to cause a denial-of-service via maliciously crafted XML input with improper entity resolution handling.
PUBLISHED5.2CWE-416
libxml2: Use after free in xmlParseInternalSubset via improper entity resolution handling
Problem type
Affected products
GNOME
libxml2
< 2.11.0 - AFFECTED
References
bugs.launchpad.net
https://bugs.launchpad.net/ubuntu/+source/libxml2/+bug/2141260
gitlab.gnome.org
https://gitlab.gnome.org/GNOME/libxml2/-/work_items/1058
GitHub Security Advisories
GHSA-v4qw-p44r-qhfg
Use After Free in libxml2's xmlParseInternalSubset from GNOME libxml2 version 2.9.11 to 2.11.0...
https://github.com/advisories/GHSA-v4qw-p44r-qhfgUse After Free in libxml2's xmlParseInternalSubset from GNOME libxml2 version 2.9.11 to 2.11.0 allows a remote attacker to cause a denial-of-service via maliciously crafted XML input with improper entity resolution handling.
JSON source
https://cveawg.mitre.org/api/cve/CVE-2026-6653Click to expand
{
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"cveMetadata": {
"cveId": "CVE-2026-6653",
"assignerOrgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc",
"assignerShortName": "canonical",
"dateUpdated": "2026-06-22T15:51:11.554Z",
"dateReserved": "2026-04-20T06:37:45.271Z",
"datePublished": "2026-06-22T12:40:31.424Z",
"state": "PUBLISHED"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc",
"shortName": "canonical",
"dateUpdated": "2026-06-22T12:40:31.424Z"
},
"title": "libxml2: Use after free in xmlParseInternalSubset via improper entity resolution handling",
"descriptions": [
{
"lang": "en",
"value": "Use After Free in libxml2's xmlParseInternalSubset from GNOME libxml2 version 2.9.11 to 2.11.0 allows a remote attacker to cause a denial-of-service via maliciously crafted XML input with improper entity resolution handling."
}
],
"affected": [
{
"vendor": "GNOME",
"product": "libxml2",
"packageName": "libxml2",
"repo": "https://gitlab.gnome.org/GNOME/libxml2",
"defaultStatus": "unaffected",
"versions": [
{
"version": "2.9.11",
"status": "affected",
"versionType": "semver",
"lessThan": "2.11.0"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"lang": "en",
"description": "CWE-416 Use after free",
"cweId": "CWE-416",
"type": "CWE"
},
{
"lang": "en",
"description": "CWE-611 Improper Restriction of XML External Entity Processing",
"cweId": "CWE-611",
"type": "CWE"
}
]
}
],
"references": [
{
"url": "https://bugs.launchpad.net/ubuntu/+source/libxml2/+bug/2141260",
"tags": [
"issue-tracking"
]
},
{
"url": "https://gitlab.gnome.org/GNOME/libxml2/-/work_items/1058",
"tags": [
"issue-tracking"
]
}
],
"impacts": [
{
"capecId": "CAPEC-242",
"descriptions": [
{
"lang": "en",
"value": "CAPEC-242 Code Injection"
}
]
}
],
"metrics": [
{
"format": "CVSS",
"scenarios": [
{
"lang": "en",
"value": "GENERAL"
}
]
}
],
"solutions": [
{
"lang": "en",
"value": "Upgrade to libxml2 version 2.11.0 or later"
}
],
"credits": [
{
"lang": "en",
"value": "Geoffrey Humphreys",
"type": "finder"
}
]
},
"adp": [
{
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-06-22T15:51:11.554Z"
},
"title": "CISA ADP Vulnrichment",
"metrics": [
{}
]
}
]
}
}