cvelo
P3 · MediumCVSS 6.1EPSS 0.2%

ZBar through 0.23.95 Out-of-Bounds Read via _zbar_sq_decode() in sqcode.c

  • CVE-2026-121942
  • GHSA-mcxw-xh39-2qjq
  • 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.

Text from the CVE.org record.

Recommendation

No source states a fixed version. Check the vendor advisory.

Affected

  • mchehab zbar

    Affected versionsFixed in
    up to 0.23.95none stated

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.