Description
Leptonica before 1.80.0 allows a heap-based buffer over-read in pixFewColorsOctcubeQuantMixed in colorquant1.c.
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 | leptonlib | 1.79.0-1.1 | — |
| Debian 13 | leptonlib | 1.79.0-1.1 | — |
| Debian 12 | leptonlib | 1.79.0-1.1 | — |
| Debian 9 | leptonlib | 1.74.1-1+deb9u1 | DLA-2612-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | leptonlib | No fix yet | — |
| Ubuntu 20.04 LTS | leptonlib | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 18.04 LTS | leptonlib | No fix yet | — |
| Ubuntu Pro 16.04 LTS | leptonlib | No fix yet | — |
| Ubuntu Pro 14.04 LTS | leptonlib | No fix yet | — |
Advisories 1
- DLA-2612-1 leptonlib - security update Debian Security (DSA / DLA) · Mar 9, 2026
References
- https://github.com/DanBloomberg/leptonica/compare/1.79.0...1.80.0
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=22140
- https://github.com/DanBloomberg/leptonica/commit/5ee24b398bb67666f6d173763eaaedd9c36fb1e5
- [debian-lts-announce] 20210331 [SECURITY] [DLA 2612-1] leptonlib security update mailing-list
- FEDORA-2021-977ebc82da vendor-advisory
- FEDORA-2021-f5f2803fff vendor-advisory
- GLSA-202107-53 vendor-advisory