CVE-2021-31347 Memory corruption in n/a

Medium 6.5 Published Updated

Attackers can trigger memory corruption in ezXML via crafted XML files, potentially leading to code execution or denial of service.

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-31347?

CVE-2021-31347 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 (writing outside a memory region created by mmap).

Weakness: CWE-91

Which versions are affected by CVE-2021-31347?

It affects 2 products.

Products include Debian Debian Linux, Ezxml Project Ezxml.

How do I fix CVE-2021-31347?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2021-31347 being exploited?

There is no known exploitation of CVE-2021-31347 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2021-31347, GHSA-r2r5-8rmr-3pxj, UBUNTU-CVE-2021-31347.

Is CVE-2021-31347 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free