CVE-2017-14041
A stack-based buffer overflow was discovered in the pgxtoimage function in bin/jp2/convert.c in...
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.
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
What each source reports
NVD Score used
8.8
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.
- Record
CVE-2017-14041- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - CVSS 2.0
- 6.8 Medium
AV:N/AC:M/Au:N/C:P/I:P/A:P - Weakness
- CWE-787
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2017-14041- Updated
- 2026-11-02
EUVDEUVD-2017-5555 No score
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.
- Record
EUVD-2017-5555- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-9m49-mcgc-vjxx
8.8
A stack-based buffer overflow was discovered in the pgxtoimage function in bin/jp2/convert.c in...
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.
- Record
GHSA-9m49-mcgc-vjxx- CVSS 3.1
- 8.8 High
CVSS: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-14041
8.8
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.
- Record
ALPINE-CVE-2017-14041- CVSS 3.1
- 8.8 High
CVSS: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-14041
8.8
CVE-2017-14041 does not affect BellSoft software
- Record
BELL-CVE-2017-14041- CVSS 3.1
- 8.8 High
CVSS: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 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.
- Record
CVE-2017-14041- CVSS 3.1
- 8.8 High
CVSS: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-14041
8.8
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.
- Record
DEBIAN-CVE-2017-14041- CVSS 3.1
- 8.8 High
CVSS: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-14041
8.8
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.
- Record
UBUNTU-CVE-2017-14041- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - CVSS 3.0
- 8.8 High
CVSS: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
| Package | Affected | Fixed |
|---|---|---|
openjpegAlpine:v3.10 |
before 2.2.0-r2 | 2.2.0-r2 |
openjpegAlpine:v3.11 |
before 2.2.0-r2 | 2.2.0-r2 |
openjpegAlpine:v3.12 |
before 2.2.0-r2 | 2.2.0-r2 |
openjpegAlpine:v3.13 |
before 2.2.0-r2 | 2.2.0-r2 |
openjpegAlpine:v3.14 |
before 2.2.0-r2 | 2.2.0-r2 |
openjpegAlpine:v3.15 |
before 2.2.0-r2 | 2.2.0-r2 |
openjpegAlpine:v3.16 |
before 2.2.0-r2 | 2.2.0-r2 |
openjpegAlpine:v3.17 |
before 2.2.0-r2 | 2.2.0-r2 |
openjpegAlpine:v3.18 |
before 2.2.0-r2 | 2.2.0-r2 |
openjpegAlpine:v3.19 |
before 2.2.0-r2 | 2.2.0-r2 |
Show 30 moreShow less
| Package | Affected | Fixed |
|---|---|---|
openjpegAlpine:v3.20 |
before 2.2.0-r2 | 2.2.0-r2 |
openjpegAlpine:v3.21 |
before 2.2.0-r2 | 2.2.0-r2 |
openjpegAlpine:v3.22 |
before 2.2.0-r2 | 2.2.0-r2 |
openjpegAlpine:v3.23 |
before 2.2.0-r2 | 2.2.0-r2 |
openjpegAlpine:v3.24 |
before 2.2.0-r2 | 2.2.0-r2 |
openjpegAlpine:v3.3 |
before 2.2.0-r0 | 2.2.0-r0 |
openjpegAlpine:v3.4 |
before 2.2.0-r0 | 2.2.0-r0 |
openjpegAlpine:v3.5 |
before 2.2.0-r0 | 2.2.0-r0 |
openjpegAlpine:v3.6 |
before 2.2.0-r0 | 2.2.0-r0 |
openjpegAlpine:v3.7 |
before 2.2.0-r2 | 2.2.0-r2 |
openjpegAlpine:v3.8 |
before 2.2.0-r2 | 2.2.0-r2 |
openjpegAlpine:v3.9 |
before 2.2.0-r2 | 2.2.0-r2 |
openjpeg2Debian:12 |
before 2.3.0-1 | 2.3.0-1 |
openjpeg2Debian:13 |
before 2.3.0-1 | 2.3.0-1 |
openjpeg2Debian:14 |
before 2.3.0-1 | 2.3.0-1 |
openjpeg2Debian: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 |
openjpeg2Debian: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 |
openjpeg2Mageia:5 From an advisory covering 4 CVEs |
before 2.2.0-1.2.mga5 | 2.2.0-1.2.mga5 |
openjpeg2Mageia:6 From an advisory covering 4 CVEs |
before 2.2.0-1.2.mga6 | 2.2.0-1.2.mga6 |
openjpeg2SUSE:Linux Enterprise Desktop 12 SP2 From an advisory covering 5 CVEs |
before 2.1.0-4.6.1 | 2.1.0-4.6.1 |
openjpeg2SUSE:Linux Enterprise Desktop 12 SP3 From an advisory covering 5 CVEs |
before 2.1.0-4.6.1 | 2.1.0-4.6.1 |
openjpeg2SUSE: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 |
openjpeg2SUSE:Linux Enterprise Server 12 SP2 From an advisory covering 5 CVEs |
before 2.1.0-4.6.1 | 2.1.0-4.6.1 |
openjpeg2SUSE: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 |
openjpeg2SUSE:Linux Enterprise Server 12 SP3 From an advisory covering 5 CVEs |
before 2.1.0-4.6.1 | 2.1.0-4.6.1 |
openjpeg2SUSE: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 |
openjpeg2Ubuntu: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 |
openjpeg2Ubuntu:18.04:LTS |
before 2.3.0-1, plus listed versions 2.2.0-1 |
2.3.0-1 |
openjpeg2SUSE:Package Hub 12 From an advisory covering 5 CVEs |
before 2.1.0-9.1 | 2.1.0-9.1 |
openjpeg2SUSE:Package Hub 12 SP1 From an advisory covering 5 CVEs |
before 2.1.0-9.1 | 2.1.0-9.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2017-14041 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 5.65%, the 93rd percentile. Fixed in openjpeg 2.2.0-r2.
References
blogs.gentoo.org/ago/2017/08/28/openjpeg-stack-based-buffer-overflow-write-in-pgxtoimage-convert-c
github.com/uclouvain/openjpeg/commit/e5285319229a5d77bf316bb0d3a6cbd3cb8666d9
securityfocus.com/bid/100555
github.com/uclouvain/openjpeg/issues/997
debian.org/security/2017/dsa-4013
nvd.nist.gov/vuln/detail/CVE-2017-14041
Show 40 moreShow less
github.com/advisories/GHSA-9m49-mcgc-vjxx
security.alpinelinux.org/vuln/CVE-2017-14041
docs.bell-sw.com/security/cves/CVE-2017-14041
security-tracker.debian.org/tracker/CVE-2017-14041
advisories.mageia.org/MGASA-2017-0481.html
bugs.mageia.org/show_bug.cgi?id=21627
lists.opensuse.org/opensuse-updates/2017-10/msg00032.html
suse.com/support/update/announcement/2017/suse-su-20172649-1
bugzilla.suse.com/1056421
bugzilla.suse.com/1056562
bugzilla.suse.com/1056621
bugzilla.suse.com/1056622
bugzilla.suse.com/1057511
suse.com/security/cve/CVE-2016-10507
suse.com/security/cve/CVE-2017-14039
suse.com/security/cve/CVE-2017-14040
suse.com/security/cve/CVE-2017-14041
suse.com/security/cve/CVE-2017-14164
ubuntu.com/security/CVE-2017-14041
cve.org/CVERecord?id=CVE-2017-14041
suse.com/security/cve/CVE-2016-10504
suse.com/security/cve/CVE-2016-10505
suse.com/security/cve/CVE-2016-10506
suse.com/security/cve/CVE-2016-5139
suse.com/security/cve/CVE-2016-5152
suse.com/security/cve/CVE-2016-5158
suse.com/security/cve/CVE-2016-8332
suse.com/security/cve/CVE-2017-12982
suse.com/security/cve/CVE-2017-14151
suse.com/security/cve/CVE-2017-14152
suse.com/security/cve/CVE-2018-14423
suse.com/security/cve/CVE-2018-16375
suse.com/security/cve/CVE-2018-18088
suse.com/security/cve/CVE-2018-5727
suse.com/security/cve/CVE-2018-5785
suse.com/security/cve/CVE-2018-6616
suse.com/security/cve/CVE-2018-7648
suse.com/security/cve/CVE-2019-12973
suse.com/security/cve/CVE-2020-6851
suse.com/security/cve/CVE-2020-8112