| Name | CVE-2017-14040 |
| Description | An invalid write access was discovered in bin/jp2/convert.c in OpenJPEG 2.2.0, triggering a crash in the tgatoimage function. The vulnerability may lead to remote denial of service or possibly unspecified other impact. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DSA-4013-1 |
| Debian Bugs | 874117 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| openjpeg2 (PTS) | bullseye | 2.4.0-3 | fixed |
| bullseye (security) | 2.4.0-3+deb11u1 | fixed | |
| bookworm | 2.5.0-2+deb12u2 | fixed | |
| bookworm (security) | 2.5.0-2+deb12u1 | fixed | |
| trixie | 2.5.3-2.1~deb13u1 | fixed | |
| forky, sid | 2.5.3-2.1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| openjpeg2 | source | jessie | 2.1.0-2+deb8u3 | DSA-4013-1 | ||
| openjpeg2 | source | stretch | 2.1.2-1.1+deb9u2 | DSA-4013-1 | ||
| openjpeg2 | source | (unstable) | 2.3.0-1 | 874117 |
Fixed by: https://github.com/uclouvain/openjpeg/commit/2cd30c2b06ce332dede81cccad8b334cde997281
Reproducer: https://blogs.gentoo.org/ago/2017/08/28/openjpeg-invalid-memory-write-in-tgatoimage-convert-c/
https://github.com/uclouvain/openjpeg/issues/995