CVE-2018-16375
published 2018-09-03CVE-2018-16375: 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…
PriorityP342high8.8CVSS 3.0
AVNACLPRNUIRSUCHIHAH
EPSS
2.44%
82.5th percentile
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.
Affected
8 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | openjpeg2 | < openjpeg2 2.3.1-1 (bookworm) | openjpeg2 2.3.1-1 (bookworm) |
| the_openjpeg_project | openjpeg2 | >= 0 < 2.3.1-1 | 2.3.1-1 |
| the_openjpeg_project | openjpeg2 | >= 0 < 2.3.1-1 | 2.3.1-1 |
| the_openjpeg_project | openjpeg2 | >= 0 < 2.3.1-1 | 2.3.1-1 |
| the_openjpeg_project | openjpeg2 | >= 0 < 2.3.1-1 | 2.3.1-1 |
| the_openjpeg_project | openjpeg2 | >= 0 < 2.1.2-1.1+deb9u6ubuntu0.1~esm1 | 2.1.2-1.1+deb9u6ubuntu0.1~esm1 |
| the_openjpeg_project | openjpeg2 | >= 0 < 2.3.0-2ubuntu0.1~esm1 | 2.3.0-2ubuntu0.1~esm1 |
| uclouvain | openjpeg | — | — |
CVSS provenance
nvdv3.08.8HIGHCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
nvdv2.06.8MEDIUMAV:N/AC:M/Au:N/C:P/I:P/A:P
osv8.8HIGH
vendor_debian8.8LOW
vendor_redhat8.8HIGH
vendor_ubuntu6.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-cr53-w8r4-842j: An issue was discovered in OpenJPEG 2
ghsa_unreviewed·2022-05-13
CVE-2018-16375 [HIGH] CWE-787 GHSA-cr53-w8r4-842j: An issue was discovered in OpenJPEG 2
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.
OSV
openjpeg2 vulnerabilities
osv·2021-03-17·CVSS 6.5
CVE-2016-10506 [MEDIUM] openjpeg2 vulnerabilities
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.
OSV
CVE-2018-16375: An issue was discovered in OpenJPEG 2
osv·2018-09-03·CVSS 8.8
CVE-2018-16375 [HIGH] CVE-2018-16375: An issue was discovered in OpenJPEG 2
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.
Ubuntu
OpenJPEG vulnerabilities
vendor_ubuntu·2021-03-17·CVSS 6.5
CVE-2018-5727 [MEDIUM] OpenJPEG vulnerabilities
Title: OpenJPEG vulnerabilities
Summary: OpenJPEG could be made to crash if it opened a specially crafted file.
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.
Instructions: In general, a standard system update will make all the necessary changes.
Red Hat
openjpeg: Heap-based buffer overflow in pnmtoimage function in bin/jpwl/convert.c
vendor_redhat·2018-09-03·CVSS 8.8
CVE-2018-16375 [HIGH] CWE-122 openjpeg: Heap-based buffer overflow in pnmtoimage function in bin/jpwl/convert.c
openjpeg: Heap-based buffer overflow in pnmtoimage function in bin/jpwl/convert.c
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.
Package: openjpeg (Red Hat Enterprise Linux 6) - Will not fix
Package: openjpeg (Red Hat Enterprise Linux 7) - Not affected
Package: openjpeg2 (Red Hat Enterprise Linux 8) - Not affected
Debian
CVE-2018-16375: openjpeg2 - An issue was discovered in OpenJPEG 2.3.0. Missing checks for header_info.height...
vendor_debian·2018·CVSS 8.8
CVE-2018-16375 [HIGH] CVE-2018-16375: openjpeg2 - An issue was discovered in OpenJPEG 2.3.0. Missing checks for header_info.height...
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.
Scope: local
bookworm: resolved (fixed in 2.3.1-1)
bullseye: resolved (fixed in 2.3.1-1)
forky: resolved (fixed in 2.3.1-1)
sid: resolved (fixed in 2.3.1-1)
trixie: resolved (fixed in 2.3.1-1)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2018-16375 openjpeg: Heap-based buffer overflow in pnmtoimage function in bin/jpwl/convert.c [fedora-all]
bugzilla·2018-09-07·CVSS 8.8
CVE-2018-16375 [HIGH] CVE-2018-16375 openjpeg: Heap-based buffer overflow in pnmtoimage function in bin/jpwl/convert.c [fedora-all]
CVE-2018-16375 openjpeg: Heap-based buffer overflow in pnmtoimage function in bin/jpwl/convert.c [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue aff
Bugzilla
CVE-2018-16375 openjpeg2: openjpeg: Heap-based buffer overflow in pnmtoimage function in bin/jpwl/convert.c [fedora-all]
bugzilla·2018-09-07·CVSS 8.8
CVE-2018-16375 [HIGH] CVE-2018-16375 openjpeg2: openjpeg: Heap-based buffer overflow in pnmtoimage function in bin/jpwl/convert.c [fedora-all]
CVE-2018-16375 openjpeg2: openjpeg: Heap-based buffer overflow in pnmtoimage function in bin/jpwl/convert.c [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: thi
Bugzilla
CVE-2018-16375 mingw-openjpeg2: openjpeg: Heap-based buffer overflow in pnmtoimage function in bin/jpwl/convert.c [fedora-all]
bugzilla·2018-09-07·CVSS 8.8
CVE-2018-16375 [HIGH] CVE-2018-16375 mingw-openjpeg2: openjpeg: Heap-based buffer overflow in pnmtoimage function in bin/jpwl/convert.c [fedora-all]
CVE-2018-16375 mingw-openjpeg2: openjpeg: Heap-based buffer overflow in pnmtoimage function in bin/jpwl/convert.c [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOT
Bugzilla
CVE-2018-16375 openjpeg2: openjpeg: Heap-based buffer overflow in pnmtoimage function in bin/jpwl/convert.c [epel-all]
bugzilla·2018-09-07·CVSS 8.8
CVE-2018-16375 [HIGH] CVE-2018-16375 openjpeg2: openjpeg: Heap-based buffer overflow in pnmtoimage function in bin/jpwl/convert.c [epel-all]
CVE-2018-16375 openjpeg2: openjpeg: Heap-based buffer overflow in pnmtoimage function in bin/jpwl/convert.c [epel-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of epel-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this is
Bugzilla
CVE-2018-16375 openjpeg: Heap-based buffer overflow in pnmtoimage function in bin/jpwl/convert.c
bugzilla·2018-09-06·CVSS 8.8
CVE-2018-16375 [HIGH] CVE-2018-16375 openjpeg: Heap-based buffer overflow in pnmtoimage function in bin/jpwl/convert.c
CVE-2018-16375 openjpeg: Heap-based buffer overflow in pnmtoimage function in bin/jpwl/convert.c
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.
Upstream bug:
https://github.com/uclouvain/openjpeg/issues/1126
Discussion:
Upstream issue: https://github.com/uclouvain/openjpeg/issues/861
Patch: https://github.com/uclouvain/openjpeg/commit/c22cbd8bdf8ff2ae372f94391a4be2d322b36b41
Analysis:
Heap-buffer overflow while converting image from PNM format. Specially-crafted values in the header, could cause integer overflow. This leads to a small buffer being allocated. Later when file contents are read into this buffer it leads to heap-overflow. Arbi
2018-09-03
Published