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

Medium 6.9 Published Updated
Exploited in the wild
Not known
Fix
None listed

What is CVE-2026-121942?

CVE-2026-121942 is a medium-severity vulnerability in mchehab zbar, published on 4 Nov 2026.

Official 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.

Weakness: CWE-125

Which versions are affected by CVE-2026-121942?

How do I fix CVE-2026-121942?

No fix has been published for CVE-2026-121942 yet. Limit exposure of the affected software until one is available.

Is CVE-2026-121942 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-121942 exists.

Sources

Also known as DEBIAN-CVE-2026-121942, ECHO-602a-474e-847a, GHSA-mcxw-xh39-2qjq, UBUNTU-CVE-2026-121942.

Is CVE-2026-121942 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free