Vulnerabilities / CVE-2023-40890

critical

CVE-2023-40890

A stack-based buffer overflow vulnerability exists in the lookup_seque ...

Published Modified CWE 787
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Amazon (medium), Ubuntu (medium).

Description

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.

Affected packages and fixed versions

SourcePackageFixed in
alpine 3.19zbar0.23.93-r0
alpine 3.20zbar0.23.93-r0
alpine 3.21zbar0.23.93-r0
alpine 3.22zbar0.23.93-r0
alpine 3.23zbar0.23.93-r0
alpine 3.24zbar0.23.93-r0
alpine edgezbar0.23.93-r0
amazon linux 1zbar, zbar-debuginfo, zbar-devel0.10-19.3.amzn1
debian 10zbar0.22-1+deb10u1
debian 11zbar0.23.90-1+deb11u1
debian 12zbar0.23.92-7+deb12u1
debian 13zbar0.23.92-9
Show all 18 entries from 16 sources
SourcePackageFixed in
alpine 3.19zbar0.23.93-r0
alpine 3.20zbar0.23.93-r0
alpine 3.21zbar0.23.93-r0
alpine 3.22zbar0.23.93-r0
alpine 3.23zbar0.23.93-r0
alpine 3.24zbar0.23.93-r0
alpine edgezbar0.23.93-r0
amazon linux 1zbar0.10-19.3.amzn1
amazon linux 1zbar-debuginfo0.10-19.3.amzn1
amazon linux 1zbar-devel0.10-19.3.amzn1
debian 10zbar0.22-1+deb10u1
debian 11zbar0.23.90-1+deb11u1
debian 12zbar0.23.92-7+deb12u1
debian 13zbar0.23.92-9
debian 14zbar0.23.92-9
echozbar0.23.92-7+deb12u1
ubuntu 20.04-ESMzbar0.23-1.3ubuntu0.1~esm1
ubuntu 22.04zbarno fix listed

References

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.