CVE-2021-27799 Memory corruption in n/a

High 7.5 Published Updated

A stack-based buffer overflow in the Zint Barcode Generator library allows attackers to execute arbitrary code or cause denial of service via crafted input.

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

CVE-2021-27799 is a high-severity memory corruption vulnerability in n/a, published on 26 Feb 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

ean_leading_zeroes in backend/upcean.c in Zint Barcode Generator 2.9.1 has a stack-based buffer overflow that is reachable from the C API through an application that includes the Zint Barcode Generator library code.

Weakness: CWE-787

Which versions are affected by CVE-2021-27799?

It affects 1 product.

Products include Zint Barcode Generator.

How do I fix CVE-2021-27799?

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

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

Sources

Also known as DEBIAN-CVE-2021-27799, GHSA-rr98-pccv-8m4w, UBUNTU-CVE-2021-27799.

Is CVE-2021-27799 in your software?

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

Check your SBOMs for free