CVE-2023-40890 Memory corruption in n/a

Critical 9.8 Published Updated

A stack-based buffer overflow in ZBar allows attackers to execute arbitrary code or disclose information via crafted QR codes.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-40890?

CVE-2023-40890 is a critical memory corruption vulnerability in n/a, published on 29 Aug 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A stack-based buffer overflow vulnerability exists in the lookup_sequence function of ZBar 0.23.90. Specially crafted QR codes may lead to information disclosure and/or arbitrary code execution. To trigger this vulnerability, an attacker can digitally input the malicious QR code, or prepare it to be physically scanned by the vulnerable scanner.

Weakness: CWE-787

Which versions are affected by CVE-2023-40890?

It affects 1 product.

Products include Zbar Project Zbar.

How do I fix CVE-2023-40890?

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-2023-40890 being exploited?

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

Sources

Also known as DEBIAN-CVE-2023-40890, GHSA-p3ww-vpp7-fpm5, UBUNTU-CVE-2023-40890.

Is CVE-2023-40890 in your software?

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

Check your SBOMs for free