ZBar heap data exposure in SQ code decoding
mchehab zbar
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| mchehab zbar |
| No fix yet |
Original 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.
From the CVE record · VulnCheck