CVEfocus › CVE database › CVE-2023-40890

CVE-2023-40890

CVSS 9.8 CriticalEPSS 1.6% (higher than 76% of CVEs)Published 2023-08-29Updated 2025-11-04Assigner: mitre

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.

CWE-787

What to do

Fixed builds are available from Alpine, Debian: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

9Fixed
2Fix pending
2Will not fix
2Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04zbarNot affected
vulnerable_code_not_present
Ubuntu 25.10zbarWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2023-40890
Ubuntu 24.04zbarNot affected
vulnerable_code_not_present
Ubuntu 22.04zbarFix pending0.23.92-4ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2023-40890
Ubuntu 20.04zbarFix pending0.23-1.3ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2023-40890
Ubuntu 16.04zbarWill not fix
Ubuntu decided not to fix this in this release
Debian 14zbarFixed0.23.92-9DEBIAN-CVE-2023-40890
Debian 13zbarFixed0.23.92-9DEBIAN-CVE-2023-40890
Debian 12zbarFixed0.23.92-7+deb12u1DEBIAN-CVE-2023-40890
Alpine Linux 3.24zbarFixed0.23.93-r0ALPINE-CVE-2023-40890
Alpine Linux 3.23zbarFixed0.23.93-r0ALPINE-CVE-2023-40890
Alpine Linux 3.22zbarFixed0.23.93-r0ALPINE-CVE-2023-40890
Alpine Linux 3.21zbarFixed0.23.93-r0ALPINE-CVE-2023-40890
Alpine Linux 3.20zbarFixed0.23.93-r0ALPINE-CVE-2023-40890
Alpine Linux 3.19zbarFixed0.23.93-r0ALPINE-CVE-2023-40890

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.