CVE-2018-18088 json
OpenJPEG 2.3.0 has a NULL pointer dereference for "red" in the imagetopnm function of jp2/convert.c
published 8y ago modified 4mo ago also EUVD-2018-9826
- cvss
- 6.5
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.2%
- EPSS 2.2% chance of exploitation in 30 days, percentile 82%
- public exploits
- 0
- none known
Summary
OpenJPEG 2.3.0 has a NULL pointer dereference for "red" in the imagetopnm function of jp2/convert.c
Patch / fix
- openjpeg2 Debian 14, Debian 13, Debian 12 2.3.0-2
debian advisories DEBIAN-CVE-2018-18088
- openjpeg2 Ubuntu 16.04 LTS 2.1.2-1.1+deb9u3build0.16.04.1
- openjpeg2 Ubuntu 18.04 LTS 2.3.0-2build0.18.04.1
- openjpeg Ubuntu Pro 16.04 LTS 1:1.5.2-3.1ubuntu0.1~esm2
ubuntu advisories UBUNTU-CVE-2018-18088
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- openjpeg2 SLE Module for Package Hub 15 SP7, SLE Module for Package Hub 15 SP6, SLE Module for Basesystem 15 SP7 +2 more 2.3.0-150000.3.21.1
- openjpeg2 SLES LTSS Extended Security 12 SP5 2.1.0-4.24.1
suse advisories SUSE-SU-2025:03353-1SUSE-SU-2025:03352-1
- openjpeg Alpine 3.24, Alpine 3.23, Alpine 3.22 +16 more 2.3.0-r1
alpine advisories ALPINE-CVE-2018-18088
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Is CVE-2018-18088 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2018-18088 updated cvss 3.3
openjpeg2: NULL pointer dereference in the imagetopnm function of jp2/convert.c
-
Red Hat Enterprise Linux 8 openjpeg2, openjpeg2-toolsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.18% chance of exploitation in the next 30 days, higher than 82% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- github.com https://github.com/uclouvain/openjpeg/issues/1152 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 6.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:N/A:P |
Classification
- Weakness
-
- CWE-476 NULL Pointer Dereference
References
-
github.com
/uclouvain/openjpeg/issues/1152
exploit, third-party-advisory
-
debian.org
/security/2019/dsa-4405
vendor-advisory, third-party-advisory
-
usn.ubuntu.com
/4109-1/
vendor-advisory
-
lists.debian.org
/debian-lts-announce/2018/11/msg00018.html
mailing-list, third-party-advisory
Sources
- CVE List CVE-2018-18088
- NVD CVE-2018-18088
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.