CVE-2021-31348 Memory corruption in n/a
An out-of-bounds read in ezXML allows attackers to cause denial of service or disclose information via crafted XML files.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2021-31348?
CVE-2021-31348 is a medium-severity memory corruption vulnerability in Debian Debian Linux, published on 16 Apr 2021. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
An issue was discovered in libezxml.a in ezXML 0.8.6. The function ezxml_parse_str() performs incorrect memory handling while parsing crafted XML files (out-of-bounds read after a certain strcspn failure).
Weakness: CWE-125
Which versions are affected by CVE-2021-31348?
It affects 2 products.
Products include Debian Debian Linux, Ezxml Project Ezxml.
How do I fix CVE-2021-31348?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2021-31348 being exploited?
There is no known exploitation of CVE-2021-31348 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as DEBIAN-CVE-2021-31348, GHSA-3pqx-5g5h-696j, OESA-2022-1793, UBUNTU-CVE-2021-31348.