Out-of-bounds Write Affecting zbar package, versions <0.23.92-7+deb12u1


Severity

Recommended
0.0
critical
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
1.95% (79th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ECHOLATEST-ZBAR-20059669
  • published23 Sept 2026
  • disclosed29 Aug 2023

Introduced: 29 Aug 2023

CVE-2023-40890  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade Echo:latest zbar to version 0.23.92-7+deb12u1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream zbar package and not the zbar package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

A stack-based buffer overflow vulnerability exists in the lookup_sequence 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.

CVSS Base Scores

version 3.1