CVE-2018-18088 Null dereference in n/a

Medium 6.5 Published Updated

A NULL pointer dereference in OpenJPEG allows attackers to cause a denial of service via crafted JP2 images.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2018-18088?

CVE-2018-18088 is a medium-severity vulnerability in Debian Debian Linux, published on 9 Oct 2018. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

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

Weakness: CWE-476

Which versions are affected by CVE-2018-18088?

It affects 2 products.

Linux distribution packages (6)
openjpeg2 SUSE:Linux Enterprise Module for Basesystem 15 SP6All versions2.3.0-150000.3.21.1
openjpeg2 SUSE:Linux Enterprise Module for Basesystem 15 SP7All versions2.3.0-150000.3.21.1
openjpeg2 SUSE:Linux Enterprise Module for Package Hub 15 SP6All versions2.3.0-150000.3.21.1
openjpeg2 SUSE:Linux Enterprise Module for Package Hub 15 SP7All versions2.3.0-150000.3.21.1
openjpeg2 SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5All versions2.1.0-4.24.1
openjpeg2 openSUSE:Leap 15.6All versions2.3.0-150000.3.21.1

Products include Debian Debian Linux, Uclouvain Openjpeg.

How do I fix CVE-2018-18088?

Apply the vendor's patch.

Is CVE-2018-18088 being exploited?

There is no known exploitation of CVE-2018-18088 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as ALPINE-CVE-2018-18088, DEBIAN-CVE-2018-18088, GHSA-59q2-6672-5mgr, SUSE-SU-2025:03352-1, SUSE-SU-2025:03353-1, UBUNTU-CVE-2018-18088.

Is CVE-2018-18088 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free