CVE-2023-40889
Python vulnerability analysis and mitigation

Overview

A heap-based buffer overflow vulnerability (CVE-2023-40889) was discovered in the qrreadermatch_centers function of ZBar version 0.23.90. This vulnerability affects the ZBar barcode and QR code scanning software suite, which is used for reading barcodes from various sources including video streams, image files, and raw intensity sensors (NVD, Ubuntu).

Technical details

The vulnerability exists specifically in the qrreadermatch_centers function of ZBar 0.23.90. The heap-based buffer overflow can be triggered when processing specially crafted QR codes. The vulnerability has been assigned a CVSS v3.1 base score of 9.8 (Critical) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H, indicating high severity across confidentiality, integrity, and availability impacts (NVD).

Impact

If successfully exploited, this vulnerability could lead to information disclosure and/or arbitrary code execution on affected systems. The high CVSS score indicates severe potential impacts on system security, with possible complete compromise of system confidentiality, integrity, and availability (NVD, Ubuntu).

Mitigation and workarounds

Multiple Linux distributions have released security updates to address this vulnerability. Ubuntu has released fixes for versions 22.04 LTS (0.23.92-4ubuntu0.1~esm1), 20.04 LTS (0.23-1.3ubuntu0.1~esm1), 18.04 LTS (0.10+doc-10.1ubuntu0.1~esm1), and 16.04 LTS (0.10+doc-10ubuntu1+esm1). Fedora has updated to version 0.23.93-1 in both Fedora 38 and 39. Users are strongly advised to update their ZBar installations to the latest patched versions (Ubuntu Notice, Fedora Update).

Additional resources


SourceThis report was generated using AI

Related Python vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-66423HIGH7.1
  • PythonPython
  • tryton-server
NoYesNov 30, 2025
CVE-2025-66454MEDIUM6.5
  • PythonPython
  • arcade-mcp-server
NoYesDec 02, 2025
CVE-2025-66424MEDIUM6.5
  • PythonPython
  • trytond
NoYesNov 30, 2025
CVE-2025-66422MEDIUM4.3
  • PythonPython
  • tryton-server
NoYesNov 30, 2025
CVE-2025-65858LOW3.5
  • PythonPython
  • calibreweb
NoNoDec 02, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management