Heap-based Buffer Overflow Affecting zbar package, versions [0,]


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.52% (66th 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-CONAN-ZBAR-10078568
  • published8 May 2025
  • disclosed29 Aug 2023
  • creditUnknown

Introduced: 29 Aug 2023

CVE-2023-40889  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

There is no fixed version for zbar.

Overview

Affected versions of this package are vulnerable to Heap-based Buffer Overflow via qr_reader_match_centers function in qrdec.c file, which allows an attacker to digitally input the malicious QR code,

References

CVSS Base Scores

version 3.1