CVE-2016-4796
published 2017-02-03CVE-2016-4796: 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…
PriorityP426medium5.5CVSS 3.0
AVLACLPRNUIRSUCNINAH
EPSS
3.56%
88.0th percentile
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.
Affected
8 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | openjpeg2 | < openjpeg2 2.1.1-1 (bookworm) | openjpeg2 2.1.1-1 (bookworm) |
| fedoraproject | fedora | — | — |
| fedoraproject | fedora | — | — |
| the_openjpeg_project | openjpeg2 | >= 0 < 2.1.1-1 | 2.1.1-1 |
| the_openjpeg_project | openjpeg2 | >= 0 < 2.1.1-1 | 2.1.1-1 |
| the_openjpeg_project | openjpeg2 | >= 0 < 2.1.1-1 | 2.1.1-1 |
| the_openjpeg_project | openjpeg2 | >= 0 < 2.1.1-1 | 2.1.1-1 |
| uclouvain | openjpeg | <= 2.1.0 | — |
CVSS provenance
nvdv3.05.5MEDIUMCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
nvdv2.04.3MEDIUMAV:N/AC:M/Au:N/C:N/I:N/A:P
osv5.5MEDIUM
vendor_redhat10.0CRITICAL
vendor_debian5.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
nagios: Command injection via curl in MagpieRSS
vendor_redhat·2016-12-13·CVSS 10.0
CVE-2016-9565 [CRITICAL] CWE-77 nagios: Command injection via curl in MagpieRSS
nagios: Command injection via curl in MagpieRSS
MagpieRSS, as used in the front-end component in Nagios Core before 4.2.2 might allow remote attackers to read or write to arbitrary files by spoofing a crafted response from the Nagios RSS feed server. NOTE: this vulnerability exists because of an incomplete fix for CVE-2008-4796.
It was found that an attacker who could control the content of an RSS feed could execute code remotely using the Nagios web interface. This flaw could be used to gain access to the remote system and in some scenarios control over the system.
Mitigation: #!/bin/bash
mv /usr/share/nagios/html/includes/rss /usr/share/nagios/html/includes/rss.disarmed
mv /usr/share/nagios/html/rss-corefeed.php /usr/share/nagios/html/rss-corefeed.php.disarmed
mv /usr/share/nagios/htm
Red Hat
openjpeg: Heap buffer overflow in function color_cmyk_to_rgb in color.c
vendor_redhat·2016-05-06·CVSS 5.5
CVE-2016-4796 [MEDIUM] CWE-228 openjpeg: Heap buffer overflow in function color_cmyk_to_rgb in color.c
openjpeg: Heap buffer overflow in function color_cmyk_to_rgb in color.c
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.
Package: openjpeg (Red Hat Enterprise Linux 6) - Not affected
Package: openjpeg (Red Hat Enterprise Linux 7) - Not affected
Debian
CVE-2016-4796: openjpeg2 - Heap-based buffer overflow in the color_cmyk_to_rgb in common/color.c in OpenJPE...
vendor_debian·2016·CVSS 5.5
CVE-2016-4796 [MEDIUM] CVE-2016-4796: openjpeg2 - Heap-based buffer overflow in the color_cmyk_to_rgb in common/color.c in OpenJPE...
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.
Scope: local
bookworm: resolved (fixed in 2.1.1-1)
bullseye: resolved (fixed in 2.1.1-1)
forky: resolved (fixed in 2.1.1-1)
sid: resolved (fixed in 2.1.1-1)
trixie: resolved (fixed in 2.1.1-1)
GHSA
GHSA-2mcf-r7v5-r97j: Heap-based buffer overflow in the color_cmyk_to_rgb in common/color
ghsa_unreviewed·2022-05-13
CVE-2016-4796 [MEDIUM] CWE-119 GHSA-2mcf-r7v5-r97j: Heap-based buffer overflow in the color_cmyk_to_rgb in common/color
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.
OSV
CVE-2016-4796: Heap-based buffer overflow in the color_cmyk_to_rgb in common/color
osv·2017-02-03·CVSS 5.5
CVE-2016-4796 [MEDIUM] CVE-2016-4796: Heap-based buffer overflow in the color_cmyk_to_rgb in common/color
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.
No detection rules found.
No public exploits indexed.
HackerOne
CVE-2016-4796 OpenJPEG color_cmyk_to_rgb Out-of-Bounds Read Vulnerability
hackerone·2019-11-12·CVSS 5.5
CVE-2016-4796 [MEDIUM] CVE-2016-4796 OpenJPEG color_cmyk_to_rgb Out-of-Bounds Read Vulnerability
CVE-2016-4796 OpenJPEG color_cmyk_to_rgb Out-of-Bounds Read Vulnerability
# CVE-2016-4796 OpenJPEG color_cmyk_to_rgb Out-of-Bounds Read Vulnerability
## 1. About OpenJPEG
OpenJPEG is an open-source JPEG 2000 codec written in C language. It's widely used in lots of Linux OSes such as Ubuntu, RedHat, Debian, Fedora, and so on. The official repository of the OpenJPEG project is available at [GitHub](https://github.com/uclouvain/openjpeg).
## 2. Credit
This vulnerability was discovered by Ke Liu of Tencent's Xuanwu LAB.
## 3. Testing Environments
+ **OS**: Ubuntu
+ **OpenJPEG**: [44a499f](https://github.com/uclouvain/openjpeg/archive/44a499f2acf10b55172d07abf387e5a579a585f7.zip) (Master version before May/6/2016)
+ **Compiler**: Clang
+ **CFLAGS**: ``-g -O0 -fsanitize=address``
## 4. Repr
Bugzilla
CVE-2016-4796 CVE-2016-4797 mingw-openjpeg2: various flaws [fedora-all]
bugzilla·2016-05-12·CVSS 5.5
CVE-2016-4796 [MEDIUM] CVE-2016-4796 CVE-2016-4797 mingw-openjpeg2: various flaws [fedora-all]
CVE-2016-4796 CVE-2016-4797 mingw-openjpeg2: various flaws [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supported versions of Fedora
Bugzilla
CVE-2016-4796 openjpeg: Heap buffer overflow in function color_cmyk_to_rgb in color.c
bugzilla·2016-05-12·CVSS 9.0
CVE-2016-4796 [CRITICAL] CVE-2016-4796 openjpeg: Heap buffer overflow in function color_cmyk_to_rgb in color.c
CVE-2016-4796 openjpeg: Heap buffer overflow in function color_cmyk_to_rgb in color.c
A heap buffer overflow in function color_cmyk_to_rgb in color.c.
Upstream patch:
https://github.com/uclouvain/openjpeg/commit/162f6199c0cd3ec1c6c6dc65e41b2faab92b2d91
CVE request:
http://seclists.org/oss-sec/2016/q2/327
Discussion:
Created mingw-openjpeg2 tracking bugs for this issue:
Affects: fedora-all [bug 1335485]
---
Created openjpeg2 tracking bugs for this issue:
Affects: fedora-all [bug 1335484]
Affects: epel-all [bug 1335486]
---
CVE assignment:
http://seclists.org/oss-sec/2016/q2/342
---
Versions of openjpeg in rhel are too old to be affected by this issue.
---
Adjusted cvss2 score. The overflow area is written with data computed using an OOB read and then manipulated through co
Bugzilla
CVE-2016-4796 CVE-2016-4797 openjpeg2: various flaws [epel-all]
bugzilla·2016-05-12·CVSS 5.5
CVE-2016-4796 [MEDIUM] CVE-2016-4796 CVE-2016-4797 openjpeg2: various flaws [epel-all]
CVE-2016-4796 CVE-2016-4797 openjpeg2: various flaws [epel-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora EPEL.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supported versions of Fedora EP
Bugzilla
CVE-2016-4796 CVE-2016-4797 openjpeg2: various flaws [fedora-all]
bugzilla·2016-05-12·CVSS 5.5
CVE-2016-4796 [MEDIUM] CVE-2016-4796 CVE-2016-4797 openjpeg2: various flaws [fedora-all]
CVE-2016-4796 CVE-2016-4797 openjpeg2: various flaws [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supported versions of Fedora. Whil
http://www.openwall.com/lists/oss-security/2016/05/13/2https://bugzilla.redhat.com/show_bug.cgi?id=1335482https://github.com/uclouvain/openjpeg/commit/162f6199c0cd3ec1c6c6dc65e41b2faab92b2d91https://github.com/uclouvain/openjpeg/issues/774https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5FFMOZOF2EI6N2CR23EQ5EATWLQKBMHW/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BJM23YERMEC6LCTWBUH7LZURGSLZDFDH/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DFRD35RIPRCGZA5DKAKHZ62LMP2A5UT7/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HPMDEUIMHTLKMHELDL4F4HZ7X4Y34JEB/https://www.oracle.com/security-alerts/cpujul2020.htmlhttp://www.openwall.com/lists/oss-security/2016/05/13/2https://bugzilla.redhat.com/show_bug.cgi?id=1335482https://github.com/uclouvain/openjpeg/commit/162f6199c0cd3ec1c6c6dc65e41b2faab92b2d91https://github.com/uclouvain/openjpeg/issues/774https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5FFMOZOF2EI6N2CR23EQ5EATWLQKBMHW/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BJM23YERMEC6LCTWBUH7LZURGSLZDFDH/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DFRD35RIPRCGZA5DKAKHZ62LMP2A5UT7/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HPMDEUIMHTLKMHELDL4F4HZ7X4Y34JEB/https://www.oracle.com/security-alerts/cpujul2020.html
2017-02-03
Published