CVE-2021-31598 Memory corruption in n/a

High 7.5 Published Updated

A heap-based buffer overflow 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
Not needed
Fix
Available

What is CVE-2021-31598?

CVE-2021-31598 is a high-severity memory corruption vulnerability in Debian Debian Linux, published on 24 Apr 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

An issue was discovered in libezxml.a in ezXML 0.8.6. The function ezxml_decode() performs incorrect memory handling while parsing crafted XML files, leading to a heap-based buffer overflow.

Weakness: CWE-787

Which versions are affected by CVE-2021-31598?

It affects 2 products.

Products include Debian Debian Linux, Ezxml Project Ezxml.

How do I fix CVE-2021-31598?

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

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

All Debian Debian Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2021-31598, GHSA-79rj-564v-63cr, UBUNTU-CVE-2021-31598.

Is CVE-2021-31598 in your software?

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

Check your SBOMs for free