Skip to content
OpenAdvisories
Critical USN-7118-1 2 CVEs

zbar vulnerabilities

Published Nov 21, 2024 · Updated Jun 25, 2026

Summary

It was discovered that ZBar did not properly handle certain QR codes. If a
user or automated system using ZBar were tricked into opening a specially
crafted file, an attacker could possibly use this to obtain sensitive
information. (CVE-2023-40889)

It was discovered that ZBar did not properly handle certain QR codes. If a
user or automated system using ZBar were tricked into opening a specially
crafted file, an attacker could possibly use this to obtain sensitive
information. This issue only affected Ubuntu 20.04 LTS, and Ubuntu 22.04
LTS. (CVE-2023-40890)

Fixed packages 4

ReleasePackageFixed in
Ubuntu · Pro 16.04 LTS Pro:16.04:LTS zbar 0.10+doc-10ubuntu1+esm1
Ubuntu · Pro 18.04 LTS Pro:18.04:LTS zbar 0.10+doc-10.1ubuntu0.1~esm1
Ubuntu · Pro 20.04 LTS Pro:20.04:LTS zbar 0.23-1.3ubuntu0.1~esm1
Ubuntu · Pro 22.04 LTS Pro:22.04:LTS zbar 0.23.92-4ubuntu0.1~esm1

Vulnerabilities 2

  • Critical 9.8

    Heap-based buffer overflow in ZBar

    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 mali…

  • Critical 9.8

    A stack-based buffer overflow vulnerability exists in the lookup_sequence function of ZBar 0.23.90. Specially crafted Q…

References

  • report
    https://ubuntu.com/security/CVE-2023-40889
  • report
    https://ubuntu.com/security/CVE-2023-40890