Name | CVE-2017-14041 |
Description | A stack-based buffer overflow was discovered in the pgxtoimage function in bin/jp2/convert.c in OpenJPEG 2.2.0. The vulnerability causes an out-of-bounds write, which may lead to remote denial of service or possibly remote code execution. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DSA-4013-1 |
Debian Bugs | 874115 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
openjpeg2 (PTS) | jessie, jessie (lts) | 2.1.0-2+deb8u14 | fixed |
| stretch (security), stretch (lts), stretch | 2.1.2-1.1+deb9u7 | fixed |
| buster (security), buster, buster (lts) | 2.3.0-2+deb10u2 | fixed |
| bullseye | 2.4.0-3 | fixed |
| sid, trixie, bookworm | 2.5.0-2 | fixed |
The information below is based on the following data on fixed versions.
Notes
Fixed by: https://github.com/uclouvain/openjpeg/commit/e5285319229a5d77bf316bb0d3a6cbd3cb8666d9
Reproducer: https://blogs.gentoo.org/ago/2017/08/28/openjpeg-stack-based-buffer-overflow-write-in-pgxtoimage-convert-c/
https://github.com/uclouvain/openjpeg/issues/997