CVE-2023-40890

NameCVE-2023-40890
DescriptionA 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-3675-1, DSA-5614-1
Debian Bugs1051724

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
zbar (PTS)buster0.22-1vulnerable
buster (security)0.22-1+deb10u1fixed
bullseye (security), bullseye0.23.90-1+deb11u1fixed
bookworm, bookworm (security)0.23.92-7+deb12u1fixed
trixie0.23.93-1fixed
sid0.23.93-4fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
zbarsourcebuster0.22-1+deb10u1DLA-3675-1
zbarsourcebullseye0.23.90-1+deb11u1DSA-5614-1
zbarsourcebookworm0.23.92-7+deb12u1DSA-5614-1
zbarsource(unstable)0.23.92-91051724

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

Search for package or bug name: Reporting problems