Skip to content
CVE PROGRAM SOURCE RECORD6.9 Medium

CVE-2026-121942

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

Description

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

mchehab zbar

Default version status: unaffected

  • 0 to ≤ 0.23.95affected
pkg:github/mchehab/zbar

References