CVE-2021-3516 Use after free in libxml2
An attacker can trigger a use-after-free in libxml2's xmllint via a crafted file, potentially leading to code execution or denial of service.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2021-3516?
CVE-2021-3516 is a high-severity use after free vulnerability in Debian Debian Linux, published on 1 Jun 2021. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
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.
Weakness: CWE-416
Which versions are affected by CVE-2021-3516?
It affects 9 products.
Products include Debian Debian Linux, Fedoraproject Fedora, Netapp Clustered Data Ontap, Netapp Clustered Data Ontap Antivirus Connector, Netapp Ontap Select Deploy Administration Utility, Oracle Zfs Storage Appliance Kit and 3 more.
How do I fix CVE-2021-3516?
Upgrade to a fixed version.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2021-3516 being exploited?
There is no known exploitation of CVE-2021-3516 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as DEBIAN-CVE-2021-3516, GHSA-cfj9-6cq4-25vj, UBUNTU-CVE-2021-3516.