Stack-based buffer overflow in zbar - CVE-2023-40890
Published: December 5, 2023
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error within the lookup_sequence() function. A remote attacker can trick the victim to scan a specially crafted barcode, trigger a stack-based buffer overflow and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Affected software
Amazon Linux AMI
Debian Linux
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Micro
Desktop Applications Module
SUSE Package Hub 15
openSUSE Leap
Ubuntu
openEuler
Fedora
libzbar0 (Ubuntu package)
zbar
zbar-devel
zbar-gtk-devel
zbar-qt-devel
zbar-qt
zbar-debuginfo
zbar-gtk
zbar-debugsource
libzbarqt0
libzbarqt0-64bit
libzbar0-64bit-debuginfo
libzbarqt0-64bit-debuginfo
libzbarqt0-32bit-debuginfo
libzbarqt0-debuginfo
libzbarqt-devel
libzbar0
libzbar-devel
libzbar0-debuginfo
libzbarqt0-32bit
libzbar0-64bit
libzbar0-32bit-debuginfo
libzbar0-32bit
zbar (Debian package)
zbar-libs
python3-zbar
How to mitigate CVE-2023-40890
libzbar0 (Ubuntu package) - update to Ubuntu Pro
zbar - update to 0.10-19.3
zbar-devel - addressed in versions 0.22-5, 0.23.93-1
zbar-gtk-devel - addressed in versions 0.22-5, 0.23.93-1
zbar-qt-devel - addressed in versions 0.22-5, 0.23.93-1
zbar-qt - addressed in versions 0.22-5, 0.23.93-1
zbar-debuginfo - addressed in versions 0.22-5, 0.23.93-1
zbar-gtk - addressed in versions 0.22-5, 0.23.93-1
zbar-debugsource - addressed in versions 0.22-5, 0.23.93-1
zbar - addressed in versions 0.22-5, 0.23.93-1
libzbarqt0 - update to 0.23.1-150300.3.3.1
libzbarqt0-64bit - update to 0.23.1-150300.3.3.1
libzbar0-64bit-debuginfo - update to 0.23.1-150300.3.3.1
libzbarqt0-64bit-debuginfo - update to 0.23.1-150300.3.3.1
libzbarqt0-32bit-debuginfo - update to 0.23.1-150300.3.3.1
libzbarqt0-debuginfo - update to 0.23.1-150300.3.3.1
zbar-debuginfo - update to 0.23.1-150300.3.3.1
libzbarqt-devel - update to 0.23.1-150300.3.3.1
zbar - update to 0.23.1-150300.3.3.1
libzbar0 - update to 0.23.1-150300.3.3.1
zbar-debugsource - update to 0.23.1-150300.3.3.1
libzbar-devel - update to 0.23.1-150300.3.3.1
libzbar0-debuginfo - update to 0.23.1-150300.3.3.1
libzbarqt0-32bit - update to 0.23.1-150300.3.3.1
libzbar0-64bit - update to 0.23.1-150300.3.3.1
libzbar0-32bit-debuginfo - update to 0.23.1-150300.3.3.1
libzbar0-32bit - update to 0.23.1-150300.3.3.1
zbar (Debian package) - addressed in versions 0.23.90-1+deb11u1, 0.23.92-7+deb12u1
zbar-libs - update to 0.23.93-1
python3-zbar - update to 0.23.93-1
zbar - addressed in versions 0.23.93-1.fc38, 0.23.93-1.fc39
External References
Related Security Bulletins
- Multiple vulnerabilities in ZBar
- Amazon Linux AMI update for zbar
- SUSE update for zbar
- Fedora 39 update for zbar
- Fedora 38 update for zbar
- openEuler 22.03 LTS SP2 update for zbar
- openEuler 22.03 LTS SP3 update for zbar
- openEuler 22.03 LTS update for zbar
- openEuler 22.03 LTS SP1 update for zbar
- Debian update for zbar
- Ubuntu update for zbar