{"id":"CVE-2026-121942","aliases":["CVE-2026-121942"],"related":[],"kind":"vulnerability","state":"published","title":"ZBar through 0.23.95 Out-of-Bounds Read via _zbar_sq_decode() in sqcode.c","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-11-04T12:31:20.522Z","modified":"2026-11-04T19:17:34.460Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","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","score":6.9,"rating":"MEDIUM"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","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","score":6.9,"rating":"MEDIUM"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H","score":6.1,"rating":"MEDIUM"}],"cwes":["CWE-125"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"0.23.95","status":"affected"}],"vendor":"mchehab","product":"zbar","repo":"https://github.com/mchehab/zbar","source":"cvelist"}],"references":[{"url":"https://github.com/mchehab/zbar/issues/351","tags":["issue-tracking"],"sources":["cvelist","nvd"]},{"url":"https://hackmd.io/@haindpwn/zbar-sqcode-sampling-oob-read","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/mchehab/zbar/blob/0.23.95/zbar/sqcode.c#L529-L567","tags":["technical-description"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/zbar-through-0.23.95-out-of-bounds-read-via-zbar-sq-decode-in-sqcode-c","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://hackmd.io/@haindpwn/cve-2026-121942-zbar-sqcode-sampling-oob-read","tags":["exploit"],"sources":["cvelist","nvd"]}],"credits":["HaiND from the Post and Telecommunication Institute of Technology"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-11-04T18:52:37.472Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-121942","url":"https://www.cve.org/CVERecord?id=CVE-2026-121942","licence":"CVE Terms of Use","modified":"2026-11-04T18:53:01.719Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-121942","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-121942","licence":"Public domain","modified":"2026-11-04T19:17:34.460Z"}],"updatedAt":"2026-11-25T22:59:48.998Z","epss":{"score":0.00237,"percentile":0.1576,"date":"2026-12-01T12:00:22.000Z"}}