CVE-2018-16375
An issue was discovered in OpenJPEG 2.3.0. Missing checks for header_info.height and header_info...
An issue was discovered in OpenJPEG 2.3.0. Missing checks for header_info.height and header_info.width in the function pnmtoimage in bin/jpwl/convert.c can lead to a heap-based buffer overflow.
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
An issue was discovered in OpenJPEG 2.3.0. Missing checks for header_info.height and header_info.width in the function pnmtoimage in bin/jpwl/convert.c can lead to a heap-based buffer overflow.
- Record
CVE-2018-16375- 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 - 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
An issue was discovered in OpenJPEG 2.3.0. Missing checks for header_info.height and header_info.width in the function pnmtoimage in bin/jpwl/convert.c can lead to a heap-based buffer overflow.
- Record
CVE-2018-16375- Updated
- 2026-11-02
EUVDEUVD-2018-8221 No score
An issue was discovered in OpenJPEG 2.3.0. Missing checks for header_info.height and header_info.width in the function pnmtoimage in bin/jpwl/convert.c can lead to a heap-based buffer overflow.
- Record
EUVD-2018-8221- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-cr53-w8r4-842j
8.8
An issue was discovered in OpenJPEG 2.3.0. Missing checks for header_info.height and header_info...
An issue was discovered in OpenJPEG 2.3.0. Missing checks for header_info.height and header_info.width in the function pnmtoimage in bin/jpwl/convert.c can lead to a heap-based buffer overflow.
- Record
GHSA-cr53-w8r4-842j- 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 - Weakness
- CWE-787
- Updated
- 2026-11-02
OSV
8.8
An issue was discovered in OpenJPEG 2.3.0. Missing checks for header_info.height and header_info.width in the function pnmtoimage in bin/jpwl/convert.c can lead to a heap-based buffer overflow.
- Record
CVE-2018-16375- 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
OSVDEBIAN-CVE-2018-16375
8.8
An issue was discovered in OpenJPEG 2.3.0. Missing checks for header_info.height and header_info.width in the function pnmtoimage in bin/jpwl/convert.c can lead to a heap-based buffer overflow.
- Record
DEBIAN-CVE-2018-16375- 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
Show 5 moreShow less
OSVUBUNTU-CVE-2018-16375
8.8
An issue was discovered in OpenJPEG 2.3.0. Missing checks for header_info.height and header_info.width in the function pnmtoimage in bin/jpwl/convert.c can lead to a heap-based buffer overflow.
- Record
UBUNTU-CVE-2018-16375- 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
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-2022:1129-1 No score
Security update for openjpeg2
This update for openjpeg2 fixes the following issues:
- CVE-2016-1924: Fixed heap buffer overflow (bsc#980504).
- CVE-2016-3183: Fixed out-of-bounds read in sycc422_to_rgb function (bsc#971617).
- CVE-2016-4797: Fixed heap buffer overflow (bsc#980504).
- CVE-2018-14423: Fixed division-by-zero vulnerabilities in the functions pi_next_pcrl, pi_next_cprl,and pi_next_rpcl in lib/openjp3d/pi.c (bsc#1102016).
- CVE-2018-16375: Fixed missing checks for header_info.height and header_info.width in the function pnmtoimage in bin/jpwl/convert.c (bsc#1106882).
- CVE-2018-16376: Fixed heap-based buffer overflow function t2_encode_packet in lib/openmj2/t2.c (bsc#1106881).
- CVE-2018-20845: Fixed division-by-zero in the functions pi_next_pcrl, pi_next_cprl, and pi_next_rpcl in openmj2/pi.c (bsc#1140130).
- CVE-2018-20846: Fixed out-of-bounds accesses in pi_next_lrcp, pi_next_rlcp, pi_next_rpcl, pi_next_pcrl, pi_next_rpcl, and pi_next_cprl in openmj2/pi.c (bsc#1140205).
- CVE-2020-8112: Fixed heap-based buffer overflow in opj_t1_clbl_decode_processor in openjp2/t1.c (bsc#1162090).
- CVE-2020-15389: Fixed use-after-free if t a mix of valid and invalid files in a directory operated on by the decompressor (bsc#1173578).
- CVE-2020-27823: Fixed heap buffer over-write in opj_tcd_dc_level_shift_encode() (bsc#1180457).
- CVE-2021-29338: Fixed integer overflow that allows remote attackers to crash the application (bsc#1184774).
- CVE-2022-1122: Fixed segmentation fault in opj2_decompress due to uninitialized pointer (bsc#1197738).
- Record
SUSE-SU-2022:1129-1- Updated
- 2026-11-02
OSVSUSE-SU-2022:1252-1 No score
Security update for openjpeg2
This update for openjpeg2 fixes the following issues:
- CVE-2018-5727: Fixed integer overflow vulnerability in theopj_t1_encode_cblks function (bsc#1076314).
- CVE-2018-5785: Fixed integer overflow caused by an out-of-bounds leftshift in the opj_j2k_setup_encoder function (bsc#1076967).
- CVE-2018-6616: Fixed excessive iteration in the opj_t1_encode_cblks function of openjp2/t1.c (bsc#1079845).
- CVE-2018-14423: Fixed division-by-zero vulnerabilities in the functions pi_next_pcrl, pi_next_cprl,and pi_next_rpcl in lib/openjp3d/pi.c (bsc#1102016).
- CVE-2018-16375: Fixed missing checks for header_info.height and header_info.width in the function pnmtoimage in bin/jpwl/convert.c (bsc#1106882).
- CVE-2018-16376: Fixed heap-based buffer overflow function t2_encode_packet in lib/openmj2/t2.c (bsc#1106881).
- CVE-2018-20845: Fixed division-by-zero in the functions pi_next_pcrl, pi_next_cprl, and pi_next_rpcl in openmj2/pi.ci (bsc#1140130).
- CVE-2020-6851: Fixed heap-based buffer overflow in opj_t1_clbl_decode_processor (bsc#1160782).
- CVE-2020-8112: Fixed heap-based buffer overflow in opj_t1_clbl_decode_processor in openjp2/t1.c (bsc#1162090).
- CVE-2020-15389: Fixed use-after-free if t a mix of valid and invalid files in a directory operated on by the decompressor (bsc#1173578).
- CVE-2020-27823: Fixed heap buffer over-write in opj_tcd_dc_level_shift_encode() (bsc#1180457).
- CVE-2021-29338: Fixed integer overflow that allows remote attackers to crash the application (bsc#1184774).
- CVE-2022-1122: Fixed segmentation fault in opj2_decompress due to uninitialized pointer (bsc#1197738).
- Record
SUSE-SU-2022:1252-1- Updated
- 2026-11-02
OSVUSN-4782-1 No score
openjpeg2 vulnerabilities
It was discovered that OpenJPEG incorrectly handled certain image files. A remote attacker could possibly use this issue to cause a denial of service. CVE-2016-10506 and CVE-2017-12982 affected only Ubuntu 16.04 ESM. CVE-2018-16375, CVE-2018-20845 and CVE-2019-12973 affected only Ubuntu 18.04 ESM.
- Record
USN-4782-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
openjpeg2Debian:12 |
before 2.3.1-1 | 2.3.1-1 |
openjpeg2Debian:13 |
before 2.3.1-1 | 2.3.1-1 |
openjpeg2Debian:14 |
before 2.3.1-1 | 2.3.1-1 |
openjpeg2SUSE:HPE Helion OpenStack 8 |
before 2.1.0-4.15.1 | 2.1.0-4.15.1 |
openjpeg2SUSE:OpenStack Cloud 8 |
before 2.1.0-4.15.1 | 2.1.0-4.15.1 |
openjpeg2SUSE:OpenStack Cloud 9 |
before 2.1.0-4.15.1 | 2.1.0-4.15.1 |
openjpeg2SUSE:OpenStack Cloud Crowbar 8 |
before 2.1.0-4.15.1 | 2.1.0-4.15.1 |
openjpeg2SUSE:OpenStack Cloud Crowbar 9 |
before 2.1.0-4.15.1 | 2.1.0-4.15.1 |
openjpeg2SUSE:Linux Enterprise Server for SAP Applications 12 SP3 |
before 2.1.0-4.15.1 | 2.1.0-4.15.1 |
openjpeg2SUSE:Linux Enterprise Server for SAP Applications 12 SP4 |
before 2.1.0-4.15.1 | 2.1.0-4.15.1 |
Show 31 moreShow less
| Package | Affected | Fixed |
|---|---|---|
openjpeg2SUSE:Linux Enterprise Server 12 SP2-BCL |
before 2.1.0-4.15.1 | 2.1.0-4.15.1 |
openjpeg2SUSE:Linux Enterprise Server 12 SP3-LTSS |
before 2.1.0-4.15.1 | 2.1.0-4.15.1 |
openjpeg2SUSE:Linux Enterprise Server 12 SP3-BCL |
before 2.1.0-4.15.1 | 2.1.0-4.15.1 |
openjpeg2SUSE:Linux Enterprise Server 12 SP4-LTSS |
before 2.1.0-4.15.1 | 2.1.0-4.15.1 |
openjpeg2SUSE:Linux Enterprise Server 12 SP5 |
before 2.1.0-4.15.1 | 2.1.0-4.15.1 |
openjpeg2SUSE:Linux Enterprise Server for SAP Applications 12 SP5 |
before 2.1.0-4.15.1 | 2.1.0-4.15.1 |
openjpeg2SUSE:Linux Enterprise Module for Basesystem 15 SP3 |
before 2.3.0-150000.3.5.1 | 2.3.0-150000.3.5.1 |
openjpeg2SUSE:Linux Enterprise Module for Package Hub 15 SP3 |
before 2.3.0-150000.3.5.1 | 2.3.0-150000.3.5.1 |
openjpeg2SUSE:Linux Enterprise High Performance Computing 15-ESPOS |
before 2.3.0-150000.3.5.1 | 2.3.0-150000.3.5.1 |
openjpeg2SUSE:Linux Enterprise High Performance Computing 15-LTSS |
before 2.3.0-150000.3.5.1 | 2.3.0-150000.3.5.1 |
openjpeg2SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS |
before 2.3.0-150000.3.5.1 | 2.3.0-150000.3.5.1 |
openjpeg2SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS |
before 2.3.0-150000.3.5.1 | 2.3.0-150000.3.5.1 |
openjpeg2SUSE:Linux Enterprise High Performance Computing 15 SP2-ESPOS |
before 2.3.0-150000.3.5.1 | 2.3.0-150000.3.5.1 |
openjpeg2SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS |
before 2.3.0-150000.3.5.1 | 2.3.0-150000.3.5.1 |
openjpeg2SUSE:Linux Enterprise Real Time 15 SP2 |
before 2.3.0-150000.3.5.1 | 2.3.0-150000.3.5.1 |
openjpeg2SUSE:Linux Enterprise Server 15-LTSS |
before 2.3.0-150000.3.5.1 | 2.3.0-150000.3.5.1 |
openjpeg2SUSE:Linux Enterprise Server 15 SP1-BCL |
before 2.3.0-150000.3.5.1 | 2.3.0-150000.3.5.1 |
openjpeg2SUSE:Linux Enterprise Server 15 SP1-LTSS |
before 2.3.0-150000.3.5.1 | 2.3.0-150000.3.5.1 |
openjpeg2SUSE:Linux Enterprise Server 15 SP2-BCL |
before 2.3.0-150000.3.5.1 | 2.3.0-150000.3.5.1 |
openjpeg2SUSE:Linux Enterprise Server 15 SP2-LTSS |
before 2.3.0-150000.3.5.1 | 2.3.0-150000.3.5.1 |
openjpeg2SUSE:Linux Enterprise Server for SAP Applications 15 |
before 2.3.0-150000.3.5.1 | 2.3.0-150000.3.5.1 |
openjpeg2SUSE:Linux Enterprise Server for SAP Applications 15 SP1 |
before 2.3.0-150000.3.5.1 | 2.3.0-150000.3.5.1 |
openjpeg2SUSE:Linux Enterprise Server for SAP Applications 15 SP2 |
before 2.3.0-150000.3.5.1 | 2.3.0-150000.3.5.1 |
openjpeg2SUSE:Manager Proxy 4.1 |
before 2.3.0-150000.3.5.1 | 2.3.0-150000.3.5.1 |
openjpeg2SUSE:Manager Retail Branch Server 4.1 |
before 2.3.0-150000.3.5.1 | 2.3.0-150000.3.5.1 |
openjpeg2SUSE:Manager Server 4.1 |
before 2.3.0-150000.3.5.1 | 2.3.0-150000.3.5.1 |
openjpeg2SUSE:Enterprise Storage 6 |
before 2.3.0-150000.3.5.1 | 2.3.0-150000.3.5.1 |
openjpeg2SUSE:Enterprise Storage 7 |
before 2.3.0-150000.3.5.1 | 2.3.0-150000.3.5.1 |
openjpeg2openSUSE:Leap 15.3 |
before 2.3.0-150000.3.5.1 | 2.3.0-150000.3.5.1 |
openjpeg2Ubuntu:Pro:18.04:LTS |
before 2.3.0-2ubuntu0.1~esm1, plus listed versions 2.2.0-12.3.0-12.3.0-2build0.18.04.1 |
2.3.0-2ubuntu0.1~esm1 |
openjpeg2Ubuntu:Pro:16.04:LTS |
before 2.1.2-1.1+deb9u6ubuntu0.1~esm1, plus listed versions 2.1.0-2.12.1.0-2.1ubuntu0.12.1.2-1.1+deb9u2build0.12.1.2-1.1+deb9u3build0.16.04.12.1.2-1.1+deb9u3ubuntu0.1~esm12.1.2-1.1+deb9u5build0.16.04.12.1.2-1.1+deb9u5ubuntu0.1~esm12.1.2-1.1+deb9u6build0.16.04.1 |
2.1.2-1.1+deb9u6ubuntu0.1~esm1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| 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-2018-16375 is a high vulnerability (CVSS 8.8) in Uclouvain Openjpeg, published September 3, 2018. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.26%, the 83rd percentile. Fixed in openjpeg2 2.3.1-1.
References
securityfocus.com/bid/105266
github.com/uclouvain/openjpeg/issues/1126
nvd.nist.gov/vuln/detail/CVE-2018-16375
github.com/advisories/GHSA-cr53-w8r4-842j
security-tracker.debian.org/tracker/CVE-2018-16375
suse.com/support/update/announcement/2022/suse-su-20221129-1
Show 58 moreShow less
bugzilla.suse.com/1102016
bugzilla.suse.com/1106881
bugzilla.suse.com/1106882
bugzilla.suse.com/1140130
bugzilla.suse.com/1140205
bugzilla.suse.com/1162090
bugzilla.suse.com/1173578
bugzilla.suse.com/1180457
bugzilla.suse.com/1184774
bugzilla.suse.com/1197738
bugzilla.suse.com/971617
bugzilla.suse.com/980504
suse.com/security/cve/CVE-2016-1924
suse.com/security/cve/CVE-2016-3183
suse.com/security/cve/CVE-2016-4797
suse.com/security/cve/CVE-2018-14423
suse.com/security/cve/CVE-2018-16375
suse.com/security/cve/CVE-2018-16376
suse.com/security/cve/CVE-2018-20845
suse.com/security/cve/CVE-2018-20846
suse.com/security/cve/CVE-2020-15389
suse.com/security/cve/CVE-2020-27823
suse.com/security/cve/CVE-2020-8112
suse.com/security/cve/CVE-2021-29338
suse.com/security/cve/CVE-2022-1122
suse.com/support/update/announcement/2022/suse-su-20221252-1
bugzilla.suse.com/1076314
bugzilla.suse.com/1076967
bugzilla.suse.com/1079845
bugzilla.suse.com/1160782
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-2020-6851
ubuntu.com/security/CVE-2018-16375
cve.org/CVERecord?id=CVE-2018-16375
ubuntu.com/security/notices/USN-4782-1
ubuntu.com/security/CVE-2016-10506
ubuntu.com/security/CVE-2017-12982
ubuntu.com/security/CVE-2018-5727
ubuntu.com/security/CVE-2018-20845
ubuntu.com/security/CVE-2019-12973
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-14039
suse.com/security/cve/CVE-2017-14040
suse.com/security/cve/CVE-2017-14041
suse.com/security/cve/CVE-2017-14151
suse.com/security/cve/CVE-2017-14152
suse.com/security/cve/CVE-2018-18088
suse.com/security/cve/CVE-2018-7648
suse.com/security/cve/CVE-2019-12973