CVE-2026-121942
mediumZBar 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 i…
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.
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H Affected products
Not reported by the source (unknown — not "none").
Weakness classification (CWE)
Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.
Mitigation & advisories
No vendor advisory or patch reference tagged by NVD. Check the references below.
References
- https://github.com/mchehab/zbar/blob/0.23.95/zbar/sqcode.c#L529-L567 disclosure@vulncheck.com
- https://github.com/mchehab/zbar/issues/351 disclosure@vulncheck.com
- https://hackmd.io/@haindpwn/zbar-sqcode-sampling-oob-read disclosure@vulncheck.com
- https://www.vulncheck.com/advisories/zbar-through-0.23.95-out-of-bounds-read-via-zbar-sq-d... disclosure@vulncheck.com
- https://hackmd.io/@haindpwn/cve-2026-121942-zbar-sqcode-sampling-oob-read 134c704f-9b21-4f2e-91b3-4a467353bcc0

