ADVISORIES

PyPA Advisory Database

PYSEC-2026-576

Heap-based buffer overflow in ZBar

Details

A heap-based buffer overflow exists in the qr_reader_match_centers function of ZBar 0.23.90. Specially crafted QR codes may lead to information disclosure and/or arbitrary code execution. To trigger this vulnerability, an attacker can digitally input the malicious QR code, or prepare it to be physically scanned by the vulnerable scanner.

Affected packages

EcosystemPackageAffected versions
PyPIzbar
All versions up to and including 0.23.90

References