A flaw was found in libxslt where the attribute type, atype, flags are modified in a way that corrupts internal memory management. When XSLT functions, such as the key() process, result in tree fragments, this corruption prevents the proper cleanup of ID attributes. As a result, the system may access freed memory, causing crashes or enabling attackers to trigger heap corruption.
{
"cna_assigner": "redhat",
"cwe_ids": [
"CWE-416"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/7xxx/CVE-2025-7425.json",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"fixed": "0:1.1.39-8.el10_0"
},
{
"fixed": "0:2.9.1-6.el7_9.12"
},
{
"fixed": "0:2.9.7-21.el8_10.2"
},
{
"fixed": "0:2.9.7-21.el8_10.2"
},
{
"fixed": "0:2.9.7-9.el8_2.4"
},
{
"fixed": "0:2.9.7-9.el8_4.7"
},
{
"fixed": "0:2.9.7-9.el8_4.7"
},
{
"fixed": "0:2.9.7-13.el8_6.11"
},
{
"fixed": "0:2.9.7-13.el8_6.11"
},
{
"fixed": "0:2.9.7-13.el8_6.11"
},
{
"fixed": "0:2.9.7-16.el8_8.10"
},
{
"fixed": "0:2.9.7-16.el8_8.10"
},
{
"fixed": "0:2.9.13-11.el9_6"
},
{
"fixed": "0:2.9.13-11.el9_6"
},
{
"fixed": "0:2.9.13-1.el9_0.6"
},
{
"fixed": "0:2.9.13-3.el9_2.8"
},
{
"fixed": "0:2.9.13-11.el9_4"
},
{
"fixed": "412.86.202509030110-0"
},
{
"fixed": "413.92.202509030117-0"
},
{
"fixed": "414.92.202508270040-0"
},
{
"fixed": "415.92.202508192014-0"
},
{
"fixed": "416.94.202508261955-0"
},
{
"fixed": "417.94.202508141510-0"
},
{
"fixed": "418.94.202508261658-0"
},
{
"fixed": "4.19.9.6.202508271124-0"
},
{
"fixed": "1.11-19"
},
{
"fixed": "1.11-8"
},
{
"fixed": "1.12-4"
},
{
"fixed": "1.36.0-11"
},
{
"fixed": "1.36.0-11"
},
{
"fixed": "1.36.0-11"
},
{
"fixed": "1.36.0-10"
},
{
"fixed": "1.36.0-10"
},
{
"fixed": "1.36.0-4"
},
{
"fixed": "1.36.0-9"
},
{
"fixed": "1.36.0-12"
},
{
"fixed": "1.36.0-18"
},
{
"fixed": "1.36.0-11"
},
{
"fixed": "1.36.0-7"
},
{
"fixed": "v1.16.5-1760515757"
},
{
"fixed": "1.8.0"
},
{
"fixed": "1.8.0"
},
{
"fixed": "1.8.0"
},
{
"fixed": "2.0.1-1754478727"
},
{
"fixed": "2.15.3-0.1.hum1"
},
{
"fixed": "1.5.5-1754504343"
},
{
"fixed": "rhosdt-3.5-1754559657"
},
{
"fixed": "rhosdt-3.5-1754559845"
},
{
"fixed": "rhosdt-3.5-1754559691"
},
{
"fixed": "rhosdt-3.5-1754559660"
},
{
"fixed": "rhosdt-3.5-1754559663"
},
{
"fixed": "rhosdt-3.5-1754559657"
},
{
"fixed": "rhosdt-3.5-1754569861"
},
{
"fixed": "rhosdt-3.5-1754559846"
},
{
"fixed": "rhosdt-3.5-1754559651"
}
],
"source": "AFFECTED_FIELD",
"strategy": "InverseAffectedRanges"
}
]
}
]
}{
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "2.15.2"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"introduced": "0"
},
{
"fixed": "v1.3"
}
],
"source": "AFFECTED_FIELD",
"strategy": "InverseAffectedRanges"
}
]
}
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-7425.json"
[
{
"deprecated": false,
"digest": {
"function_hash": "257367616524644363065775477338570909958",
"length": 450
},
"id": "CVE-2025-7425-269be83b",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://gitlab.gnome.org/gnome/libxml2@97fea18b7138caf76bf17d003f4985d8797d26f9",
"target": {
"file": "parser.c",
"function": "xmlSAXParseDoc"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "128204593758245842800144810537873211851",
"length": 634
},
"id": "CVE-2025-7425-2f2f7262",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://gitlab.gnome.org/gnome/libxml2@97fea18b7138caf76bf17d003f4985d8797d26f9",
"target": {
"file": "parser.c",
"function": "xmlInitParserCtxt"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"201842734386694817774867162999628396339",
"294703210077859002985091933762133344654",
"210206041985135136950194436965688247356",
"273017952127347794324505716363446942479",
"187544579095596215171992492528163891959",
"208061949709105959564784786381474356863",
"272153902835007740041565734838148937364",
"254787417024363648891162367490320479852",
"99503184872681000242331937762802689386",
"294703210077859002985091933762133344654",
"210206041985135136950194436965688247356",
"273017952127347794324505716363446942479",
"201842734386694817774867162999628396339",
"294703210077859002985091933762133344654",
"210206041985135136950194436965688247356",
"273017952127347794324505716363446942479",
"201842734386694817774867162999628396339",
"294703210077859002985091933762133344654",
"210206041985135136950194436965688247356",
"273017952127347794324505716363446942479",
"215266764948728349345054423260840884936",
"113882731778806143570271993420664461910",
"202088886572729497275151883012592953971",
"324793392085535010887681869765726046041",
"42658774117124304450211575470083134644",
"50262157903535875620392073508870548556",
"120040666033482319687722945652601240303",
"260799055709239268700954339116924631965",
"323901172699614103124743595180263249878",
"85975408953531156242993437533387545950",
"178656476791359191101755885732862180810",
"73970344064062858403178182810141793371"
],
"threshold": 0.9
},
"id": "CVE-2025-7425-8e402e54",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://gitlab.gnome.org/gnome/libxml2@97fea18b7138caf76bf17d003f4985d8797d26f9",
"target": {
"file": "parser.c"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "188868355829031609633788262857212121916",
"length": 373
},
"id": "CVE-2025-7425-af0d6027",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://gitlab.gnome.org/gnome/libxml2@97fea18b7138caf76bf17d003f4985d8797d26f9",
"target": {
"file": "parser.c",
"function": "xmlFreeParserCtxt"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "63821185044893372496077545820715775803",
"length": 1189
},
"id": "CVE-2025-7425-bf1ac1fe",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://gitlab.gnome.org/gnome/libxml2@97fea18b7138caf76bf17d003f4985d8797d26f9",
"target": {
"file": "parser.c",
"function": "xmlSAXParseDTD"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "68140434741011183212570756410483439558",
"length": 433
},
"id": "CVE-2025-7425-dbee0434",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://gitlab.gnome.org/gnome/libxml2@97fea18b7138caf76bf17d003f4985d8797d26f9",
"target": {
"file": "parser.c",
"function": "xmlSAXParseMemory"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "131197706378201909763948975028710299148",
"length": 417
},
"id": "CVE-2025-7425-e6f39574",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://gitlab.gnome.org/gnome/libxml2@97fea18b7138caf76bf17d003f4985d8797d26f9",
"target": {
"file": "parser.c",
"function": "xmlSAXParseFile"
}
}
]
"2026-10-21T09:09:17Z"