Description
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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | zbar | 0.23.95-1 | — |
| Debian 13 | zbar | No fix yet | — |
| Debian 12 | zbar | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | zbar | No fix yet | — |
| Ubuntu 26.04 LTS | zbar | No fix yet | — |
| Ubuntu 24.04 LTS | zbar | No fix yet | — |
| Ubuntu 14.04 LTS | zbar | No fix yet | — |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 22.04 LTS | zbar | No fix yet | — |
| Ubuntu Pro 20.04 LTS | zbar | No fix yet | — |
| Ubuntu Pro 18.04 LTS | zbar | No fix yet | — |
| Ubuntu Pro 16.04 LTS | zbar | No fix yet | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | zbar | 0.23.95-2.1 | openSUSE-SU-2026:12146-1 |
Advisories 1
- openSUSE-SU-2026:12146-1 libzbar-devel-0.23.95-2.1 on GA media SUSE / openSUSE Security Updates · Oct 16, 2026