Description
ean_leading_zeroes in backend/upcean.c in Zint Barcode Generator 2.9.1 has a stack-based buffer overflow that is reachable from the C API through an application that includes the Zint Barcode Generator library code.
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 | zint | 2.9.1-1.1 | — |
| Debian 13 | zint | 2.9.1-1.1 | — |
| Debian 12 | zint | 2.9.1-1.1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | zint | No fix yet | — |
| Ubuntu 26.04 LTS | zint | No fix yet | — |
| Ubuntu 25.10 | zint | No fix yet | — |
| Ubuntu 24.04 LTS | zint | No fix yet | — |
| Ubuntu 22.04 LTS | zint | No fix yet | — |