CVEfocus › CVE database › CVE-2018-18088

CVE-2018-18088

CVSS 6.5 MediumEPSS 2.2% (higher than 83% of CVEs)Published 2018-10-09Updated 2024-08-05Assigner: mitre

OpenJPEG 2.3.0 has a NULL pointer dereference for "red" in the imagetopnm function of jp2/convert.c

What to do

Fixed builds are available from Alpine, Debian, Ubuntu: see the table below for the fixed version per release.

Ubuntu has 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

24Fixed
2Fix pending
8Not 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.04openjpeg2Not affected
vulnerable_code_not_present
Ubuntu 25.10openjpeg2Not affected
vulnerable_code_not_present
Ubuntu 24.04openjpeg2Not affected
vulnerable_code_not_present
Ubuntu 22.04openjpeg2Not affected
vulnerable_code_not_present
Ubuntu 18.04openjpeg2Fixed2.3.0-2build0.18.04.1UBUNTU-CVE-2018-18088
Ubuntu 16.04openjpegFix pending1:1.5.2-3.1ubuntu0.1~esm2 (Ubuntu Pro)UBUNTU-CVE-2018-18088
Ubuntu 16.04openjpeg2Fixed2.1.2-1.1+deb9u3build0.16.04.1UBUNTU-CVE-2018-18088
Ubuntu 14.04openjpegFix pendingUBUNTU-CVE-2018-18088
Debian 14openjpeg2Fixed2.3.0-2DEBIAN-CVE-2018-18088
Debian 13openjpeg2Fixed2.3.0-2DEBIAN-CVE-2018-18088
Debian 12openjpeg2Fixed2.3.0-2DEBIAN-CVE-2018-18088
Red Hat Enterprise Linux 8openjpeg2Not affected
Red Hat Enterprise Linux 8openjpeg2-develNot affected
Red Hat Enterprise Linux 8openjpeg2-devel-docsNot affected
Red Hat Enterprise Linux 8openjpeg2-toolsNot affected
Alpine Linux 3.24openjpegFixed2.3.0-r1ALPINE-CVE-2018-18088
Alpine Linux 3.23openjpegFixed2.3.0-r1ALPINE-CVE-2018-18088
Alpine Linux 3.22openjpegFixed2.3.0-r1ALPINE-CVE-2018-18088
Alpine Linux 3.21openjpegFixed2.3.0-r1ALPINE-CVE-2018-18088
Alpine Linux 3.20openjpegFixed2.3.0-r1ALPINE-CVE-2018-18088
Alpine Linux 3.19openjpegFixed2.3.0-r1ALPINE-CVE-2018-18088
Alpine Linux 3.18openjpegFixed2.3.0-r1ALPINE-CVE-2018-18088
Alpine Linux 3.17openjpegFixed2.3.0-r1ALPINE-CVE-2018-18088
Alpine Linux 3.16openjpegFixed2.3.0-r1ALPINE-CVE-2018-18088
Alpine Linux 3.15openjpegFixed2.3.0-r1ALPINE-CVE-2018-18088
Alpine Linux 3.14openjpegFixed2.3.0-r1ALPINE-CVE-2018-18088
Alpine Linux 3.13openjpegFixed2.3.0-r1ALPINE-CVE-2018-18088
Alpine Linux 3.12openjpegFixed2.3.0-r1ALPINE-CVE-2018-18088
Alpine Linux 3.11openjpegFixed2.3.0-r1ALPINE-CVE-2018-18088
Alpine Linux 3.10openjpegFixed2.3.0-r1ALPINE-CVE-2018-18088
Alpine Linux 3.9openjpegFixed2.3.0-r1ALPINE-CVE-2018-18088
Alpine Linux 3.8openjpegFixed2.3.0-r1ALPINE-CVE-2018-18088
Alpine Linux 3.7openjpegFixed2.3.0-r1ALPINE-CVE-2018-18088
Alpine Linux 3.6openjpegFixed2.3.0-r1ALPINE-CVE-2018-18088

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

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.