CVE-2016-4796
Heap-based buffer overflow in the color_cmyk_to_rgb in common/color.c in OpenJPEG before 2.1.1...
Heap-based buffer overflow in the color_cmyk_to_rgb in common/color.c in OpenJPEG before 2.1.1 allows remote attackers to cause a denial of service (crash) via a crafted .j2k file.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
5.5
Heap-based buffer overflow in the color_cmyk_to_rgb in common/color.c in OpenJPEG before 2.1.1 allows remote attackers to cause a denial of service (crash) via a crafted .j2k file.
- Record
CVE-2016-4796- CVSS 3.0
- 5.5 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - CVSS 2.0
- 4.3 Medium
AV:N/AC:M/Au:N/C:N/I:N/A:P - Weakness
- CWE-119
- Updated
- 2026-11-02
CVE List No score
Heap-based buffer overflow in the color_cmyk_to_rgb in common/color.c in OpenJPEG before 2.1.1 allows remote attackers to cause a denial of service (crash) via a crafted .j2k file.
- Record
CVE-2016-4796- Updated
- 2026-11-02
EUVDEUVD-2016-5780 No score
Heap-based buffer overflow in the color_cmyk_to_rgb in common/color.c in OpenJPEG before 2.1.1 allows remote attackers to cause a denial of service (crash) via a crafted .j2k file.
- Record
EUVD-2016-5780- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-2mcf-r7v5-r97j
5.5
Heap-based buffer overflow in the color_cmyk_to_rgb in common/color.c in OpenJPEG before 2.1.1...
Heap-based buffer overflow in the color_cmyk_to_rgb in common/color.c in OpenJPEG before 2.1.1 allows remote attackers to cause a denial of service (crash) via a crafted .j2k file.
- Record
GHSA-2mcf-r7v5-r97j- CVSS 3.0
- 5.5 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Weakness
- CWE-119
- Updated
- 2026-11-02
OSVBELL-CVE-2016-4796
5.5
CVE-2016-4796 does not affect BellSoft software
- Record
BELL-CVE-2016-4796- CVSS 3.0
- 5.5 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSV
5.5
Heap-based buffer overflow in the color_cmyk_to_rgb in common/color.c in OpenJPEG before 2.1.1 allows remote attackers to cause a denial of service (crash) via a crafted .j2k file.
- Record
CVE-2016-4796- CVSS 3.0
- 5.5 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2016-4796
5.5
Heap-based buffer overflow in the color_cmyk_to_rgb in common/color.c in OpenJPEG before 2.1.1 allows remote attackers to cause a denial of service (crash) via a crafted .j2k file.
- Record
DEBIAN-CVE-2016-4796- CVSS 3.0
- 5.5 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVMGASA-2016-0362 No score
Updated openjpeg2 packages fix security vulnerabilities
A specially crafted JPEG2000 image file can force Out-Of-Bounds Read in opj_tcd_free_tile() (CVE-2016-3181).
A specially crafted JPEG2000 image file can force Heap Corruption in opj_free() (CVE-2016-3182).
A specially crafted JPEG2000 image file can force Out-Of-Bounds Read in sycc422_to_rgb() (CVE-2016-3183).
OpenJPEG Heap Buffer Overflow in function color_cmyk_to_rgb() in color.c (CVE-2016-4796).
OpenJPEG division-by-zero in function opj_tcd_init_tile() in tcd.c (CVE-2016-4797).
Heap-based buffer overflow in the opj_dwt_interleave_v function in dwt.c in OpenJPEG allows remote attackers to execute arbitrary code via crafted coordinate values in JPEG 2000 data (CVE-2016-5157).
Integer overflow in the opj_pi_create_decode function in pi.c in OpenJPEG allows remote attackers to execute arbitrary code via a crafted JP2 file, which triggers an out-of-bounds read or write (CVE-2016-7163).
convert.c in OpenJPEG before 2.1.2 allows remote attackers to cause a denial of service (NULL pointer dereference and application crash) via vectors involving the variable s (CVE-2016-7445).
A buffer overflow in OpenJPEG 2.1.1 causes arbitrary code execution when parsing a crafted image. An exploitable code execution vulnerability exists in the jpeg2000 image file format parser as implemented in the OpenJpeg library. A specially crafted jpeg2000 file can cause an out of bound heap write resulting in heap corruption leading to arbitrary code execution (CVE-2016-8332).
- Record
MGASA-2016-0362- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
openjpeg2Debian:12 |
before 2.1.1-1 | 2.1.1-1 |
openjpeg2Debian:13 |
before 2.1.1-1 | 2.1.1-1 |
openjpeg2Debian:14 |
before 2.1.1-1 | 2.1.1-1 |
openjpeg2Mageia:5 From an advisory covering 9 CVEs |
before 2.1.2-1.mga5 | 2.1.2-1.mga5 |
ghostscriptMageia:5 From an advisory covering 9 CVEs |
before 9.14-3.2.mga5 | 9.14-3.2.mga5 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2016-4796 is a medium vulnerability (CVSS 5.5) in Uclouvain Openjpeg, published November 3, 2016. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 3.80%, the 90th percentile. Fixed in openjpeg2 2.1.1-1.
References
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5FFMOZOF2EI6N2CR23EQ5EATWLQKBMHW
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HPMDEUIMHTLKMHELDL4F4HZ7X4Y34JEB
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BJM23YERMEC6LCTWBUH7LZURGSLZDFDH
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DFRD35RIPRCGZA5DKAKHZ62LMP2A5UT7
openwall.com/lists/oss-security/2016/05/13/2
oracle.com/security-alerts/cpujul2020.html
Show 20 moreShow less
bugzilla.redhat.com/show_bug.cgi?id=1335482
github.com/uclouvain/openjpeg/commit/162f6199c0cd3ec1c6c6dc65e41b2faab92b2d91
github.com/uclouvain/openjpeg/issues/774
nvd.nist.gov/vuln/detail/CVE-2016-4796
lists.fedoraproject.org/archives/list/[email protected]/message/5FFMOZOF2EI6N2CR23EQ5EATWLQKBMHW
lists.fedoraproject.org/archives/list/[email protected]/message/BJM23YERMEC6LCTWBUH7LZURGSLZDFDH
lists.fedoraproject.org/archives/list/[email protected]/message/DFRD35RIPRCGZA5DKAKHZ62LMP2A5UT7
lists.fedoraproject.org/archives/list/[email protected]/message/HPMDEUIMHTLKMHELDL4F4HZ7X4Y34JEB
github.com/advisories/GHSA-2mcf-r7v5-r97j
docs.bell-sw.com/security/cves/CVE-2016-4796
security-tracker.debian.org/tracker/CVE-2016-4796
advisories.mageia.org/MGASA-2016-0362.html
bugs.mageia.org/show_bug.cgi?id=17536
lists.fedoraproject.org/archives/list/[email protected]/thread/HPMDEUIMHTLKMHELDL4F4HZ7X4Y34JEB
github.com/uclouvain/openjpeg/blob/master/CHANGELOG.md
debian.org/security/2016/dsa-3665
lists.opensuse.org/opensuse-updates/2016-09/msg00109.html
talosintelligence.com/reports/TALOS-2016-0193
openjpeg.org/2016/09/28/OpenJPEG-2.1.2-released
github.com/uclouvain/openjpeg/blob/openjpeg-2.1/CHANGELOG.md