CVE-2026-121942

medium

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.

References

https://www.vulncheck.com/advisories/zbar-through-0.23.95-out-of-bounds-read-via-zbar-sq-decode-in-sqcode-c

https://hackmd.io/@haindpwn/zbar-sqcode-sampling-oob-read

https://hackmd.io/@haindpwn/cve-2026-121942-zbar-sqcode-sampling-oob-read

https://github.com/mchehab/zbar/issues/351

https://github.com/mchehab/zbar/blob/0.23.95/zbar/sqcode.c#L529-L567

https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-116899

Details

Source: Mitre, NVD

Published: 2026-11-04

Updated: 2026-11-04

Risk Information

CVSS v2

Base Score: 5.6

Vector: CVSS2#AV:L/AC:L/Au:N/C:P/I:N/A:C

Severity: Medium

CVSS v3

Base Score: 6.1

Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H

Severity: Medium

CVSS v4

Base Score: 6.9

Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N

Severity: Medium

EPSS

EPSS: 0.0024