Ubuntu CVE Tracker
UBUNTU-CVE-2023-40889
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:14.04:LTS | zbar | All versions before 0.10+doc-9ubuntu0.14.04.1~esm1 (fixed in 0.10+doc-9ubuntu0.14.04.1~esm1) |
| Ubuntu:Pro:16.04:LTS | zbar | All versions before 0.10+doc-10ubuntu1+esm1 (fixed in 0.10+doc-10ubuntu1+esm1) |
| Ubuntu:Pro:18.04:LTS | zbar | All versions before 0.10+doc-10.1ubuntu0.1~esm1 (fixed in 0.10+doc-10.1ubuntu0.1~esm1) |
| Ubuntu:Pro:20.04:LTS | zbar | All versions before 0.23-1.3ubuntu0.1~esm1 (fixed in 0.23-1.3ubuntu0.1~esm1) |
| Ubuntu:Pro:22.04:LTS | zbar | All versions before 0.23.92-4ubuntu0.1~esm1 (fixed in 0.23.92-4ubuntu0.1~esm1) |
| Ubuntu:25.10 | zbar | All versions, no fix listed |