{"id":"CVE-2025-49796","summary":"Libxml: type confusion leads to denial of service (dos)","details":"A vulnerability was found in libxml2. Processing certain sch:name elements from the input XML file can trigger a memory corruption issue. This flaw allows an attacker to craft a malicious XML input file that can lead libxml to crash, resulting in a denial of service or other possible undefined behavior due to sensitive data being corrupted in memory.","modified":"2026-11-06T01:21:28.976118705Z","published":"2025-06-16T15:14:28.251Z","related":["ALSA-2025:10630","ALSA-2025:10698","ALSA-2025:10699","SUSE-SU-2025:02260-1","SUSE-SU-2025:02275-1","SUSE-SU-2025:02294-1","SUSE-SU-2025:02314-1","SUSE-SU-2025:02355-1","SUSE-SU-2025:20564-1","SUSE-SU-2025:20607-1","openSUSE-SU-2025:15321-1"],"database_specific":{"cwe_ids":["CWE-125"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/49xxx/CVE-2025-49796.json","unresolved_ranges":[{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"InverseAffectedRanges","range":[{"fixed":"0:2.12.5-7.el10_0"},{"fixed":"0:2.9.1-6.el7_9.10"},{"fixed":"0:2.9.7-21.el8_10.1"},{"fixed":"0:2.9.7-21.el8_10.1"},{"fixed":"0:2.9.7-9.el8_2.3"},{"fixed":"0:2.9.7-9.el8_4.6"},{"fixed":"0:2.9.7-9.el8_4.6"},{"fixed":"0:2.9.7-13.el8_6.10"},{"fixed":"0:2.9.7-13.el8_6.10"},{"fixed":"0:2.9.7-13.el8_6.10"},{"fixed":"0:2.9.7-16.el8_8.9"},{"fixed":"0:2.9.7-16.el8_8.9"},{"fixed":"0:2.9.13-10.el9_6"},{"fixed":"0:2.9.13-10.el9_6"},{"fixed":"0:2.9.13-1.el9_0.5"},{"fixed":"0:2.9.13-3.el9_2.7"},{"fixed":"0:2.9.13-10.el9_4"},{"fixed":"412.86.202510291903-0"},{"fixed":"413.92.202510150118-0"},{"fixed":"414.92.202510211419-0"},{"fixed":"415.92.202609140326-0"},{"fixed":"416.94.202609011112-0"},{"fixed":"417.94.202510112152-0"},{"fixed":"418.94.202510230424-0"},{"fixed":"4.19.9.6.202510140714-0"},{"fixed":"4.20.9.6.202509251656-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":"2.0.1-1754478727"},{"fixed":"2.15.2-0.3.hum1"},{"fixed":"1.5.5-1754504343"}]}]}],"cna_assigner":"redhat"},"references":[{"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-253495.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/07/msg00014.html"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2025:10630"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2025:10698"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2025:10699"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2025:11580"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2025:12098"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2025:12099"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2025:12199"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2025:12237"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2025:12239"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2025:12240"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2025:12241"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2025:13267"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2025:13335"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2025:15397"},{"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:18217"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2025:18218"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2025:18219"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2025:18240"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2025:19020"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2025:19041"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2025:19046"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2025:19894"},{"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:62549"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:67857"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:7519"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2025-49796"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/49xxx/CVE-2025-49796.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-49796"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2372385"},{"type":"REPORT","url":"https://gitlab.gnome.org/GNOME/libxml2/-/issues/933"},{"type":"PACKAGE","url":"https://gitlab.gnome.org/GNOME/libxml2/"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://gitlab.gnome.org/gnome/libxml2","events":[{"introduced":"0"},{"fixed":"0bea77c8289324483c0504d36ac730bb03f6a70b"},{"fixed":"97fea18b7138caf76bf17d003f4985d8797d26f9"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"fixed":"2.15.0"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"},{"source":"AFFECTED_FIELD","strategy":"InverseAffectedRanges","range":[{"introduced":"0"},{"fixed":"v1.3"}]}]}}],"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-06T01:21:28Z","source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-49796.json","vanir_signatures":[{"deprecated":false,"digest":{"function_hash":"257367616524644363065775477338570909958","length":450},"id":"CVE-2025-49796-269be83b","signature_type":"Function","signature_version":"v1","source":"https://gitlab.gnome.org/gnome/libxml2@97fea18b7138caf76bf17d003f4985d8797d26f9","target":{"file":"parser.c","function":"xmlSAXParseDoc"}},{"source":"https://gitlab.gnome.org/gnome/libxml2@97fea18b7138caf76bf17d003f4985d8797d26f9","target":{"file":"parser.c","function":"xmlInitParserCtxt"},"deprecated":false,"digest":{"length":634,"function_hash":"128204593758245842800144810537873211851"},"id":"CVE-2025-49796-2f2f7262","signature_type":"Function","signature_version":"v1"},{"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-49796-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-49796-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-49796-bf1ac1fe","signature_type":"Function"},{"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":"68140434741011183212570756410483439558","length":433},"id":"CVE-2025-49796-dbee0434"},{"signature_version":"v1","source":"https://gitlab.gnome.org/gnome/libxml2@97fea18b7138caf76bf17d003f4985d8797d26f9","target":{"file":"parser.c","function":"xmlSAXParseFile"},"deprecated":false,"digest":{"function_hash":"131197706378201909763948975028710299148","length":417},"id":"CVE-2025-49796-e6f39574","signature_type":"Function"}]}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H"}]}