Every CVE Search/ Get API key

CVE-2017-14039

A heap-based buffer overflow was discovered in the opj_t2_encode_packet function in lib/openjp2...

8.8 HighFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

4.35%Up 2.1 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 8.8

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.

Record
CVE-2017-14039
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS 2.0
6.8 MediumAV:N/AC:M/Au:N/C:P/I:P/A:P
Weakness
CWE-787
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2017-14039
Updated
2026-11-02
EUVDEUVD-2017-5553 No score

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.

Record
EUVD-2017-5553
Updated
2026-11-03
GitHub AdvisoriesGHSA-xr67-3hw9-34g2 8.8

A heap-based buffer overflow was discovered in the opj_t2_encode_packet function in lib/openjp2...

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.

Record
GHSA-xr67-3hw9-34g2
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness
CWE-787
Updated
2026-11-02
OSVALPINE-CVE-2017-14039 8.8

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.

Record
ALPINE-CVE-2017-14039
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVBELL-CVE-2017-14039 8.8

CVE-2017-14039 does not affect BellSoft software

Record
BELL-CVE-2017-14039
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
Show 8 moreShow less
OSV 8.8

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.

Record
CVE-2017-14039
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2017-14039 8.8

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.

Record
DEBIAN-CVE-2017-14039
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2017-14039 8.8

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.

Record
UBUNTU-CVE-2017-14039
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS 3.0
8.8 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVMGASA-2017-0481 No score

Updated openjpeg2 packages fix security vulnerability

A heap-based buffer overflow was discovered in the opj_t2_encode_packet function. The vulnerability caused an out-of-bounds write, which may have lead to remote denial of service or possibly unspecified other impact (CVE-2017-14039).

An invalid write access was discovered in bin/jp2/convert.c, triggering a crash in the tgatoimage function. The vulnerability may have lead to remote denial of service or possibly unspecified other impact (CVE-2017-14040).

A stack-based buffer overflow was discovered in the pgxtoimage function. The vulnerability caused an out-of-bounds write, which may have lead to remote denial of service or possibly remote code execution (CVE-2017-14041).

A size-validation issue was discovered in opj_j2k_write_sot. The vulnerability caused an out-of-bounds write, which may have lead to remote DoS or possibly remote code execution (CVE-2017-14164).

Record
MGASA-2017-0481
Updated
2026-11-02
OSVopenSUSE-SU-2017:2685-1 No score

Security update for openjpeg2

This update for openjpeg2 fixes several issues.

