Vulnerability · Published Nov 4, 2026 · Assigned by VulnCheck

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

Medium 6.1

In plain English

A medium-severity out-of-bounds read in zbar from mchehab. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 15% of all known vulnerabilities).

Severity (CVSS 3.1)6.1Medium
Exploit odds (30 days)0.2%top 84.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12zbarno fix listedDEBIAN-CVE-2026-121942
Debian:13zbarno fix listedDEBIAN-CVE-2026-121942
Debian:14zbarno fix listedDEBIAN-CVE-2026-121942
Ubuntu:24.04:LTSzbarno fix listedUBUNTU-CVE-2026-121942
Ubuntu:26.04:LTSzbarno fix listedUBUNTU-CVE-2026-121942
Ubuntu:26.10zbarno fix listedUBUNTU-CVE-2026-121942

Affected products (as reported)

VendorProductVersions
mchehab zbar 0 – through 0.23.95

Weakness: CWE-125 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H

References