CVE-2026-121942
Dashboard / Vulnerabilities / CVE-2026-121942
CVE-2026-121942
Summary: ZBar through 0.23.95 Out-of-Bounds Read via _zbar_sq_decode() in sqcode.c
Details: ZBar through 0.23.95 contains an out-of-bounds read vulnerability in _zbar_sq_decode() in zbar/sqcode.c that allows attackers to read heap memory outside the image buffer via crafted SQ code images. Attackers can supply an image with a skewed SQ code finder pattern near the edge, producing unchecked sample coordinates that crash the decoder and leak bytes into output.
References: https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/121xxx/CVE-2026-121942.json, https://hackmd.io/@haindpwn/zbar-sqcode-sampling-oob-read, https://nvd.nist.gov/vuln/detail/CVE-2026-121942, https://www.vulncheck.com/advisories/zbar-through-0.23.95-out-of-bounds-read-via-zbar-sq-decode-in-sqcode-c, https://github.com/mchehab/zbar/issues/351, https://github.com/mchehab/zbar, https://github.com/mchehab/zbar/blob/0.23.95/zbar/sqcode.c#L529-L567, https://hackmd.io/@haindpwn/cve-2026-121942-zbar-sqcode-sampling-oob-read
Affected packages
Package
Name:
Purl:
Affected ranges
Type: GIT
Events:
