{"id":"CVE-2025-7425","summary":"Libxslt: libxml2: heap use-after-free in libxslt caused by atype corruption in xmlattrptr","details":"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.","aliases":["BIT-java-2025-7425","BIT-java-min-2025-7425","BIT-jre-2025-7425"],"modified":"2026-11-07T07:05:14.576318075Z","published":"2025-07-10T13:53:37.295Z","related":["ALSA-2025:12447","ALSA-2025:12450","SUSE-SU-2025:02547-1","SUSE-SU-2025:02617-1","SUSE-SU-2025:02620-1","SUSE-SU-2025:02621-1","SUSE-SU-2025:02758-1","SUSE-SU-2025:20564-1","SUSE-SU-2025:20607-1","openSUSE-SU-2025:15363-1"],"database_specific":{"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":[{"source":"AFFECTED_FIELD","strategy":"InverseAffectedRanges","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"}]}]}]},"references":[{"type":"WEB","url":"http://seclists.org/fulldisclosure/2025/Aug/0"},{"type":"WEB","url":"http://seclists.org/fulldisclosure/2025/Jul/30"},{"type":"WEB","url":"http://seclists.org/fulldisclosure/2025/Jul/32"},{"type":"WEB","url":"http://seclists.org/fulldisclosure/2025/Jul/35"},{"type":"WEB","url":"http://seclists.org/fulldisclosure/2025/Jul/37"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2025/07/11/2"},{"type":"WEB","url":"https://access.redhat.com/downloads/content/package-browser/"},{"type":"WEB","url":"https://catalog.redhat.com/software/containers/"},{"type":"WEB","url":"https://cert-portal.siemens.com/productcert/html/ssa-032379.html"},{"type":"WEB","url":"https://cert-portal.siemens.com/productcert/html/ssa-082556.html"},{"type":"WEB","url":"https://cert-portal.siemens.com/productcert/html/ssa-265688.html"},{"type":"WEB","url":"https://cert-portal.siemens.com/productcert/html/ssa-577017.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/09/msg00035.html"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHBA-2025:12345"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2025:12447"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2025:12450"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2025:13267"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2025:13308"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2025:13309"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2025:13310"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2025:13311"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2025:13312"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2025:13313"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2025:13314"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2025:13335"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2025:13464"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2025:13622"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2025:14059"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2025:14396"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2025:14818"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2025:14819"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2025:14853"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2025:14858"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2025:15308"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2025:15672"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2025:15827"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2025:15828"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2025:18219"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2025:21885"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2025:21913"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:0934"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:11503"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2025-7425"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/7xxx/CVE-2025-7425.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-7425"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2379274"},{"type":"REPORT","url":"https://gitlab.gnome.org/GNOME/libxslt/-/issues/140"},{"type":"PACKAGE","url":"https://gitlab.gnome.org/GNOME/libxml2/"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://gitlab.gnome.org/gnome/libxml2","events":[{"introduced":"0"},{"fixed":"3d840e17858de03a09fba8b202e3a89267d5795a"},{"fixed":"97fea18b7138caf76bf17d003f4985d8797d26f9"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"fixed":"2.15.2"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"},{"strategy":"InverseAffectedRanges","range":[{"introduced":"0"},{"fixed":"v1.3"}],"source":"AFFECTED_FIELD"}]}}],"versions":["LIB_XML_1_1","FOR_GNOME_0_99_1","LIBXML_0_99","GNUMERIC_FIRST_PUBLIC_RELEASE","GNOME_0_30"],"database_specific":{"vanir_signatures_modified":"2026-11-07T07:05:14Z","source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-7425.json","vanir_signatures":[{"signature_version":"v1","source":"https://gitlab.gnome.org/gnome/libxml2@97fea18b7138caf76bf17d003f4985d8797d26f9","target":{"file":"parser.c","function":"xmlSAXParseDoc"},"deprecated":false,"digest":{"function_hash":"257367616524644363065775477338570909958","length":450},"id":"CVE-2025-7425-269be83b","signature_type":"Function"},{"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":{"function_hash":"128204593758245842800144810537873211851","length":634}},{"signature_version":"v1","source":"https://gitlab.gnome.org/gnome/libxml2@97fea18b7138caf76bf17d003f4985d8797d26f9","target":{"file":"parser.c"},"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_type":"Function","signature_version":"v1","source":"https://gitlab.gnome.org/gnome/libxml2@97fea18b7138caf76bf17d003f4985d8797d26f9","target":{"function":"xmlFreeParserCtxt","file":"parser.c"},"deprecated":false,"digest":{"function_hash":"188868355829031609633788262857212121916","length":373},"id":"CVE-2025-7425-af0d6027"},{"signature_version":"v1","source":"https://gitlab.gnome.org/gnome/libxml2@97fea18b7138caf76bf17d003f4985d8797d26f9","target":{"file":"parser.c","function":"xmlSAXParseDTD"},"deprecated":false,"digest":{"function_hash":"63821185044893372496077545820715775803","length":1189},"id":"CVE-2025-7425-bf1ac1fe","signature_type":"Function"},{"id":"CVE-2025-7425-dbee0434","signature_type":"Function","signature_version":"v1","source":"https://gitlab.gnome.org/gnome/libxml2@97fea18b7138caf76bf17d003f4985d8797d26f9","target":{"function":"xmlSAXParseMemory","file":"parser.c"},"deprecated":false,"digest":{"function_hash":"68140434741011183212570756410483439558","length":433}},{"signature_type":"Function","signature_version":"v1","source":"https://gitlab.gnome.org/gnome/libxml2@97fea18b7138caf76bf17d003f4985d8797d26f9","target":{"function":"xmlSAXParseFile","file":"parser.c"},"deprecated":false,"digest":{"function_hash":"131197706378201909763948975028710299148","length":417},"id":"CVE-2025-7425-e6f39574"}]}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:H"}]}