{"id":"CVE-2023-40889","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.","aliases":["GHSA-mhp6-jvpx-2p4m","PYSEC-2026-576"],"modified":"2026-08-12T03:51:16.099532590Z","published":"2023-08-29T00:00:00Z","related":["SUSE-SU-2023:4948-1","openSUSE-SU-2024:13525-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/40xxx/CVE-2023-40889.json","cna_assigner":"mitre"},"references":[{"type":"WEB","url":"https://hackmd.io/%40cspl/B1ZkFZv23"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DC7V5YCLCPB36J2KY6WLZCABFLBRB665/"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/40xxx/CVE-2023-40889.json"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/25LZZQJGGZRPLKTRNRNOTAFQJIPS7WRP/"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DC7V5YCLCPB36J2KY6WLZCABFLBRB665/"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-40889"},{"type":"ARTICLE","url":"https://lists.debian.org/debian-lts-announce/2023/12/msg00001.html"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/mchehab/zbar","events":[{"introduced":"24e9739746b6f5bf2bca15ccdb47210a76153a77"},{"last_affected":"24e9739746b6f5bf2bca15ccdb47210a76153a77"}],"database_specific":{"cpe":"cpe:2.3:a:zbar_project:zbar:0.23.90:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0.23.90"},{"last_affected":"0.23.90"}],"source":"CPE_STRING"}}],"versions":["0.23.90"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-40889.json"}}],"schema_version":"1.9.0"}