CVE-2017-17479
In OpenJPEG 2.3.0, a stack-based buffer overflow was discovered in the pgxtoimage function in...
CVE-2017-17479 is a critical vulnerability (CVSS 9.8) in Uclouvain Openjpeg, published December 8, 2017. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 4.04%, the 90th percentile. Fixed in openjpeg2 2.3.0-2.
In OpenJPEG 2.3.0, a stack-based buffer overflow was discovered in the pgxtoimage function in jpwl/convert.c. 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
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
9.8
In OpenJPEG 2.3.0, a stack-based buffer overflow was discovered in the pgxtoimage function in jpwl/convert.c. The vulnerability causes an out-of-bounds write, which may lead to remote denial of service or possibly remote code execution.
- Record
CVE-2017-17479- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS 2.0
- 7.5 High
AV:N/AC:L/Au:N/C:P/I:P/A:P - Weakness
- CWE-787
- Updated
- 2026-11-02
CVE List No score
In OpenJPEG 2.3.0, a stack-based buffer overflow was discovered in the pgxtoimage function in jpwl/convert.c. The vulnerability causes an out-of-bounds write, which may lead to remote denial of service or possibly remote code execution.
- Record
CVE-2017-17479- Updated
- 2026-11-02
EUVDEUVD-2017-8641 No score
In OpenJPEG 2.3.0, a stack-based buffer overflow was discovered in the pgxtoimage function in jpwl/convert.c. The vulnerability causes an out-of-bounds write, which may lead to remote denial of service or possibly remote code execution.
- Record
EUVD-2017-8641- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-4x4h-5jqj-88gh
9.8
In OpenJPEG 2.3.0, a stack-based buffer overflow was discovered in the pgxtoimage function in...
In OpenJPEG 2.3.0, a stack-based buffer overflow was discovered in the pgxtoimage function in jpwl/convert.c. The vulnerability causes an out-of-bounds write, which may lead to remote denial of service or possibly remote code execution.
- Record
GHSA-4x4h-5jqj-88gh- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-787
- Updated
- 2026-11-02
OSV
9.8
In OpenJPEG 2.3.0, a stack-based buffer overflow was discovered in the pgxtoimage function in jpwl/convert.c. The vulnerability causes an out-of-bounds write, which may lead to remote denial of service or possibly remote code execution.
- Record
CVE-2017-17479- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2017-17479
9.8
In OpenJPEG 2.3.0, a stack-based buffer overflow was discovered in the pgxtoimage function in jpwl/convert.c. 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-17479- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Show 5 moreShow less
OSVUBUNTU-CVE-2017-17479
9.8
In OpenJPEG 2.3.0, a stack-based buffer overflow was discovered in the pgxtoimage function in jpwl/convert.c. 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-17479- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVMGASA-2019-0004 No score
Updated openjpeg2 packages fix security vulnerabilities
A stack-based buffer overflow in the pgxtoimage function in jpwl/convert.c could crash the converter (CVE-2017-17479).
A stack-based buffer overflow in the pgxtovolume function in jp3d/convert.c could crash the converter (CVE-2017-17480).
A flaw was found in OpenJPEG 2.3.0, there is an integer overflow caused by an out-of-bounds left shift in the opj_j2k_setup_encoder function (openjp2/j2k.c). Remote attackers could leverage this vulnerability to cause a denial of service via a crafted bmp file (CVE-2018-5785).
In OpenJPEG 2.3.0, there is excessive iteration in the opj_t1_encode_cblks function of openjp2/t1.c. Attackers could leverage this vulnerability to cause a denial of service via a crafted bmp file (CVE-2018-6616).
A flaw was found in OpenJPEG 2.3.0. A NULL pointer dereference for "red" in the imagetopnm function of jp2/convert.c (CVE-2018-18088).
- Record
MGASA-2019-0004- Updated
- 2026-11-02
OSVROOT-OS-DEBIAN-12-CVE-2017-17479 No score
CVE-2017-17479 in openjpeg2 - Patched by Root
Root has patched CVE-2017-17479 in the openjpeg2 package for Root:Debian:12. Multiple fixed versions available.
- Record
ROOT-OS-DEBIAN-12-CVE-2017-17479- Updated
- 2026-11-02
OSVSUSE-SU-2018:1364-1 No score
Security update for openjpeg2
This update for openjpeg2 fixes the following security issues:
- CVE-2015-1239: A double free vulnerability in the j2k_read_ppm_v3 function allowed remote attackers to cause a denial of service (crash) (bsc#1066713)
- CVE-2017-17479: A stack-based buffer overflow in the pgxtoimage function in jpwl/convert.c could crash the converter. (bsc#1072125)
- CVE-2017-17480: A stack-based buffer overflow in the pgxtovolume function in jp3d/convert.c could crash the converter. (bsc#1072124)
- Record
SUSE-SU-2018:1364-1- Updated
- 2026-11-02
OSVUSN-5664-1 No score
openjpeg vulnerabilities
It was discovered that OpenJPEG did not properly handle PNM headers, resulting in a null pointer dereference. A remote attacker could possibly use this issue to cause a denial of service (DoS). (CVE-2016-7445)
It was discovered that OpenJPEG incorrectly handled certain image files resulting in division by zero. A remote attacker could possibly use this issue to cause a denial of service (DoS). (CVE-2016-9112 and CVE-2016-10506)
It was discovered that OpenJPEG incorrectly handled converting certain image files resulting in a stack buffer overflow. A remote attacker could possibly use this issue to cause a denial of service (DoS). (CVE-2017-17479)
It was discovered that OpenJPEG incorrectly handled converting PNM image files resulting in a null pointer dereference. A remote attacker could possibly use this issue to cause a denial of service (DoS). (CVE-2018-18088)
It was discovered that OpenJPEG incorrectly handled converting DWT images files resulting in a buffer overflow. A remote attacker could possibly use this issue to cause a denial of service (DoS). (CVE-2020-27824)
- Record
USN-5664-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
openjpeg2Debian:12 |
before 2.3.0-2 | 2.3.0-2 |
openjpeg2Debian:13 |
before 2.3.0-2 | 2.3.0-2 |
openjpeg2Debian:14 |
before 2.3.0-2 | 2.3.0-2 |
openjpeg2Mageia:6 |
before 2.2.0-1.3.mga6 | 2.2.0-1.3.mga6 |
openjpeg2Root:Debian:12 |
before 2.5.0-2+deb12u2.root.io.13 | 2.5.0-2+deb12u2.root.io.132.5.0-2+deb12u2.root.io.102.5.0-2+deb12u2.root.io.122.5.0-2+deb12u2.root.io.112.5.0-2+deb12u2.root.io.142.5.0-2+deb12u2.root.io.92.5.0-2+deb12u2.root.io.152.5.0-2+deb12u2.root.io.162.5.0-2+deb12u3.aikido.17 |
rootio-openjpeg2Root:Debian:12 |
before 2.5.0-2+deb12u2.root.io.13 | 2.5.0-2+deb12u2.root.io.132.5.0-2+deb12u2.root.io.102.5.0-2+deb12u2.root.io.122.5.0-2+deb12u2.root.io.112.5.0-2+deb12u2.root.io.142.5.0-2+deb12u2.root.io.92.5.0-2+deb12u2.root.io.152.5.0-2+deb12u2.root.io.162.5.0-2+deb12u3.aikido.17 |
openjpeg2SUSE:Linux Enterprise Desktop 12 SP3 |
before 2.1.0-4.9.1 | 2.1.0-4.9.1 |
openjpeg2SUSE:Linux Enterprise Server 12 SP3 |
before 2.1.0-4.9.1 | 2.1.0-4.9.1 |
openjpeg2SUSE:Linux Enterprise Server for SAP Applications 12 SP3 |
before 2.1.0-4.9.1 | 2.1.0-4.9.1 |
openjpegUbuntu:14.04:LTS |
All versions, plus listed versions 1.3+dfsg-4.6ubuntu21.3+dfsg-4.7ubuntu1 |
None known |
openjpeg2Ubuntu:16.04:LTS |
before 2.1.2-1.1+deb9u3build0.16.04.1, plus listed versions 2.1.0-2.12.1.0-2.1ubuntu0.12.1.2-1.1+deb9u2build0.1 |
2.1.2-1.1+deb9u3build0.16.04.1 |
openjpegUbuntu:Pro:16.04:LTS |
before 1:1.5.2-3.1ubuntu0.1~esm2, plus listed versions 1:1.5.2-3.1 |
1:1.5.2-3.1ubuntu0.1~esm2 |
openjpeg2Ubuntu:18.04:LTS |
before 2.3.0-2build0.18.04.1, plus listed versions 2.2.0-12.3.0-1 |
2.3.0-2build0.18.04.1 |
History
| When | Changed | Sources |
|---|---|---|
| 2026-11-03 | aliases | EUVD |
| 2026-11-02 | created | CVE List, GitHub Advisories, NVD, OSV |
References
github.com/uclouvain/openjpeg/issues/1044
nvd.nist.gov/vuln/detail/CVE-2017-17479
github.com/advisories/GHSA-4x4h-5jqj-88gh
security-tracker.debian.org/tracker/CVE-2017-17479
advisories.mageia.org/MGASA-2019-0004.html
bugs.mageia.org/show_bug.cgi?id=23147
Show 18 moreShow less
lists.opensuse.org/opensuse-updates/2018-05/msg00086.html
lists.fedoraproject.org/archives/list/[email protected]/thread/HKAGXKPJ2Z4TMUR3TVLTQ7SMTTIYGJKK
lists.fedoraproject.org/archives/list/[email protected]/thread/JAZ5ZQP5XJ23SE3ECBP4QQF2CGMK6USD
suse.com/support/update/announcement/2018/suse-su-20181364-1
bugzilla.suse.com/1066713
bugzilla.suse.com/1072124
bugzilla.suse.com/1072125
suse.com/security/cve/CVE-2015-1239
suse.com/security/cve/CVE-2017-17479
suse.com/security/cve/CVE-2017-17480
ubuntu.com/security/CVE-2017-17479
ubuntu.com/security/notices/USN-5664-1
cve.org/CVERecord?id=CVE-2017-17479
ubuntu.com/security/CVE-2016-7445
ubuntu.com/security/CVE-2016-9112
ubuntu.com/security/CVE-2016-10506
ubuntu.com/security/CVE-2018-18088
ubuntu.com/security/CVE-2020-27824