CVEfocus › CVE database › CVE-2023-40889

CVE-2023-40889

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

A heap-based buffer overflow exists in the qr_reader_match_centers 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.

What to do

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

PyPI, Ubuntu have 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
5Fix 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-40889
Ubuntu 24.04zbarNot affected
vulnerable_code_not_present
Ubuntu 22.04zbarFix pending0.23.92-4ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2023-40889
Ubuntu 20.04zbarFix pending0.23-1.3ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2023-40889
Ubuntu 18.04zbarFix pending0.10+doc-10.1ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2023-40889
Ubuntu 16.04zbarWill not fix
Ubuntu decided not to fix this in this release
0.10+doc-10ubuntu1+esm1 (Ubuntu Pro)UBUNTU-CVE-2023-40889
Ubuntu 14.04zbarFix pending0.10+doc-9ubuntu0.14.04.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2023-40889
Debian 14zbarFixed0.23.92-9DEBIAN-CVE-2023-40889
Debian 13zbarFixed0.23.92-9DEBIAN-CVE-2023-40889
Debian 12zbarFixed0.23.92-7+deb12u1DEBIAN-CVE-2023-40889
Alpine Linux 3.24zbarFixed0.23.93-r0ALPINE-CVE-2023-40889
Alpine Linux 3.23zbarFixed0.23.93-r0ALPINE-CVE-2023-40889
Alpine Linux 3.22zbarFixed0.23.93-r0ALPINE-CVE-2023-40889
Alpine Linux 3.21zbarFixed0.23.93-r0ALPINE-CVE-2023-40889
Alpine Linux 3.20zbarFixed0.23.93-r0ALPINE-CVE-2023-40889
Alpine Linux 3.19zbarFixed0.23.93-r0ALPINE-CVE-2023-40889
PyPI libraryzbarFix pendingPYSEC-2026-576

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.