{"id":"CVE-2026-121942","aliases":["DEBIAN-CVE-2026-121942","EUVD-2026-116899","GHSA-mcxw-xh39-2qjq","UBUNTU-CVE-2026-121942"],"status":"published","title":"ZBar through 0.23.95 Out-of-Bounds Read via _zbar_sq_decode() in sqcode.c","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.","severity":{"version":"4.0","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","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-12","score":0.0024,"percentile":0.15264,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-125"],"published":"2026-11-04T00:00:00Z","modified":"2026-11-06T20:00:08Z","affected":[{"source":"osv","ecosystem":"Debian:12","package":"zbar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.23.92-7","0.23.92-7+deb12u1","0.23.92-8","0.23.92-9","0.23.93-1","0.23.93-1.1","0.23.93-1.1~exp1","0.23.93-10","0.23.93-2","0.23.93-3","0.23.93-4","0.23.93-5","0.23.93-6","0.23.93-7","0.23.93-8","0.23.93-9","0.23.95-1","0.23.95-2"]},{"source":"osv","ecosystem":"Debian:13","package":"zbar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.23.93-10","0.23.93-8","0.23.93-9","0.23.95-1","0.23.95-2"]},{"source":"osv","ecosystem":"Debian:14","package":"zbar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.23.93-10","0.23.93-8","0.23.93-9","0.23.95-1","0.23.95-2"]},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"zbar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.10+doc-9","0.10+doc-9build1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"zbar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.10+doc-10build1","0.10+doc-10build2","0.10+doc-10ubuntu1","0.10+doc-10ubuntu1+esm1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"zbar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.10+doc-10.1build2","0.10+doc-10.1ubuntu0.1~esm1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"zbar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.23-1.1","0.23-1.2","0.23-1.3","0.23-1.3ubuntu0.1~esm1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:22.04:LTS","package":"zbar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.23.90-1","0.23.92-4","0.23.92-4build2","0.23.92-4ubuntu0.1~esm1"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"zbar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.23.92-8","0.23.92-9","0.23.93-1","0.23.93-1build1","0.23.93-4build1","0.23.93-4build2","0.23.93-4build3"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"zbar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.23.93-9ubuntu1","0.23.93-9ubuntu2"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"zbar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.23.93-8","0.23.93-9ubuntu1"]}],"products":[{"vendor":"mchehab","product":"zbar"}],"references":[{"url":"https://github.com/mchehab/zbar/issues/351","tags":["issue-tracking","report"]},{"url":"https://hackmd.io/@haindpwn/zbar-sqcode-sampling-oob-read","tags":["third-party-advisory","advisory"]},{"url":"https://github.com/mchehab/zbar/blob/0.23.95/zbar/sqcode.c#L529-L567","tags":["technical-description","article"]},{"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","advisory"]},{"url":"https://hackmd.io/@haindpwn/cve-2026-121942-zbar-sqcode-sampling-oob-read","tags":["exploit","evidence"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-121942","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-mcxw-xh39-2qjq"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/121xxx/CVE-2026-121942.json","tags":["advisory"]},{"url":"https://github.com/mchehab/zbar","tags":["package"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-121942","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-121942","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-121942","tags":["report"]},{"url":"github.com/mchehab/zbar","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2026-121942","title":"ZBar through 0.23.95 Out-of-Bounds Read via _zbar_sq_decode() in sqcode.c","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.","status":"published","published":"2026-11-04T12:31:20.522Z","modified":"2026-11-04T18:53:01.719Z","cvss":[{"version":"4.0","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","level":"medium","assessor":"cna"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H","level":"medium","assessor":"cna"}],"cwes":["CWE-125"],"updated_at":"2026-11-04T19:37:11.952963Z"}],"euvd":[{"id":"EUVD-2026-116899","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.","status":"published","published":"2026-11-04T12:31:20Z","modified":"2026-11-04T18:53:01Z","cvss":[{"version":"4.0","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","level":"medium"}],"updated_at":"2026-11-04T20:13:45.839046Z"}],"ghsa":[{"id":"GHSA-mcxw-xh39-2qjq","title":"ZBar through 0.23.95 contains an out-of-bounds read vulnerability in _zbar_sq_decode() in zbar...","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.","status":"published","published":"2026-11-04T15:32:30Z","modified":"2026-11-04T21:33:31Z","cvss":[{"version":"4.0","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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"medium"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H","level":"medium"}],"cwes":["CWE-125"],"updated_at":"2026-11-04T21:42:47.217871Z"}],"nvd":[{"id":"CVE-2026-121942","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.","status":"published","published":"2026-11-04T13:17:28.74Z","modified":"2026-11-04T19:17:34.46Z","cvss":[{"version":"4.0","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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"medium","assessor":"secondary"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H","level":"medium","assessor":"secondary"}],"cwes":["CWE-125"],"updated_at":"2026-11-04T21:42:34.71458Z"}],"osv":[{"id":"CVE-2026-121942","title":"ZBar through 0.23.95 Out-of-Bounds Read via _zbar_sq_decode() in sqcode.c","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.","status":"published","published":"2026-11-04T12:31:20.522Z","modified":"2026-11-05T21:32:22.374452604Z","cvss":[{"version":"4.0","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","level":"medium"}],"cwes":["CWE-125"],"updated_at":"2026-11-05T22:00:34.245765Z"},{"id":"DEBIAN-CVE-2026-121942","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.","status":"published","published":"2026-11-04T13:17:28.74Z","modified":"2026-11-06T20:00:08.655958439Z","cvss":[{"version":"4.0","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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"medium"}],"updated_at":"2026-11-06T20:07:08.647364Z"},{"id":"UBUNTU-CVE-2026-121942","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.","status":"published","published":"2026-11-04T00:00:00Z","modified":"2026-11-06T01:00:07.732434306Z","cvss":[{"version":"4.0","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","level":"medium"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H","level":"medium"},{"version":"4.0","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","level":"medium"}],"updated_at":"2026-11-06T01:33:11.614208Z"}]}}
