{"id":"UBUNTU-CVE-2026-88371","details":"ZBar commit 2ea2ca58 contains an undefined-behavior vulnerability in the Code 128 decode6() function. When processing specially crafted Code 128 input, decode_e() can return -1 for an invalid edge pattern, and decode6() subsequently left-shifts this negative signed value while constructing the edge signature. The operation invokes undefined behavior and can terminate trap-mode UBSan builds with SIGILL, resulting in denial of service.","modified":"2026-11-17T04:00:16.834290962Z","published":"2026-09-24T16:17:00Z","upstream":["CVE-2026-88371"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-88371"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-88371"}],"affected":[{"package":{"name":"zbar","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/zbar?arch=source&distro=esm-infra-legacy%2Ftrusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.10+doc-9","0.10+doc-9build1","0.10+doc-9ubuntu0.14.04.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"libbarcode-zbar-perl","binary_version":"0.10+doc-9ubuntu0.14.04.1~esm1"},{"binary_version":"0.10+doc-9ubuntu0.14.04.1~esm1","binary_name":"libzbar0"},{"binary_name":"libzbargtk0","binary_version":"0.10+doc-9ubuntu0.14.04.1~esm1"},{"binary_name":"libzbarqt0","binary_version":"0.10+doc-9ubuntu0.14.04.1~esm1"},{"binary_name":"python-zbar","binary_version":"0.10+doc-9ubuntu0.14.04.1~esm1"},{"binary_name":"python-zbarpygtk","binary_version":"0.10+doc-9ubuntu0.14.04.1~esm1"},{"binary_name":"zbar-tools","binary_version":"0.10+doc-9ubuntu0.14.04.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-88371.json"}},{"package":{"name":"zbar","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/zbar?arch=source&distro=esm-apps%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.10+doc-10build1","0.10+doc-10build2","0.10+doc-10ubuntu1","0.10+doc-10ubuntu1+esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"libbarcode-zbar-perl","binary_version":"0.10+doc-10ubuntu1+esm1"},{"binary_version":"0.10+doc-10ubuntu1+esm1","binary_name":"libzbar0"},{"binary_name":"libzbargtk0","binary_version":"0.10+doc-10ubuntu1+esm1"},{"binary_name":"libzbarqt0","binary_version":"0.10+doc-10ubuntu1+esm1"},{"binary_version":"0.10+doc-10ubuntu1+esm1","binary_name":"python-zbar"},{"binary_name":"python-zbarpygtk","binary_version":"0.10+doc-10ubuntu1+esm1"},{"binary_name":"zbar-tools","binary_version":"0.10+doc-10ubuntu1+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-88371.json"}},{"package":{"name":"zbar","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/zbar?arch=source&distro=esm-apps%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.10+doc-10.1build2","0.10+doc-10.1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.10+doc-10.1ubuntu0.1~esm1","binary_name":"libbarcode-zbar-perl"},{"binary_name":"libzbar0","binary_version":"0.10+doc-10.1ubuntu0.1~esm1"},{"binary_name":"libzbargtk0","binary_version":"0.10+doc-10.1ubuntu0.1~esm1"},{"binary_name":"libzbarqt0","binary_version":"0.10+doc-10.1ubuntu0.1~esm1"},{"binary_version":"0.10+doc-10.1ubuntu0.1~esm1","binary_name":"python-zbar"},{"binary_name":"python-zbarpygtk","binary_version":"0.10+doc-10.1ubuntu0.1~esm1"},{"binary_name":"zbar-tools","binary_version":"0.10+doc-10.1ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-88371.json"}},{"package":{"name":"zbar","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/zbar?arch=source&distro=esm-apps%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.23-1.1","0.23-1.2","0.23-1.3","0.23-1.3ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"libbarcode-zbar-perl","binary_version":"0.23-1.3ubuntu0.1~esm1"},{"binary_version":"0.23-1.3ubuntu0.1~esm1","binary_name":"libzbar0"},{"binary_name":"libzbargtk0","binary_version":"0.23-1.3ubuntu0.1~esm1"},{"binary_name":"libzbarqt0","binary_version":"0.23-1.3ubuntu0.1~esm1"},{"binary_name":"python3-zbar","binary_version":"0.23-1.3ubuntu0.1~esm1"},{"binary_name":"zbar-tools","binary_version":"0.23-1.3ubuntu0.1~esm1"},{"binary_name":"zbarcam-gtk","binary_version":"0.23-1.3ubuntu0.1~esm1"},{"binary_name":"zbarcam-qt","binary_version":"0.23-1.3ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-88371.json"}},{"package":{"name":"zbar","ecosystem":"Ubuntu:Pro:22.04:LTS","purl":"pkg:deb/ubuntu/zbar?arch=source&distro=esm-apps%2Fjammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.23.90-1","0.23.92-4","0.23.92-4build2","0.23.92-4ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"libbarcode-zbar-perl","binary_version":"0.23.92-4ubuntu0.1~esm1"},{"binary_name":"libzbar0","binary_version":"0.23.92-4ubuntu0.1~esm1"},{"binary_version":"0.23.92-4ubuntu0.1~esm1","binary_name":"libzbargtk0"},{"binary_version":"0.23.92-4ubuntu0.1~esm1","binary_name":"libzbarqt0"},{"binary_name":"python3-zbar","binary_version":"0.23.92-4ubuntu0.1~esm1"},{"binary_name":"zbar-tools","binary_version":"0.23.92-4ubuntu0.1~esm1"},{"binary_name":"zbarcam-gtk","binary_version":"0.23.92-4ubuntu0.1~esm1"},{"binary_name":"zbarcam-qt","binary_version":"0.23.92-4ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-88371.json"}},{"package":{"name":"zbar","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/zbar?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.23.92-8","0.23.92-9","0.23.93-1","0.23.93-1build1","0.23.93-4build1","0.23.93-4build2","0.23.93-4build3"],"ecosystem_specific":{"binaries":[{"binary_version":"0.23.93-4build3","binary_name":"gir1.2-zbar-1.0"},{"binary_name":"libbarcode-zbar-perl","binary_version":"0.23.93-4build3"},{"binary_version":"0.23.93-4build3","binary_name":"libzbar0t64"},{"binary_version":"0.23.93-4build3","binary_name":"libzbargtk0t64"},{"binary_name":"libzbarqt0t64","binary_version":"0.23.93-4build3"},{"binary_name":"python3-zbar","binary_version":"0.23.93-4build3"},{"binary_name":"zbar-tools","binary_version":"0.23.93-4build3"},{"binary_name":"zbarcam-gtk","binary_version":"0.23.93-4build3"},{"binary_version":"0.23.93-4build3","binary_name":"zbarcam-qt"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-88371.json"}},{"package":{"name":"zbar","ecosystem":"Ubuntu:26.10","purl":"pkg:deb/ubuntu/zbar?arch=source&distro=stonking"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.23.93-9ubuntu1","0.23.93-9ubuntu2"],"ecosystem_specific":{"binaries":[{"binary_version":"0.23.93-9ubuntu2","binary_name":"gir1.2-zbar-1.0"},{"binary_name":"libbarcode-zbar-perl","binary_version":"0.23.93-9ubuntu2"},{"binary_name":"libzbar0t64","binary_version":"0.23.93-9ubuntu2"},{"binary_name":"libzbargtk0t64","binary_version":"0.23.93-9ubuntu2"},{"binary_name":"libzbarqt0t64","binary_version":"0.23.93-9ubuntu2"},{"binary_name":"python3-zbar","binary_version":"0.23.93-9ubuntu2"},{"binary_name":"zbar-tools","binary_version":"0.23.93-9ubuntu2"},{"binary_version":"0.23.93-9ubuntu2","binary_name":"zbarcam-gtk"},{"binary_version":"0.23.93-9ubuntu2","binary_name":"zbarcam-qt"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-88371.json"}},{"package":{"name":"zbar","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/zbar?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.23.93-8","0.23.93-9ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"gir1.2-zbar-1.0","binary_version":"0.23.93-9ubuntu1"},{"binary_version":"0.23.93-9ubuntu1","binary_name":"libbarcode-zbar-perl"},{"binary_version":"0.23.93-9ubuntu1","binary_name":"libzbar0t64"},{"binary_name":"libzbargtk0t64","binary_version":"0.23.93-9ubuntu1"},{"binary_name":"libzbarqt0t64","binary_version":"0.23.93-9ubuntu1"},{"binary_version":"0.23.93-9ubuntu1","binary_name":"python3-zbar"},{"binary_version":"0.23.93-9ubuntu1","binary_name":"zbar-tools"},{"binary_version":"0.23.93-9ubuntu1","binary_name":"zbarcam-gtk"},{"binary_name":"zbarcam-qt","binary_version":"0.23.93-9ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-88371.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}