๐Ÿ” CVE Alert

CVE-2026-121942

MEDIUM 6.1

ZBar through 0.23.95 Out-of-Bounds Read via _zbar_sq_decode() in sqcode.c

CVSS Score
6.1
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-125
Vendor mchehab
Product zbar
Published Nov 4, 2026
Stay Ahead of the Next One

Get instant alerts for mchehab zbar

Be the first to know when new medium vulnerabilities affecting mchehab zbar are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H
Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
High

Affected Versions

mchehab / zbar
0 โ‰ค 0.23.95

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/mchehab/zbar/issues/351 hackmd.io: https://hackmd.io/@haindpwn/zbar-sqcode-sampling-oob-read github.com: https://github.com/mchehab/zbar/blob/0.23.95/zbar/sqcode.c#L529-L567 vulncheck.com: https://www.vulncheck.com/advisories/zbar-through-0.23.95-out-of-bounds-read-via-zbar-sq-decode-in-sqcode-c

Credits

HaiND from the Post and Telecommunication Institute of Technology