{"id":"CVE-2021-3516","details":"There's a flaw in libxml2's xmllint in versions before 2.9.11. An attacker who is able to submit a crafted file to be processed by xmllint could trigger a use-after-free. The greatest impact of this flaw is to confidentiality, integrity, and availability.","modified":"2026-10-20T14:09:46.990043172Z","published":"2021-06-01T14:15:10.373Z","related":["ALSA-2021:2569","SUSE-SU-2021:14729-1","SUSE-SU-2021:1523-1","SUSE-SU-2021:1524-1","SUSE-SU-2021:1654-1","SUSE-SU-2021:1658-1","openSUSE-SU-2021:0692-1","openSUSE-SU-2021:0764-1","openSUSE-SU-2024:11016-1","openSUSE-SU-2024:11340-1","openSUSE-SU-2024:11912-1","openSUSE-SU-2024:13165-1","openSUSE-SU-2024:14174-1","openSUSE-SU-2025:14697-1","openSUSE-SU-2026:10356-1"],"database_specific":{"unresolved_ranges":[{"cpes":["cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"],"extracted_events":[{"source":"CPE_STRING","range":[{"introduced":"9.0"},{"last_affected":"9.0"}]}],"vendor_product":"debian:debian_linux"},{"cpes":["cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*","cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*"],"extracted_events":[{"range":[{"introduced":"33"},{"last_affected":"33"},{"introduced":"34"},{"last_affected":"34"}],"source":"CPE_STRING"}],"vendor_product":"fedoraproject:fedora"},{"cpes":["cpe:2.3:a:oracle:zfs_storage_appliance_kit:8.8:*:*:*:*:*:*:*"],"extracted_events":[{"source":"CPE_STRING","range":[{"introduced":"8.8"},{"last_affected":"8.8"}]}],"vendor_product":"oracle:zfs_storage_appliance_kit"},{"extracted_events":[{"range":[{"introduced":"7.0"},{"last_affected":"7.0"},{"introduced":"8.0"},{"last_affected":"8.0"}],"source":"CPE_STRING"}],"vendor_product":"redhat:enterprise_linux","cpes":["cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*","cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*"]}]},"references":[{"type":"WEB","url":"https://cert-portal.siemens.com/productcert/html/ssa-398330.html"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BZOMV5J4PMZAORVT64BKLV6YIZAFDGX6/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QVM4UJ3376I6ZVOYMHBNX4GY3NIV52WV/"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2021/05/msg00008.html"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/202107-05"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20210716-0005/"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1954225"},{"type":"REPORT","url":"https://gitlab.gnome.org/GNOME/libxml2/-/issues/230"},{"type":"FIX","url":"https://gitlab.gnome.org/GNOME/libxml2/-/commit/1358d157d0bd83be1dfe356a69213df9fac0b539"},{"type":"FIX","url":"https://www.oracle.com/security-alerts/cpujan2022.html"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://gitlab.gnome.org/gnome/libxml2","events":[{"introduced":"0"},{"fixed":"e1bcffea180d6cc0651757bb64284a763e0e2239"},{"introduced":"2189b59b1005976970ebadb65edbb289f9e091ff"},{"last_affected":"2189b59b1005976970ebadb65edbb289f9e091ff"},{"fixed":"1358d157d0bd83be1dfe356a69213df9fac0b539"}],"database_specific":{"extracted_events":[{"cpe":"cpe:2.3:a:xmlsoft:xmllint:*:*:*:*:*:*:*:*","range":[{"introduced":"0"},{"fixed":"2.9.11"}],"source":"CPE_RANGE"},{"cpe":"cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:*","range":[{"introduced":"6.0"},{"last_affected":"6.0"}],"source":"CPE_STRING"},{"range":[{"fixed":"1358d157d0bd83be1dfe356a69213df9fac0b539"}],"source":"REFERENCES_COMMIT"}]}}],"versions":["6.0","LIBXML2_6_0"],"database_specific":{"vanir_signatures":[{"digest":{"line_hashes":["125923364555687102912767750593616075062","164402031157988608807981467698484062586","187480151731575691958788539215601771876","198926099027557728522349673134118447470"],"threshold":0.9},"id":"CVE-2021-3516-22c624ac","signature_type":"Line","signature_version":"v1","source":"https://gitlab.gnome.org/gnome/libxml2@1358d157d0bd83be1dfe356a69213df9fac0b539","target":{"file":"xmllint.c"},"deprecated":false},{"id":"CVE-2021-3516-5d358667","signature_type":"Line","signature_version":"v1","source":"https://gitlab.gnome.org/gnome/libxml2@e1bcffea180d6cc0651757bb64284a763e0e2239","target":{"file":"testapi.c"},"deprecated":false,"digest":{"line_hashes":["61551077790304056876126381115245055965","278846916215258117913027984776762678417","335982757857177150834168525661853921922","87840030754328165737181167332541198940","61551077790304056876126381115245055965","278846916215258117913027984776762678417","105711474186756975709469310745455797308","103706706750952072917010335478765316004","227047217400973127911964602216150042388","253258039250536385915162828640596572926","335982757857177150834168525661853921922","87840030754328165737181167332541198940","227047217400973127911964602216150042388","253258039250536385915162828640596572926","105711474186756975709469310745455797308","263486003320329746243870951465374401173","112950646771093583388072220651695062566","231864520689178078662381811343978537663","213333773092754020127207462965134162165","19008729915787537273927561381864711242","112950646771093583388072220651695062566","231864520689178078662381811343978537663","213333773092754020127207462965134162165","19008729915787537273927561381864711242","273240550832595461615251408636344817319","162912241845094166163791832543701405088","671650474723048413359612334217206008","22766956053755843453510076977580137201","13167474649499926961065524423099785312","83470413458974766405520199037916535562","276402490468899750538561900822383734744","333682037389609673181412300351361172030","9499193487410093391036358074880903632","30805303948970631633603096678317204355","93889085830397632709481663916004609330","229956981014592868447519071218013779439","240624245583924818381392266620352655927","223174899253645334504338538819361168413","294476493037697202535040764027097131119","129304591418198192271541858825325701656","140204848231080657012011575632498051783","75311632195512841680531928924350830586","256053888072821081238103619703165798762","235378452580802392739918607691411522119","244992818881073020881304797438692585130","66651940352215863530508914348900210359","48019944339009281467628355593178272818","106918772490863171659640772695582053951","116925370429586760959130651896312835976","148133004854708868535797103792350393744","102183146399774788380381559441867815797","308117370035021215489377534456228663968","187339639605561687559806077174150854909","130836858511549172127312257489846408951","52797561731550596294797782502825671297","313419538420946173683294680071732735569","246138447249870484217065672110268629284"],"threshold":0.9}},{"signature_version":"v1","source":"https://gitlab.gnome.org/gnome/libxml2@e1bcffea180d6cc0651757bb64284a763e0e2239","target":{"file":"testapi.c","function":"test_xmlIO"},"deprecated":false,"digest":{"function_hash":"198329610838053062539893085088781189951","length":1155},"id":"CVE-2021-3516-88b79f4c","signature_type":"Function"}],"vanir_signatures_modified":"2026-10-20T14:09:46Z","source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-3516.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}