A heap-based buffer overflow exists in the qr_reader_match_centers function of ZBar…
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-787 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | zbar (PyPI) | up to 0.23.90 | — | No fix listed | GHSA-mhp6-jvpx-2p4m |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- zbar (PyPI) Vendor— Affected up to 0.23.90 Fixed in — No fix listed GHSA-mhp6-jvpx-2p4m
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:zbar_project:zbar:0.23.90:*:*:*:*:*:*:* | 0.23.90 | Vulnerable | Zbar Project |
- cpe:2.3:a:zbar_project:zbar:0.23.90:*:*:*:*:*:*:* Versions 0.23.90 Vulnerable ·Zbar Project
Remediation
No fixed version listed by the sources yet.
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2023-40889
- 2026-10-03 Alias added: GHSA-mhp6-jvpx-2p4m
References
Advisory 3
Other 6
- https://hackmd.io/%40cspl/B1ZkFZv23
- [debian-lts-announce] 20231201 [SECURITY] [DLA 3675-1] zbar security update
- https://github.com/mchehab/zbar
- https://hackmd.io/@cspl/B1ZkFZv23
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/25LZZQJGGZRPLKTRNRNOTAFQJIPS7WRP
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DC7V5YCLCPB36J2KY6WLZCABFLBRB665
More Zbar Project Zbar vulnerabilities
- TI-2023-21596 A stack-based buffer overflow vulnerability exists in the lookup_sequence function of… CVSS 3.1CRITICAL 9.8
Sources
- CVE-2023-40889 · CVE Program
- CVE-2023-40889 · NVD
- FIRST EPSS
- GHSA-mhp6-jvpx-2p4m · GitHub Advisory Database · CC BY 4.0
- CVE-2023-40889 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences