Description
Heap Buffer Overflow (WRITE of size 4) in function pnmtoimage of convert.c:1719 in OpenJPEG 2.1.2.
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 | openjpeg2 | 2.1.2-1.2 | — |
| Debian 13 | openjpeg2 | 2.1.2-1.2 | — |
| Debian 12 | openjpeg2 | 2.1.2-1.2 | — |
| Debian 9 | openjpeg2 | 2.1.2-1.1+deb9u2 | DSA-4013-1 |
| Debian 8 | openjpeg2 | 2.1.0-2+deb8u3 | DSA-4013-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | openjpeg2 | 2.1.2-1.1+deb9u2build0.1 | — |
| Ubuntu 14.04 LTS | openjpeg | No fix yet | — |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 16.04 LTS | openjpeg | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP2 | openjpeg2 | 2.1.0-3.1 | SUSE-SU-2016:3270-1 |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 12 SP2 | openjpeg2 | 2.1.0-3.1 | SUSE-SU-2016:3270-1 |
| SUSE Package Hub 12 SP1 | openjpeg2 | 2.1.0-6.1 | openSUSE-SU-2017:2567-1 |
| SUSE Package Hub 12 | openjpeg2 | 2.1.0-6.1 | openSUSE-SU-2017:2567-1 |
Advisories 3
- DSA-4013-1 openjpeg2 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2016:3270-1 Security update for openjpeg2 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2017:2567-1 Security update for openjpeg2 SUSE / openSUSE Security Updates · Feb 4, 2026
References
- GLSA-201710-26 vendor-advisory
- https://github.com/uclouvain/openjpeg/issues/861
- DSA-4013 vendor-advisory
- 93976 vdb-entry