CVE-2021-31229 Memory corruption in n/a

Medium 6.5 Published Updated

An out-of-bounds write in ezXML allows attackers to execute arbitrary code or cause denial of service 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-31229?

CVE-2021-31229 is a medium-severity memory corruption vulnerability in Debian Debian Linux, published on 15 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_internal_dtd() performs incorrect memory handling while parsing crafted XML files, which leads to an out-of-bounds write of a one byte constant.

Weakness: CWE-787

Which versions are affected by CVE-2021-31229?

It affects 2 products.

Products include Debian Debian Linux, Ezxml Project Ezxml.

How do I fix CVE-2021-31229?

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-31229 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2021-31229, GHSA-pq24-7v4g-2468, UBUNTU-CVE-2021-31229.

Is CVE-2021-31229 in your software?

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

Check your SBOMs for free