CVEfocus › CVE database › CVE-2018-20845

CVE-2018-20845

EPSS 2.2% (higher than 83% of CVEs)Published 2019-06-26Updated 2024-08-05Assigner: mitre

Division-by-zero vulnerabilities in the functions pi_next_pcrl, pi_next_cprl, and pi_next_rpcl in openmj2/pi.c in OpenJPEG through 2.3.0 allow remote attackers to cause a denial of service (application crash).

What to do

Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux: see the table below for the fixed version per release.

Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

12Fixed
17Fix pending
5Under investigation
25Will not fix
16Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10blenderFix pendingUBUNTU-CVE-2018-20845
Ubuntu 26.10emscriptenFix pendingUBUNTU-CVE-2018-20845
Ubuntu 26.10qtwebengine-opensource-srcFix pendingUBUNTU-CVE-2018-20845
Ubuntu 26.10texmakerFix pendingUBUNTU-CVE-2018-20845
Ubuntu 26.04blenderUnder investigationUBUNTU-CVE-2018-20845
Ubuntu 26.04emscriptenWill not fix
Marking emscripten ignored as openjpeg2 code is only for test/example. Ubuntu openjpeg2 packages are built with BUILD_MJ2:BOOL=OFF, so the vulnerable code is…
UBUNTU-CVE-2018-20845
Ubuntu 26.04gdcmNot affected
vulnerable_code_not_present
Ubuntu 26.04openjpeg2Not affected
vulnerable_code_not_present
Ubuntu 26.04qtwebengine-opensource-srcFix pendingUBUNTU-CVE-2018-20845
Ubuntu 26.04texmakerUnder investigationUBUNTU-CVE-2018-20845
Ubuntu 25.10blenderWill not fix
Marking emscripten ignored as openjpeg2 code is only for test/example. Ubuntu openjpeg2 packages are built with BUILD_MJ2:BOOL=OFF, so the vulnerable code is…
UBUNTU-CVE-2018-20845
Ubuntu 25.10emscriptenWill not fix
Marking emscripten ignored as openjpeg2 code is only for test/example. Ubuntu openjpeg2 packages are built with BUILD_MJ2:BOOL=OFF, so the vulnerable code is…
UBUNTU-CVE-2018-20845
Ubuntu 25.10gdcmNot affected
vulnerable_code_not_present
Ubuntu 25.10openjpeg2Not affected
vulnerable_code_not_present
Ubuntu 25.10qtwebengine-opensource-srcWill not fix
Marking emscripten ignored as openjpeg2 code is only for test/example. Ubuntu openjpeg2 packages are built with BUILD_MJ2:BOOL=OFF, so the vulnerable code is…
UBUNTU-CVE-2018-20845
Ubuntu 25.10texmakerWill not fix
Marking emscripten ignored as openjpeg2 code is only for test/example. Ubuntu openjpeg2 packages are built with BUILD_MJ2:BOOL=OFF, so the vulnerable code is…
UBUNTU-CVE-2018-20845
Ubuntu 24.04blenderUnder investigationUBUNTU-CVE-2018-20845
Ubuntu 24.04emscriptenWill not fix
Marking emscripten ignored as openjpeg2 code is only for test/example. Ubuntu openjpeg2 packages are built with BUILD_MJ2:BOOL=OFF, so the vulnerable code is…
UBUNTU-CVE-2018-20845
Ubuntu 24.04gdcmNot affected
vulnerable_code_not_present
Ubuntu 24.04openjpeg2Not affected
vulnerable_code_not_present
Ubuntu 24.04qtwebengine-opensource-srcFix pendingUBUNTU-CVE-2018-20845
Ubuntu 24.04texmakerFix pendingUBUNTU-CVE-2018-20845
Ubuntu 22.04blenderUnder investigationUBUNTU-CVE-2018-20845
Ubuntu 22.04emscriptenWill not fix
Marking emscripten ignored as openjpeg2 code is only for test/example. Ubuntu openjpeg2 packages are built with BUILD_MJ2:BOOL=OFF, so the vulnerable code is…
UBUNTU-CVE-2018-20845
Ubuntu 22.04gdcmNot affected
vulnerable_code_not_present
Ubuntu 22.04insighttoolkit4Under investigationUBUNTU-CVE-2018-20845
Ubuntu 22.04openjpeg2Not affected
vulnerable_code_not_present
Ubuntu 22.04qtwebengine-opensource-srcFix pendingUBUNTU-CVE-2018-20845
Ubuntu 22.04texmakerFix pendingUBUNTU-CVE-2018-20845
Ubuntu 20.04blenderWill not fix
Marking emscripten ignored as openjpeg2 code is only for test/example. Ubuntu openjpeg2 packages are built with BUILD_MJ2:BOOL=OFF, so the vulnerable code is…
UBUNTU-CVE-2018-20845
Ubuntu 20.04gdcmNot affected
vulnerable_code_not_present
Ubuntu 20.04insighttoolkit4Will not fix
Marking emscripten ignored as openjpeg2 code is only for test/example. Ubuntu openjpeg2 packages are built with BUILD_MJ2:BOOL=OFF, so the vulnerable code is…
UBUNTU-CVE-2018-20845
Ubuntu 20.04qtwebengine-opensource-srcFix pendingUBUNTU-CVE-2018-20845
Ubuntu 20.04texmakerFix pendingUBUNTU-CVE-2018-20845
Ubuntu 18.04blenderWill not fix
Marking emscripten ignored as openjpeg2 code is only for test/example. Ubuntu openjpeg2 packages are built with BUILD_MJ2:BOOL=OFF, so the vulnerable code is…
UBUNTU-CVE-2018-20845
Ubuntu 18.04emscriptenWill not fix
Marking emscripten ignored as openjpeg2 code is only for test/example. Ubuntu openjpeg2 packages are built with BUILD_MJ2:BOOL=OFF, so the vulnerable code is…
UBUNTU-CVE-2018-20845
Ubuntu 18.04gdcmNot affected
vulnerable_code_not_present
Ubuntu 18.04insighttoolkit4Will not fix
Marking emscripten ignored as openjpeg2 code is only for test/example. Ubuntu openjpeg2 packages are built with BUILD_MJ2:BOOL=OFF, so the vulnerable code is…
UBUNTU-CVE-2018-20845
Ubuntu 18.04openjpeg2Fix pending2.3.0-2ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2018-20845
Ubuntu 18.04qtwebengine-opensource-srcFix pendingUBUNTU-CVE-2018-20845
Ubuntu 18.04texmakerFix pendingUBUNTU-CVE-2018-20845
Ubuntu 16.04blenderWill not fix
Marking emscripten ignored as openjpeg2 code is only for test/example. Ubuntu openjpeg2 packages are built with BUILD_MJ2:BOOL=OFF, so the vulnerable code is…
UBUNTU-CVE-2018-20845
Ubuntu 16.04emscriptenWill not fix
Marking emscripten ignored as openjpeg2 code is only for test/example. Ubuntu openjpeg2 packages are built with BUILD_MJ2:BOOL=OFF, so the vulnerable code is…
UBUNTU-CVE-2018-20845
Ubuntu 16.04gdcmNot affected
vulnerable_code_not_present
Ubuntu 16.04insighttoolkit4Will not fix
Marking emscripten ignored as openjpeg2 code is only for test/example. Ubuntu openjpeg2 packages are built with BUILD_MJ2:BOOL=OFF, so the vulnerable code is…
UBUNTU-CVE-2018-20845
Ubuntu 16.04openjpegWill not fix
Marking emscripten ignored as openjpeg2 code is only for test/example. Ubuntu openjpeg2 packages are built with BUILD_MJ2:BOOL=OFF, so the vulnerable code is…
Ubuntu 16.04openjpeg2Not affected
vulnerable_code_not_present
Ubuntu 16.04texmakerWill not fix
Marking emscripten ignored as openjpeg2 code is only for test/example. Ubuntu openjpeg2 packages are built with BUILD_MJ2:BOOL=OFF, so the vulnerable code is…
UBUNTU-CVE-2018-20845
Ubuntu 14.04blenderWill not fix
Marking emscripten ignored as openjpeg2 code is only for test/example. Ubuntu openjpeg2 packages are built with BUILD_MJ2:BOOL=OFF, so the vulnerable code is…
Ubuntu 14.04emscriptenWill not fix
Marking emscripten ignored as openjpeg2 code is only for test/example. Ubuntu openjpeg2 packages are built with BUILD_MJ2:BOOL=OFF, so the vulnerable code is…
Ubuntu 14.04insighttoolkit4Will not fix
Marking emscripten ignored as openjpeg2 code is only for test/example. Ubuntu openjpeg2 packages are built with BUILD_MJ2:BOOL=OFF, so the vulnerable code is…
Ubuntu 14.04openjpegWill not fix
Marking emscripten ignored as openjpeg2 code is only for test/example. Ubuntu openjpeg2 packages are built with BUILD_MJ2:BOOL=OFF, so the vulnerable code is…
Ubuntu 14.04texmakerWill not fix
Marking emscripten ignored as openjpeg2 code is only for test/example. Ubuntu openjpeg2 packages are built with BUILD_MJ2:BOOL=OFF, so the vulnerable code is…
Debian 14openjpeg2Fixed2.3.1-1DEBIAN-CVE-2018-20845
Debian 13openjpeg2Fixed2.3.1-1DEBIAN-CVE-2018-20845
Debian 12openjpeg2Fixed2.3.1-1DEBIAN-CVE-2018-20845
Red Hat Enterprise Linux 8openjpeg2Fixed0:2.4.0-4.el8RHSA-2021:4251
Red Hat Enterprise Linux 8openjpeg2-develFixed0:2.4.0-4.el8RHSA-2021:4251
Red Hat Enterprise Linux 8openjpeg2-devel-docsFixed0:2.4.0-4.el8RHSA-2021:4251
Red Hat Enterprise Linux 8openjpeg2-toolsFixed0:2.4.0-4.el8RHSA-2021:4251
Red Hat Enterprise Linux 7openjpegFix pending
Fix deferred
Red Hat Enterprise Linux 7openjpeg-develFix pending
Fix deferred
Red Hat Enterprise Linux 7openjpeg-libsFix pending
Fix deferred
Red Hat Enterprise Linux 7openjpeg2Not affected
Red Hat Enterprise Linux 7openjpeg2-develNot affected
Red Hat Enterprise Linux 7openjpeg2-devel-docsNot affected
Red Hat Enterprise Linux 7openjpeg2-toolsNot affected
Red Hat Enterprise Linux 6openjpegWill not fix
Out of support scope
Red Hat Enterprise Linux 6openjpeg-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6openjpeg-libsWill not fix
Out of support scope
AlmaLinux 8openjpeg2Fixed2.4.0-4.el8ALSA-2021:4251
AlmaLinux 8openjpeg2-develFixed2.4.0-4.el8ALSA-2021:4251
AlmaLinux 8openjpeg2-devel-docsFixed2.4.0-4.el8ALSA-2021:4251
AlmaLinux 8openjpeg2-toolsFixed2.4.0-4.el8ALSA-2021:4251
Rocky Linux 8openjpeg2Fixed0:2.4.0-4.el8RLSA-2021:4251

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.