CVE-2026-121942 ZBar through 0.23.95 Out-of-Bounds Read via _zbar_sq_decode() in sqcode.c
MediumCVSS 6.9
EPSS 0.24%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
- Technology
- UbuntuDebian
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.
Upgrade path
8 packages: 1 fixed, 7 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/zbar(Debian 12) | = 0.23.92-7; = 0.23.92-7+deb12u1; = 0.23.92-8; = 0.23.92-9 +15 more | No fix listed | No fix yet |
| debian/zbar(Debian 13) | = 0.23.93-8; = 0.23.93-9; = 0.23.93-10; = 0.23.95-1 +2 more | No fix listed | No fix yet |
| debian/zbar(Debian 14) | = 0.23.93-8; = 0.23.93-9; = 0.23.93-10; = 0.23.95-1 +2 more | No fix listed | No fix yet |
| ubuntu/zbar(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/zbar(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/zbar(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/zbar(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| mchehab/zbar | <= 0.23.95 | after 0.23.95 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| mchehab/zbar | <= 0.23.95 | No fix listed |
| debian/zbar(Debian:12) | All versions | No fix listed |
| debian/zbar(Debian:12) | = 0.23.92-7 | No fix listed |
| debian/zbar(Debian:12) | = 0.23.92-7+deb12u1 | No fix listed |
| debian/zbar(Debian:12) | = 0.23.92-8 | No fix listed |
| debian/zbar(Debian:12) | = 0.23.92-9 | No fix listed |
| debian/zbar(Debian:12) | = 0.23.93-1 | No fix listed |
| debian/zbar(Debian:12) | = 0.23.93-1.1 | No fix listed |
| debian/zbar(Debian:12) | = 0.23.93-1.1~exp1 | No fix listed |
| debian/zbar(Debian:12) | = 0.23.93-10 | No fix listed |
| debian/zbar(Debian:12) | = 0.23.93-2 | No fix listed |
| debian/zbar(Debian:12) | = 0.23.93-3 | No fix listed |
| debian/zbar(Debian:12) | = 0.23.93-4 | No fix listed |
| debian/zbar(Debian:12) | = 0.23.93-5 | No fix listed |
| debian/zbar(Debian:12) | = 0.23.93-6 | No fix listed |
| debian/zbar(Debian:12) | = 0.23.93-7 | No fix listed |
| debian/zbar(Debian:12) | = 0.23.93-8 | No fix listed |
| debian/zbar(Debian:12) | = 0.23.93-9 | No fix listed |
| debian/zbar(Debian:12) | = 0.23.95-1 | No fix listed |
| debian/zbar(Debian:12) | = 0.23.95-2 | No fix listed |
| debian/zbar(Debian:13) | All versions | No fix listed |
| debian/zbar(Debian:13) | = 0.23.93-10 | No fix listed |
| debian/zbar(Debian:13) | = 0.23.93-8 | No fix listed |
| debian/zbar(Debian:13) | = 0.23.93-9 | No fix listed |
| debian/zbar(Debian:13) | = 0.23.95-1 | No fix listed |
Show 11 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/zbar(Debian:13) | = 0.23.95-2 | No fix listed |
| debian/zbar(Debian:14) | All versions | No fix listed |
| debian/zbar(Debian:14) | = 0.23.93-10 | No fix listed |
| debian/zbar(Debian:14) | = 0.23.93-8 | No fix listed |
| debian/zbar(Debian:14) | = 0.23.93-9 | No fix listed |
| debian/zbar(Debian:14) | = 0.23.95-1 | No fix listed |
| debian/zbar(Debian:14) | = 0.23.95-2 | No fix listed |
| ubuntu/zbar(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/zbar(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/zbar(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/zbar(Ubuntu:26.10) | All versions | No fix listed |
References
- github.com issue-tracking
- hackmd.io third-party-advisory
- github.com technical-description
- VulnCheck Advisory: ZBar through 0.23.95 Out-of-Bounds Read via _zbar_sq_decode() in sqcode.c third-party-advisory
- hackmd.io exploit
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2566872 issue-tracking
- www.cve.org
- nvd.nist.gov
- Debian Security Tracker CVE-2026-121942 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- bugs.debian.org issue-tracking
- ENISA EUVD EUVD-2026-116899 third-party-advisory