Skip to content
OpenAdvisories
Medium · 6.1 CVE-2026-121942 EUVD-2026-116899GHSA-mcxw-xh39-2qjq

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

Published Nov 4, 2026 · Updated Nov 4, 2026 · Assigned by VulnCheck

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

VendorProductAffectedFixed
mchehab zbar ≤ 0.23.95 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 zbar No fix yet —
Debian 13 zbar No fix yet —
Debian 12 zbar No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 zbar No fix yet —
Ubuntu 26.04 LTS zbar No fix yet —
Ubuntu 24.04 LTS zbar No fix yet —
Ubuntu 14.04 LTS zbar No fix yet —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 22.04 LTS zbar No fix yet —
Ubuntu Pro 20.04 LTS zbar No fix yet —
Ubuntu Pro 18.04 LTS zbar No fix yet —
Ubuntu Pro 16.04 LTS zbar No fix yet —

References