Description
An issue was discovered in Leptonica through 1.75.3. The gplotMakeOutput function allows command injection via a $(command) approach in the gplot rootname argument. This issue exists because of an incomplete fix for CVE-2018-3836.
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.75.3-3 | — |
| Debian 13 | leptonlib | 1.75.3-3 | — |
| Debian 12 | leptonlib | 1.75.3-3 | — |
| Debian 7 | leptonlib | 1.69-3.1+deb7u2 | DLA-1302-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | leptonlib | 1.75.3-3 | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | leptonica | 1.80.0-1.9 | openSUSE-SU-2024:10914-1 |
Advisories 2
- DLA-1302-1 leptonlib - security update Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2024:10914-1 leptonica-devel-1.80.0-1.9 on GA media SUSE / openSUSE Security Updates · May 7, 2025