CVE-2023-40889

NameCVE-2023-40889
DescriptionA 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.
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
sid, trixie0.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/B1ZkFZv23
https://github.com/mchehab/zbar/issues/263
https://github.com/mchehab/zbar/pull/276
https://github.com/mchehab/zbar/commit/f8f8f5ccf1e8d68c3700e0f0b3d895cdf03ce679

Search for package or bug name: Reporting problems