{"schema_version":"1.9.0","id":"CVE-2021-3516","published":"2021-06-01T14:15:10.373Z","modified":"2026-09-01T08:06:47.871787Z","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"],"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.","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":{"cpe":["cpe:2.3:a:xmlsoft:xmllint:*:*:*:*:*:*:*:*","cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"0"},{"fixed":"2.9.11"},{"introduced":"6.0"},{"last_affected":"6.0"}],"source":["CPE_RANGE","CPE_STRING","REFERENCES"]}}],"versions":["6.0","CVE-2021-3541","v2.9.10","v2.9.10-rc1","v2.9.9","v2.9.9-rc2","v2.9.9-rc1","v2.9.8","v2.9.8-rc1","v2.9.7","v2.9.7-rc1","v2.9.6","v2.9.6-rc1","v2.9.5","v2.9.5-rc2","v2.9.5-rc1","v2.9.4","CVE-2016-3627","CVE-2016-1833","CVE-2016-1835","CVE-2016-1837","CVE-2016-1836","CVE-2016-1839","CVE-2016-1838","CVE-2016-1840","CVE-2016-4449","CVE-2016-4483","CVE-2016-1834","CVE-2016-3705","v2.9.4-rc2","v2.9.4-rc1","CVE-2016-1762","v2.9.3","CVE-2015-8242","CVE-2015-7500","CVE-2015-7499-2","CVE-2015-7499-1","CVE-2015-5312","CVE-2015-7497","CVE-2015-7498","CVE-2015-8035","CVE-2015-7942-2","CVE-2015-7942","CVE-2015-8317","CVE-2015-1819","CVE-2015-7941_2","CVE-2015-7941_1","v2.9.2","CVE-2014-3660","v2.9.2-rc2","v2.9.2-rc1","CVE-2014-0191","v2.9.1","CVE-2013-2877","v2.9.0","v2.9.0-rc2","v2.8.0","v2.8.0-rc2","v2.8.0-rc1","v2.7.8","v2.7.7","v2.7.6","v2.7.5","v2.7.4","LIBXML2.7.3","LIBXML2.7.2","LIBXML2.7.1","LIBXML2.7.0","LIBXML2.6.32","LIBXML2_2_6_28","LIBXML2_2_6_27","LIBXML2_2_6_26","LIBXML2_2_6_24","LIBXML2_2_6_23","LIBXML2_2_6_22","LIBXML2_2_6_21","LIBXML2_2_6_20","LIBXML2_2_6_19","LIBXML2_2_6_18","LIBXML2_2_6_16","LIBXML2_2_6_15","LIBXML2_2_6_14","LIBXML2_2_6_13","LIBXML2_2_6_12","LIBXML2_2_6_11","LIBXML_2_6_10","LIBXML2_2_6_9","LIBXML2_2_6_8","LIBXML2_2_6_7","LIBXML2_2_6_6","LIBXML2_2_6_5","LIBXML2_2_6_4","LIBXML2_2_6_3","LIBXML2_2_6_2","LIBXML2_2_6_1","LIBXML2_6_0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-3516.json","vanir_signatures":[{"deprecated":false,"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,"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},"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":{"function_hash":"198329610838053062539893085088781189951","length":1155},"id":"CVE-2021-3516-88b79f4c","signature_type":"Function","signature_version":"v1","source":"https://gitlab.gnome.org/gnome/libxml2@e1bcffea180d6cc0651757bb64284a763e0e2239","target":{"file":"testapi.c","function":"test_xmlIO"}}],"vanir_signatures_modified":"2026-09-01T08:06:47Z"}}],"references":[{"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"}],"database_specific":{"unresolved_ranges":[{"cpes":["cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"9.0"},{"last_affected":"9.0"}],"source":"CPE_STRING","vendor_product":"debian:debian_linux"},{"cpes":["cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*","cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*"],"extracted_events":[{"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":[{"introduced":"8.8"},{"last_affected":"8.8"}],"source":"CPE_STRING","vendor_product":"oracle:zfs_storage_appliance_kit"},{"cpes":["cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*","cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"7.0"},{"last_affected":"7.0"},{"introduced":"8.0"},{"last_affected":"8.0"}],"source":"CPE_STRING","vendor_product":"redhat:enterprise_linux"}]},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}