Name | CVE-2023-40890 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-3675-1, DSA-5614-1 |
Debian Bugs | 1051724 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
zbar (PTS) | jessie | 0.10+doc-10 | vulnerable |
| stretch (lts), stretch | 0.10+doc-10.1+deb9u1 | fixed |
| buster (security), buster, buster (lts) | 0.22-1+deb10u1 | fixed |
| bullseye (security), bullseye | 0.23.90-1+deb11u1 | fixed |
| bookworm (security), bookworm | 0.23.92-7+deb12u1 | fixed |
| trixie | 0.23.93-5 | fixed |
| sid | 0.23.93-6 | fixed |
The information below is based on the following data on fixed versions.
Notes
https://hackmd.io/@cspl/H1PxPAUnn
https://github.com/mchehab/zbar/issues/263
https://github.com/mchehab/zbar/pull/276
https://github.com/mchehab/zbar/commit/012a030250a203e5529d09caedea7ad7173dacfd
[stretch] - zbar <not-affected> (Vulnerable codec databar was introduced later)