Vulnerability · Published Aug 29, 2023 · Assigned by mitre

CVE-2023-40890

Critical 9.8

In plain English

A critical-severity out-of-bounds write in the zbar package (Alpine). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.9% (higher than 80% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)9.8Critical
Exploit odds (30 days)1.9%top 19.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20zbar0.23.93-r0ALPINE-CVE-2023-40890
Alpine:v3.21zbar0.23.93-r0ALPINE-CVE-2023-40890
Alpine:v3.22zbar0.23.93-r0ALPINE-CVE-2023-40890
Alpine:v3.23zbar0.23.93-r0ALPINE-CVE-2023-40890
Alpine:v3.24zbar0.23.93-r0ALPINE-CVE-2023-40890
Debian:12zbar0.23.92-7+deb12u1DEBIAN-CVE-2023-40890
Debian:12zbar0.23.92-7+deb12u1DSA-5614-1
Debian:13zbar0.23.92-9DEBIAN-CVE-2023-40890
Debian:14zbar0.23.92-9DEBIAN-CVE-2023-40890
Ubuntu:25.10zbarno fix listedUBUNTU-CVE-2023-40890
Ubuntu:26.04:LTSzbarno fix listedUBUNTU-CVE-2023-40890
Ubuntu:26.10zbarno fix listedUBUNTU-CVE-2023-40890

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

Weakness: CWE-787 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References