CVE-2016-9118 json
Heap Buffer Overflow (WRITE of size 4) in function pnmtoimage of convert.c:1719 in OpenJPEG 2.1.2.
published 2016-10-30 10 y ago modified 2026-06-17 4 mo ago also EUVD-2016-9939
- cvss
- 5.3
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.1%
- EPSS 3.1% chance of exploitation in 30 days, percentile 87%
- public exploits
- 0
- none known
Summary
Heap Buffer Overflow (WRITE of size 4) in function pnmtoimage of convert.c:1719 in OpenJPEG 2.1.2.
Patch / fix
- openjpeg2 Debian 14, Debian 13, Debian 12 2.1.2-1.2
debian advisories DEBIAN-CVE-2016-9118
- openjpeg2 Ubuntu 16.04 LTS 2.1.2-1.1+deb9u2build0.1
ubuntu advisories UBUNTU-CVE-2016-9118
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 SLES for SAP 12 SP2, SLES for Raspberry Pi 12 SP2, SLES 12 SP2 +1 more 2.1.0-3.1
suse advisories SUSE-SU-2016:3270-1
- openjpeg2 Package Hub 12 SP1, Package Hub 12 2.1.0-6.1
opensuse advisories openSUSE-SU-2017:2567-1
- openjpeg2 Arch Linux 2.2.0-1
arch linux advisories AVG-54
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2016-9118 updated cvss 5.6
openjpeg2: Multiple security issues
-
Red Hat Enterprise Linux 6 openjpeg, openjpeg-libs Red Hat Enterprise Linux 7 openjpeg, openjpeg-libsnot 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
3.12% chance of exploitation in the next 30 days, higher than 87% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/uclouvain/openjpeg/issues/861 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 5.3 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Classification
- Weakness
-
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
References
-
github.com
/uclouvain/openjpeg/issues/861
exploit, vendor-advisory
-
security.gentoo.org
/glsa/201710-26
vendor-advisory
-
debian.org
/security/2017/dsa-4013
vendor-advisory
-
securityfocus.com
/bid/93976
vdb-entry, third-party-advisory
Sources
- CVE List CVE-2016-9118
- NVD CVE-2016-9118
Fencer Vulns 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.