CVE-2026-121942 PUBLISHED

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

Assigner: VulnCheck
Reserved: 04.11.2026 Published: 04.11.2026 Updated: 04.11.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N
CVSS Score: 6.9

Product Status

Vendor mchehab
Product zbar
Versions Default: unaffected
  • affected from 0 to 0.23.95 (incl.)

Credits

  • HaiND from the Post and Telecommunication Institute of Technology finder

References

Problem Types

  • Out-of-bounds Read CWE