Advisory

GHSA-mhp6-jvpx-2p4m

Also known as: CVE-2023-40889, PYSEC-2026-576

Summary

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.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2023-08-29 18:31 UTC
Modified
2026-06-29 12:26 UTC

Affected packages and fixes

zbar

PyPI · All systems

Affected

  • introduced 0, last affected 0.23.90 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences