Heap-based Buffer Overflow in ZBar QR Code Reader

Heap-based Buffer Overflow in ZBar QR Code Reader

CVE-2023-40889 · CRITICAL Severity

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

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.

Learn more about our Physical Security Assessment.