CVE-2018-20847
published 2019-06-26CVE-2018-20847: An improper computation of p_tx0, p_tx1, p_ty0 and p_ty1 in the function opj_get_encoding_parameters in openjp2/pi.c in OpenJPEG through 2.3.0 can lead to an…
PriorityP340high8.8CVSS 3.1
AVNACLPRNUIRSUCHIHAH
EPSS
2.17%
80.3th percentile
An improper computation of p_tx0, p_tx1, p_ty0 and p_ty1 in the function opj_get_encoding_parameters in openjp2/pi.c in OpenJPEG through 2.3.0 can lead to an integer overflow.
Affected
8 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | debian_linux | — | — |
| 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+deb9u5build0.16.04.1 | 2.1.2-1.1+deb9u5build0.16.04.1 |
| uclouvain | openjpeg | <= 2.3.0 | — |
CVSS provenance
nvdv3.18.8HIGHCVSS:3.1/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_ubuntu7.5HIGH
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.
Ubuntu
OpenJPEG vulnerabilities
vendor_ubuntu·2020-09-15·CVSS 7.5
CVE-2018-20847 [HIGH] OpenJPEG vulnerabilities
Title: OpenJPEG vulnerabilities
Summary: Several security issues were fixed in OpenJPEG.
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-9112)
It was discovered that OpenJPEG did not properly handle certain input. If
OpenJPEG were supplied with specially crafted input, it could be made to crash
or potentially execute arbitrary code.
(CVE-2018-20847, CVE-2018-21010, CVE-2020-6851, CVE-2020-8112, CVE-2020-15389)
It was discovered that OpenJPEG incorrectly handled certain BMP files. A
remote attacker could possibly use this issue to cause a denial of service.
(CVE-2019-12973)
Instructions: In general, a standard system update will make all the necessary changes.
Red Hat
openjpeg: integer overflow in function opj_get_encoding_parameters in openjp2/pi.c
vendor_redhat·2019-06-26·CVSS 8.8
CVE-2018-20847 [HIGH] CWE-190 openjpeg: integer overflow in function opj_get_encoding_parameters in openjp2/pi.c
openjpeg: integer overflow in function opj_get_encoding_parameters in openjp2/pi.c
An improper computation of p_tx0, p_tx1, p_ty0 and p_ty1 in the function opj_get_encoding_parameters in openjp2/pi.c in OpenJPEG through 2.3.0 can lead to an integer overflow.
Statement: This issue did not affect the versions of openjpeg as shipped with Red Hat Enterprise Linux 7 as they did not include the vulnerable code, due to an older version of the tool being shipped.
This issue did not affect the versions of openjpeg2 as shipped with Red Hat Enterprise Linux 7 as they already contain the patched code.
Package: openjpeg (Red Hat Enterprise Linux 6) - Out of support scope
Package: openjpeg (Red Hat Enterprise Linux 7) - Not affected
Package: openjpeg2 (Red Hat Enterprise Linux 7) - Not affected
Debian
CVE-2018-20847: openjpeg2 - An improper computation of p_tx0, p_tx1, p_ty0 and p_ty1 in the function opj_get...
vendor_debian·2018·CVSS 8.8
CVE-2018-20847 [HIGH] CVE-2018-20847: openjpeg2 - An improper computation of p_tx0, p_tx1, p_ty0 and p_ty1 in the function opj_get...
An improper computation of p_tx0, p_tx1, p_ty0 and p_ty1 in the function opj_get_encoding_parameters in openjp2/pi.c in OpenJPEG through 2.3.0 can lead to an integer 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)
GHSA
GHSA-m375-m9p8-9949: An improper computation of p_tx0, p_tx1, p_ty0 and p_ty1 in the function opj_get_encoding_parameters in openjp2/pi
ghsa_unreviewed·2022-05-24
CVE-2018-20847 [HIGH] CWE-190 GHSA-m375-m9p8-9949: An improper computation of p_tx0, p_tx1, p_ty0 and p_ty1 in the function opj_get_encoding_parameters in openjp2/pi
An improper computation of p_tx0, p_tx1, p_ty0 and p_ty1 in the function opj_get_encoding_parameters in openjp2/pi.c in OpenJPEG through 2.3.0 can lead to an integer overflow.
OSV
OpenJPEG vulnerabilities
osv·2020-09-15·CVSS 7.5
CVE-2016-9112 [HIGH] OpenJPEG vulnerabilities
OpenJPEG 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-9112)
It was discovered that OpenJPEG did not properly handle certain input. If
OpenJPEG were supplied with specially crafted input, it could be made to crash
or potentially execute arbitrary code.
(CVE-2018-20847, CVE-2018-21010, CVE-2020-6851, CVE-2020-8112, CVE-2020-15389)
It was discovered that OpenJPEG incorrectly handled certain BMP files. A
remote attacker could possibly use this issue to cause a denial of service.
(CVE-2019-12973)
OSV
CVE-2018-20847: An improper computation of p_tx0, p_tx1, p_ty0 and p_ty1 in the function opj_get_encoding_parameters in openjp2/pi
osv·2019-06-26·CVSS 8.8
CVE-2018-20847 [HIGH] CVE-2018-20847: An improper computation of p_tx0, p_tx1, p_ty0 and p_ty1 in the function opj_get_encoding_parameters in openjp2/pi
An improper computation of p_tx0, p_tx1, p_ty0 and p_ty1 in the function opj_get_encoding_parameters in openjp2/pi.c in OpenJPEG through 2.3.0 can lead to an integer overflow.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2018-20847 openjpeg2: openjpeg: integer overflow in function opj_get_encoding_parameters in openjp2/pi.c [openstack-rdo]
bugzilla·2019-07-17·CVSS 8.8
CVE-2018-20847 [HIGH] CVE-2018-20847 openjpeg2: openjpeg: integer overflow in function opj_get_encoding_parameters in openjp2/pi.c [openstack-rdo]
CVE-2018-20847 openjpeg2: openjpeg: integer overflow in function opj_get_encoding_parameters in openjp2/pi.c [openstack-rdo]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of openstack-rdo.
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.
D
Bugzilla
CVE-2018-20847 openjpeg2: openjpeg: integer overflow in function opj_get_encoding_parameters in openjp2/pi.c [epel-all]
bugzilla·2019-07-10·CVSS 8.8
CVE-2018-20847 [HIGH] CVE-2018-20847 openjpeg2: openjpeg: integer overflow in function opj_get_encoding_parameters in openjp2/pi.c [epel-all]
CVE-2018-20847 openjpeg2: openjpeg: integer overflow in function opj_get_encoding_parameters in openjp2/pi.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 i
Bugzilla
CVE-2018-20847 openjpeg: integer overflow in function opj_get_encoding_parameters in openjp2/pi.c
bugzilla·2019-07-10·CVSS 8.8
CVE-2018-20847 [HIGH] CVE-2018-20847 openjpeg: integer overflow in function opj_get_encoding_parameters in openjp2/pi.c
CVE-2018-20847 openjpeg: integer overflow in function opj_get_encoding_parameters in openjp2/pi.c
An improper computation of p_tx0, p_tx1, p_ty0 and p_ty1 in the function opj_get_encoding_parameters in openjp2/pi.c in OpenJPEG through 2.3.0 can lead to an integer overflow.
Reference:
https://github.com/uclouvain/openjpeg/issues/431
Upstream commit:
https://github.com/uclouvain/openjpeg/commit/5d00b719f4b93b1445e6fb4c766b9a9883c57949
https://github.com/uclouvain/openjpeg/pull/1168/commits/c58df149900df862806d0e892859b41115875845
Discussion:
Created openjpeg2 tracking bugs for this issue:
Affects: epel-all [bug 1728510]
---
Created openjpeg tracking bugs for this issue:
Affects: fedora-all [bug 1728511]
---
The patch is already part of openjpeg-2.3.1, which is F28+ and epel7.
---
Bugzilla
CVE-2018-20847 openjpeg: integer overflow in function opj_get_encoding_parameters in openjp2/pi.c [fedora-all]
bugzilla·2019-07-10·CVSS 8.8
CVE-2018-20847 [HIGH] CVE-2018-20847 openjpeg: integer overflow in function opj_get_encoding_parameters in openjp2/pi.c [fedora-all]
CVE-2018-20847 openjpeg: integer overflow in function opj_get_encoding_parameters in openjp2/pi.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 af
http://www.securityfocus.com/bid/108921https://github.com/uclouvain/openjpeg/commit/5d00b719f4b93b1445e6fb4c766b9a9883c57949https://github.com/uclouvain/openjpeg/issues/431https://github.com/uclouvain/openjpeg/pull/1168/commits/c58df149900df862806d0e892859b41115875845https://lists.debian.org/debian-lts-announce/2019/07/msg00010.htmlhttp://www.securityfocus.com/bid/108921https://github.com/uclouvain/openjpeg/commit/5d00b719f4b93b1445e6fb4c766b9a9883c57949https://github.com/uclouvain/openjpeg/issues/431https://github.com/uclouvain/openjpeg/pull/1168/commits/c58df149900df862806d0e892859b41115875845https://lists.debian.org/debian-lts-announce/2019/07/msg00010.html
2019-06-26
Published