Vulnerability

CVE-2026-121942

mediumCVSS 4.0 6.9Published 4 Nov 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /mchehab/zbar/blob/0.23.95/zbar/sqcode.c
  • github.com /mchehab/zbar/issues/351
  • hackmd.io /@haindpwn/zbar-sqcode-sampling-oob-read
  • www.vulncheck.com /advisories/zbar-through-0.23.95-out-of-bounds-read-via-zba…
  • hackmd.io /@haindpwn/cve-2026-121942-zbar-sqcode-sampling-oob-read

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning