CVE-2023-40889: Buffer Overflow

Published Aug 29, 2023
·
Updated

A heap-based buffer overflow exists in the qrreadermatchcenters 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 Software

3 affected componentsFixes available
pip/zbar<=0.23.90
debian/zbar
0.23.90-1+deb11u10.23.92-7+deb12u10.23.93-50.23.93-6
Zbar Project Zbar=0.23.90

Remediation

Event History

Aug 29, 2023
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·05:15 PM
DescriptionSeverityWeaknessAffected Software
Advisory Published
via GitHub·06:31 PM
Nov 21, 2024
Data Sourced
via Launchpad·02:36 PM
Description
Nov 25, 2024
Data Sourced
via Ubuntu·02:36 PM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2023-40889?

CVE-2023-40889 is considered high severity due to its potential for triggering a heap-based buffer overflow leading to information disclosure and arbitrary code execution.

2

How do I fix CVE-2023-40889?

To fix CVE-2023-40889, upgrade ZBar to versions 0.23.90-1+deb11u1, 0.23.92-7+deb12u1, 0.23.93-5, or 0.23.93-6.

3

What software is affected by CVE-2023-40889?

CVE-2023-40889 affects ZBar version 0.23.90, which is available through packages on pip and Debian repositories.

4

What types of attacks can exploit CVE-2023-40889?

CVE-2023-40889 can be exploited through specially crafted QR codes, which when scanned, may lead to an overflow and execution of arbitrary code.

5

Is it possible to mitigate CVE-2023-40889 without a software update?

Mitigation options without software updates are limited, but you can limit exposure by controlling the input of QR codes from untrusted sources.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203