Name | CVE-2017-14039 |
Description | A heap-based buffer overflow was discovered in the opj_t2_encode_packet function in lib/openjp2/t2.c in OpenJPEG 2.2.0. The vulnerability causes an out-of-bounds write, which may lead to remote denial of service or possibly unspecified other impact. |
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 | 874118 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
openjpeg2 (PTS) | 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.
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 | 874118 |
Fixed by: https://github.com/uclouvain/openjpeg/commit/c535531f03369623b9b833ef41952c62257b507e
Reproducer: https://blogs.gentoo.org/ago/2017/08/28/openjpeg-heap-based-buffer-overflow-in-opj_t2_encode_packet-t2-c/
https://github.com/uclouvain/openjpeg/issues/992
The issue is covered by https://github.com/uclouvain/openjpeg/commit/4241ae6fbbf1de9658764a80944dc8108f2b4154