These security issues were fixed:

  • CVE-2016-10507: Integer overflow vulnerability in the bmp24toimage function allowed remote attackers to cause a denial of service (heap-based buffer over-read and application crash) via a crafted bmp file (bsc#1056421).
  • CVE-2017-14039: A heap-based buffer overflow was discovered in the opj_t2_encode_packet function. The vulnerability caused an out-of-bounds write, which may have lead to remote denial of service or possibly unspecified other impact (bsc#1056622).
  • CVE-2017-14164: A size-validation issue was discovered in opj_j2k_write_sot. The vulnerability caused an out-of-bounds write, which may have lead to remote DoS or possibly remote code execution (bsc#1057511).
  • CVE-2017-14040: An invalid write access was discovered in bin/jp2/convert.c, triggering a crash in the tgatoimage function. The vulnerability may have lead to remote denial of service or possibly unspecified other impact (bsc#1056621).
  • CVE-2017-14041: A stack-based buffer overflow was discovered in the pgxtoimage function. The vulnerability caused an out-of-bounds write, which may have lead to remote denial of service or possibly remote code execution (bsc#1056562).

This update was imported from the SUSE:SLE-12-SP2:Update update project.

Record
openSUSE-SU-2017:2685-1
Updated
2026-11-02
OSVopenSUSE-SU-2017:2686-1 No score

Security update for openjpeg2

This update for openjpeg2 fixes several issues.

These security issues were fixed:

  • CVE-2016-10507: Integer overflow vulnerability in the bmp24toimage function allowed remote attackers to cause a denial of service (heap-based buffer over-read and application crash) via a crafted bmp file (bsc#1056421).
  • CVE-2017-14039: A heap-based buffer overflow was discovered in the opj_t2_encode_packet function. The vulnerability caused an out-of-bounds write, which may have lead to remote denial of service or possibly unspecified other impact (bsc#1056622).
  • CVE-2017-14164: A size-validation issue was discovered in opj_j2k_write_sot. The vulnerability caused an out-of-bounds write, which may have lead to remote DoS or possibly remote code execution (bsc#1057511).
  • CVE-2017-14040: An invalid write access was discovered in bin/jp2/convert.c, triggering a crash in the tgatoimage function. The vulnerability may have lead to remote denial of service or possibly unspecified other impact (bsc#1056621).
  • CVE-2017-14041: A stack-based buffer overflow was discovered in the pgxtoimage function. The vulnerability caused an out-of-bounds write, which may have lead to remote denial of service or possibly remote code execution (bsc#1056562).

This update was imported from the SUSE:SLE-12-SP2:Update update project.

Record
openSUSE-SU-2017:2686-1
Updated
2026-11-02
OSVopenSUSE-SU-2024:11120-1 No score

libopenjp2-7-2.4.0-1.4 on GA media

These are all security issues fixed in the libopenjp2-7-2.4.0-1.4 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:11120-1
Updated
2026-11-02
OSVSUSE-SU-2017:2649-1 No score

Security update for openjpeg2

This update for openjpeg2 fixes several issues.

These security issues were fixed:

  • CVE-2016-10507: Integer overflow vulnerability in the bmp24toimage function allowed remote attackers to cause a denial of service (heap-based buffer over-read and application crash) via a crafted bmp file (bsc#1056421).
  • CVE-2017-14039: A heap-based buffer overflow was discovered in the opj_t2_encode_packet function. The vulnerability caused an out-of-bounds write, which may have lead to remote denial of service or possibly unspecified other impact (bsc#1056622).
  • CVE-2017-14164: A size-validation issue was discovered in opj_j2k_write_sot. The vulnerability caused an out-of-bounds write, which may have lead to remote DoS or possibly remote code execution (bsc#1057511).
  • CVE-2017-14040: An invalid write access was discovered in bin/jp2/convert.c, triggering a crash in the tgatoimage function. The vulnerability may have lead to remote denial of service or possibly unspecified other impact (bsc#1056621).
  • CVE-2017-14041: A stack-based buffer overflow was discovered in the pgxtoimage function. The vulnerability caused an out-of-bounds write, which may have lead to remote denial of service or possibly remote code execution (bsc#1056562).
Record
SUSE-SU-2017:2649-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
openjpeg
Alpine:v3.10
before 2.3.0-r0
2.3.0-r0
openjpeg
Alpine:v3.11
before 2.3.0-r0
2.3.0-r0
openjpeg
Alpine:v3.12
before 2.3.0-r0
2.3.0-r0
openjpeg
Alpine:v3.13
before 2.3.0-r0
2.3.0-r0
openjpeg
Alpine:v3.14
before 2.3.0-r0
2.3.0-r0
openjpeg
Alpine:v3.15
before 2.3.0-r0
2.3.0-r0
openjpeg
Alpine:v3.16
before 2.3.0-r0
2.3.0-r0
openjpeg
Alpine:v3.17
before 2.3.0-r0
2.3.0-r0
openjpeg
Alpine:v3.18
before 2.3.0-r0
2.3.0-r0
openjpeg
Alpine:v3.19
before 2.3.0-r0
2.3.0-r0
Show 29 moreShow less
Affected packages
PackageAffectedFixed
openjpeg
Alpine:v3.20
before 2.3.0-r0
2.3.0-r0
openjpeg
Alpine:v3.21
before 2.3.0-r0
2.3.0-r0
openjpeg
Alpine:v3.22
before 2.3.0-r0
2.3.0-r0
openjpeg
Alpine:v3.23
before 2.3.0-r0
2.3.0-r0
openjpeg
Alpine:v3.24
before 2.3.0-r0
2.3.0-r0
openjpeg
Alpine:v3.3
before 2.2.0-r1
2.2.0-r1
openjpeg
Alpine:v3.4
before 2.2.0-r1
2.2.0-r1
openjpeg
Alpine:v3.6
before 2.3.0-r0
2.3.0-r0
openjpeg
Alpine:v3.7
before 2.3.0-r0
2.3.0-r0
openjpeg
Alpine:v3.8
before 2.3.0-r0
2.3.0-r0
openjpeg
Alpine:v3.9
before 2.3.0-r0
2.3.0-r0
openjpeg2
Debian:12
before 2.3.0-1
2.3.0-1
openjpeg2
Debian:13
before 2.3.0-1
2.3.0-1
openjpeg2
Debian:14
before 2.3.0-1
2.3.0-1
openjpeg2
Debian:8
From an advisory covering 8 CVEs
before 2.1.0-2+deb8u3, plus listed versions
2.1.0-22.1.0-2+deb8u12.1.0-2+deb8u2
2.1.0-2+deb8u3
openjpeg2
Debian:9
From an advisory covering 8 CVEs
before 2.1.2-1.1+deb9u2, plus listed versions
2.1.2-1.12.1.2-1.1+deb9u1
2.1.2-1.1+deb9u2
openjpeg2
Mageia:5
From an advisory covering 4 CVEs
before 2.2.0-1.2.mga5
2.2.0-1.2.mga5
openjpeg2
Mageia:6
From an advisory covering 4 CVEs
before 2.2.0-1.2.mga6
2.2.0-1.2.mga6
openjpeg2
SUSE:Linux Enterprise Desktop 12 SP2
From an advisory covering 5 CVEs
before 2.1.0-4.6.1
2.1.0-4.6.1
openjpeg2
SUSE:Linux Enterprise Desktop 12 SP3
From an advisory covering 5 CVEs
before 2.1.0-4.6.1
2.1.0-4.6.1
openjpeg2
SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2
From an advisory covering 5 CVEs
before 2.1.0-4.6.1
2.1.0-4.6.1
openjpeg2
SUSE:Linux Enterprise Server 12 SP2
From an advisory covering 5 CVEs
before 2.1.0-4.6.1
2.1.0-4.6.1
openjpeg2
SUSE:Linux Enterprise Server for SAP Applications 12 SP2
From an advisory covering 5 CVEs
before 2.1.0-4.6.1
2.1.0-4.6.1
openjpeg2
SUSE:Linux Enterprise Server 12 SP3
From an advisory covering 5 CVEs
before 2.1.0-4.6.1
2.1.0-4.6.1
openjpeg2
SUSE:Linux Enterprise Server for SAP Applications 12 SP3
From an advisory covering 5 CVEs
before 2.1.0-4.6.1
2.1.0-4.6.1
openjpeg2
Ubuntu:16.04:LTS
before 2.1.2-1.1+deb9u2build0.1, plus listed versions
2.1.0-2.12.1.0-2.1ubuntu0.1
2.1.2-1.1+deb9u2build0.1
openjpeg2
Ubuntu:18.04:LTS
before 2.3.0-1, plus listed versions
2.2.0-1
2.3.0-1
openjpeg2
SUSE:Package Hub 12
From an advisory covering 5 CVEs
before 2.1.0-9.1
2.1.0-9.1
openjpeg2
SUSE:Package Hub 12 SP1
From an advisory covering 5 CVEs
before 2.1.0-9.1
2.1.0-9.1

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2017-14039 is a high vulnerability (CVSS 8.8) in Uclouvain Openjpeg, published August 30, 2017. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 4.35%, the 91st percentile. Fixed in openjpeg 2.3.0-r0.

References

Show 41 moreShow less
MoveEnter Open