CVE-2018-20847Integer Overflow or Wraparound in Openjpeg

Severity
8.8HIGHNVD
OSV7.5
EPSS
0.7%
top 27.41%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedJun 26
Latest updateMay 24

Description

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.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HExploitability: 2.8 | Impact: 5.9

Affected Packages3 packages

Debianthe_openjpeg_project/openjpeg2< 2.3.1-1+3
Ubuntuthe_openjpeg_project/openjpeg2< 2.1.2-1.1+deb9u5build0.16.04.1

Also affects: Debian Linux 8.0

Patches

🔴Vulnerability Details

4
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/pi2022-05-24
OSV
OpenJPEG vulnerabilities2020-09-15
CVEList
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/pi2019-06-26
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/pi2019-06-26

📋Vendor Advisories

3
Ubuntu
OpenJPEG vulnerabilities2020-09-15
Red Hat
openjpeg: integer overflow in function opj_get_encoding_parameters in openjp2/pi.c2019-06-26
Debian
CVE-2018-20847: openjpeg2 - An improper computation of p_tx0, p_tx1, p_ty0 and p_ty1 in the function opj_get...2018

💬Community

4
Bugzilla
CVE-2018-20847 openjpeg2: openjpeg: integer overflow in function opj_get_encoding_parameters in openjp2/pi.c [openstack-rdo]2019-07-17
Bugzilla
CVE-2018-20847 openjpeg2: openjpeg: integer overflow in function opj_get_encoding_parameters in openjp2/pi.c [epel-all]2019-07-10
Bugzilla
CVE-2018-20847 openjpeg: integer overflow in function opj_get_encoding_parameters in openjp2/pi.c2019-07-10
Bugzilla
CVE-2018-20847 openjpeg: integer overflow in function opj_get_encoding_parameters in openjp2/pi.c [fedora-all]2019-07-10
CVE-2018-20847 — Integer Overflow or Wraparound | cvebase