CVE-2021-34340 Memory corruption in ming

Medium 6.5 Published Updated

An out-of-bounds buffer access in the Ming library allows attackers to cause a segmentation fault and 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
None listed

What is CVE-2021-34340?

CVE-2021-34340 is a medium-severity memory corruption vulnerability in Fedoraproject Fedora, published on 7 Mar 2022. 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

Ming 0.4.8 has an out-of-bounds buffer access issue in the function decompileINCR_DECR() in decompiler.c file that causes a direct segmentation fault and leads to denial of service.

Weakness: CWE-787, CWE-125

Which versions are affected by CVE-2021-34340?

It affects 2 products.

Products include Fedoraproject Fedora, Libming Ming.

How do I fix CVE-2021-34340?

No fix has been published for CVE-2021-34340 yet. Limit exposure of the affected software until one is available.

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

Is CVE-2021-34340 being exploited?

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

All Fedoraproject Fedora vulnerabilities

Sources

Also known as GHSA-79h4-6hc9-65cp, UBUNTU-CVE-2021-34340.

Is CVE-2021-34340 in your software?

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

Check your SBOMs for free