CVE-2018-20847
publishedopenjpeg: integer overflow in function opj_get_encoding_parameters in openjp2/pi.c
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Amazon Linux | AL2 | Release evaluationALAS2-2022-1741 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | openjpeg2 | Advisory build | 2.4.0-4.el8 | ALSA-2021:4251 |
| Debian | jessie | openjpeg2 | Advisory build | 2.1.0-2+deb8u7 | DLA-1851-1 |
| Oracle Linux | 8 | openjpeg2aarch64 | Advisory build | 0:2.4.0-4.el8 | ELSA-2021-4251 |
| Red Hat Enterprise Linux | RHEL-8 | openjpeg2aarch64 | Advisory build | 2.4.0-4.el8 | RHSA-2021:4251 |
| Ubuntu | xenial | libopenjp2-7 | Advisory build | 2.1.2-1.1+deb9u5build0.16.04.1 | USN-4497-1 |
| Amazon Linux | AL2 | openjpeg2aarch64 | Listed in advisory | Not stated | ALAS2-2022-1741 |
Show 67 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Rocky Linux | 8 | openjpeg2aarch64 | Listed in advisory | Not stated | RLSA-2021:4251 |
| AlmaLinux | 8 | openjpeg2-devel | Advisory build | 2.4.0-4.el8 | ALSA-2021:4251 |
| AlmaLinux | 8 | openjpeg2-devel-docs | Advisory build | 2.4.0-4.el8 | ALSA-2021:4251 |
| AlmaLinux | 8 | openjpeg2-tools | Advisory build | 2.4.0-4.el8 | ALSA-2021:4251 |
| Oracle Linux | 8 | openjpeg2x86_64 | Advisory build | 0:2.4.0-4.el8 | ELSA-2021-4251 |
| Oracle Linux | 8 | openjpeg2-develaarch64 | Advisory build | 0:2.4.0-4.el8 | ELSA-2021-4251 |
| Oracle Linux | 8 | openjpeg2-develx86_64 | Advisory build | 0:2.4.0-4.el8 | ELSA-2021-4251 |
| Oracle Linux | 8 | openjpeg2-devel-docsaarch64 | Advisory build | 0:2.4.0-4.el8 | ELSA-2021-4251 |
| Oracle Linux | 8 | openjpeg2-devel-docsx86_64 | Advisory build | 0:2.4.0-4.el8 | ELSA-2021-4251 |
| Oracle Linux | 8 | openjpeg2-toolsaarch64 | Advisory build | 0:2.4.0-4.el8 | ELSA-2021-4251 |
| Oracle Linux | 8 | openjpeg2-toolsx86_64 | Advisory build | 0:2.4.0-4.el8 | ELSA-2021-4251 |
| Red Hat Enterprise Linux | RHEL-8 | openjpeg2i686 | Advisory build | 2.4.0-4.el8 | RHSA-2021:4251 |
| Red Hat Enterprise Linux | RHEL-8 | openjpeg2ppc64le | Advisory build | 2.4.0-4.el8 | RHSA-2021:4251 |
| Red Hat Enterprise Linux | RHEL-8 | openjpeg2s390x | Advisory build | 2.4.0-4.el8 | RHSA-2021:4251 |
| Red Hat Enterprise Linux | RHEL-8 | openjpeg2src | Advisory build | 2.4.0-4.el8 | RHSA-2021:4251 |
| Red Hat Enterprise Linux | RHEL-8 | openjpeg2x86_64 | Advisory build | 2.4.0-4.el8 | RHSA-2021:4251 |
| Red Hat Enterprise Linux | RHEL-8 | openjpeg2-debuginfoaarch64 | Advisory build | 2.4.0-4.el8 | RHSA-2021:4251 |
| Red Hat Enterprise Linux | RHEL-8 | openjpeg2-debuginfoi686 | Advisory build | 2.4.0-4.el8 | RHSA-2021:4251 |
| Red Hat Enterprise Linux | RHEL-8 | openjpeg2-debuginfoppc64le | Advisory build | 2.4.0-4.el8 | RHSA-2021:4251 |
| Red Hat Enterprise Linux | RHEL-8 | openjpeg2-debuginfos390x | Advisory build | 2.4.0-4.el8 | RHSA-2021:4251 |
| Red Hat Enterprise Linux | RHEL-8 | openjpeg2-debuginfox86_64 | Advisory build | 2.4.0-4.el8 | RHSA-2021:4251 |
| Red Hat Enterprise Linux | RHEL-8 | openjpeg2-debugsourceaarch64 | Advisory build | 2.4.0-4.el8 | RHSA-2021:4251 |
| Red Hat Enterprise Linux | RHEL-8 | openjpeg2-debugsourcei686 | Advisory build | 2.4.0-4.el8 | RHSA-2021:4251 |
| Red Hat Enterprise Linux | RHEL-8 | openjpeg2-debugsourceppc64le | Advisory build | 2.4.0-4.el8 | RHSA-2021:4251 |
| Red Hat Enterprise Linux | RHEL-8 | openjpeg2-debugsources390x | Advisory build | 2.4.0-4.el8 | RHSA-2021:4251 |
| Red Hat Enterprise Linux | RHEL-8 | openjpeg2-debugsourcex86_64 | Advisory build | 2.4.0-4.el8 | RHSA-2021:4251 |
| Red Hat Enterprise Linux | RHEL-8 | openjpeg2-devel-docsnoarch | Advisory build | 2.4.0-4.el8 | RHSA-2021:4251 |
| Red Hat Enterprise Linux | RHEL-8 | openjpeg2-toolsaarch64 | Advisory build | 2.4.0-4.el8 | RHSA-2021:4251 |
| Red Hat Enterprise Linux | RHEL-8 | openjpeg2-toolsppc64le | Advisory build | 2.4.0-4.el8 | RHSA-2021:4251 |
| Red Hat Enterprise Linux | RHEL-8 | openjpeg2-toolss390x | Advisory build | 2.4.0-4.el8 | RHSA-2021:4251 |
| Red Hat Enterprise Linux | RHEL-8 | openjpeg2-toolsx86_64 | Advisory build | 2.4.0-4.el8 | RHSA-2021:4251 |
| Red Hat Enterprise Linux | RHEL-8 | openjpeg2-tools-debuginfoaarch64 | Advisory build | 2.4.0-4.el8 | RHSA-2021:4251 |
| Red Hat Enterprise Linux | RHEL-8 | openjpeg2-tools-debuginfoi686 | Advisory build | 2.4.0-4.el8 | RHSA-2021:4251 |
| Red Hat Enterprise Linux | RHEL-8 | openjpeg2-tools-debuginfoppc64le | Advisory build | 2.4.0-4.el8 | RHSA-2021:4251 |
| Red Hat Enterprise Linux | RHEL-8 | openjpeg2-tools-debuginfos390x | Advisory build | 2.4.0-4.el8 | RHSA-2021:4251 |
| Red Hat Enterprise Linux | RHEL-8 | openjpeg2-tools-debuginfox86_64 | Advisory build | 2.4.0-4.el8 | RHSA-2021:4251 |
| Ubuntu | xenial | libopenjp2-tools | Advisory build | 2.1.2-1.1+deb9u5build0.16.04.1 | USN-4497-1 |
| Ubuntu | xenial | libopenjp3d-tools | Advisory build | 2.1.2-1.1+deb9u5build0.16.04.1 | USN-4497-1 |
| Ubuntu | xenial | libopenjp3d7 | Advisory build | 2.1.2-1.1+deb9u5build0.16.04.1 | USN-4497-1 |
| Ubuntu | xenial | libopenjpip-dec-server | Advisory build | 2.1.2-1.1+deb9u5build0.16.04.1 | USN-4497-1 |
| Ubuntu | xenial | libopenjpip-server | Advisory build | 2.1.2-1.1+deb9u5build0.16.04.1 | USN-4497-1 |
| Ubuntu | xenial | libopenjpip-viewer | Advisory build | 2.1.2-1.1+deb9u5build0.16.04.1 | USN-4497-1 |
| Ubuntu | xenial | libopenjpip7 | Advisory build | 2.1.2-1.1+deb9u5build0.16.04.1 | USN-4497-1 |
| Ubuntu | xenial | openjpeg2 | Advisory build | 2.1.2-1.1+deb9u5build0.16.04.1 | USN-4497-1 |
| Amazon Linux | AL2 | openjpeg2i686 | Listed in advisory | Not stated | ALAS2-2022-1741 |
| Amazon Linux | AL2 | openjpeg2noarch | Listed in advisory | Not stated | ALAS2-2022-1741 |
| Amazon Linux | AL2 | openjpeg2src | Listed in advisory | Not stated | ALAS2-2022-1741 |
| Amazon Linux | AL2 | openjpeg2x86_64 | Listed in advisory | Not stated | ALAS2-2022-1741 |
| Rocky Linux | 8 | openjpeg2i686 | Listed in advisory | Not stated | RLSA-2021:4251 |
| Rocky Linux | 8 | openjpeg2src | Listed in advisory | Not stated | RLSA-2021:4251 |
| Rocky Linux | 8 | openjpeg2x86_64 | Listed in advisory | Not stated | RLSA-2021:4251 |
| Rocky Linux | 8 | openjpeg2-debuginfoaarch64 | Listed in advisory | Not stated | RLSA-2021:4251 |
| Rocky Linux | 8 | openjpeg2-debuginfoi686 | Listed in advisory | Not stated | RLSA-2021:4251 |
| Rocky Linux | 8 | openjpeg2-debuginfox86_64 | Listed in advisory | Not stated | RLSA-2021:4251 |
| Rocky Linux | 8 | openjpeg2-debugsourceaarch64 | Listed in advisory | Not stated | RLSA-2021:4251 |
| Rocky Linux | 8 | openjpeg2-debugsourcei686 | Listed in advisory | Not stated | RLSA-2021:4251 |
| Rocky Linux | 8 | openjpeg2-debugsourcex86_64 | Listed in advisory | Not stated | RLSA-2021:4251 |
| Rocky Linux | 8 | openjpeg2-develaarch64 | Listed in advisory | Not stated | RLSA-2021:4251 |
| Rocky Linux | 8 | openjpeg2-develi686 | Listed in advisory | Not stated | RLSA-2021:4251 |
| Rocky Linux | 8 | openjpeg2-develx86_64 | Listed in advisory | Not stated | RLSA-2021:4251 |
| Rocky Linux | 8 | openjpeg2-devel-docsnoarch | Listed in advisory | Not stated | RLSA-2021:4251 |
| Rocky Linux | 8 | openjpeg2-toolsaarch64 | Listed in advisory | Not stated | RLSA-2021:4251 |
| Rocky Linux | 8 | openjpeg2-toolsi686 | Listed in advisory | Not stated | RLSA-2021:4251 |
| Rocky Linux | 8 | openjpeg2-toolsx86_64 | Listed in advisory | Not stated | RLSA-2021:4251 |
| Rocky Linux | 8 | openjpeg2-tools-debuginfoaarch64 | Listed in advisory | Not stated | RLSA-2021:4251 |
| Rocky Linux | 8 | openjpeg2-tools-debuginfoi686 | Listed in advisory | Not stated | RLSA-2021:4251 |
| Rocky Linux | 8 | openjpeg2-tools-debuginfox86_64 | Listed in advisory | Not stated | RLSA-2021:4251 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
5- 108921 http://www.securityfocus.com/bid/108921
- https://github.com/uclouvain/openjpeg/commit/5d00b719f4b93b1445e6fb4c766b9a9883c57949
- https://github.com/uclouvain/openjpeg/issues/431
- https://github.com/uclouvain/openjpeg/pull/1168/commits/c58df149900df862806d0e892859b41115875845
- [debian-lts-announce] 20190710 [SECURITY] [DLA 1851-1] openjpeg2 security update https://lists.debian.org/debian-lts-announce/2019/07/msg00010.html
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- e94c51c75a76b31a7f64f1fd602e4f683cf8bd54345d736a14ee02e0f03d9b4a
- Ingested
- 23 Sep 2026, 07:44:24 UTC
- Source record
- Official CVE record