Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-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 a crafted .j2k file.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2016-4796
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 12:10 UTC · Revision 1

Source evidence

CVE-2016-4796

core-osv · Original source

Published 3 Feb 2017, 16:59 UTC

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
Complete source record
{
  "id": "6f602168c6a4df1a0b5dfccd1b17009321d9fa5246938711b284b511542cb946",
  "url": "https://osv.dev/vulnerability/CVE-2016-4796",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2016-4796",
    "summary": "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.",
    "evidence": "osv:CVE-2016-4796",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2016-4796",
      "aliases": [
        "CVE-2016-4796"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/uclouvain/openjpeg",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "53f25200ed696cf5dc71d5fe12faad2570861b20"
                },
                {
                  "fixed": "162f6199c0cd3ec1c6c6dc65e41b2faab92b2d91"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2.1.1"
                      }
                    ],
                    "source": "DESCRIPTION"
                  },
                  {
                    "range": [
                      {
                        "fixed": "162f6199c0cd3ec1c6c6dc65e41b2faab92b2d91"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-4796.json",
            "vanir_signatures": [
              {
                "id": "CVE-2016-4796-64fc458f",
                "digest": {
                  "length": 1551,
                  "function_hash": "134464743987787230719671113372916798236"
                },
                "source": "https://github.com/uclouvain/openjpeg/commit/162f6199c0cd3ec1c6c6dc65e41b2faab92b2d91",
                "target": {
                  "file": "src/bin/common/color.c",
                  "function": "color_cmyk_to_rgb"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2016-4796-e267dae1",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "281879827006156950804066750185371585500",
                    "242510693724452804591160714773927432543",
                    "139685648053095491543908164286238942877",
                    "228032896656891271929285980984670012589"
                  ]
                },
                "source": "https://github.com/uclouvain/openjpeg/commit/162f6199c0cd3ec1c6c6dc65e41b2faab92b2d91",
                "target": {
                  "file": "src/bin/common/color.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-20T13:15:37Z"
          }
        }
      ],
      "modified": "2026-10-20T13:15:37.612359409Z",
      "provider": "osv",
      "references": [
        "https://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",
        "https://bugzilla.redhat.com/show_bug.cgi?id=1335482",
        "https://github.com/uclouvain/openjpeg/commit/162f6199c0cd3ec1c6c6dc65e41b2faab92b2d91",
        "https://github.com/uclouvain/openjpeg/issues/774"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:a:uclouvain:openjpeg:*:*:*:*:*:*:*:*"
            ],
            "vendor_product": "uclouvain:openjpeg",
            "extracted_events": [
              {
                "range": [
                  {
                    "last_affected": "2.1.0"
                  }
                ],
                "source": "CPE_RANGE"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:fedoraproject:fedora:23:*:*:*:*:*:*:*",
              "cpe:2.3:o:fedoraproject:fedora:24:*:*:*:*:*:*:*"
            ],
            "vendor_product": "fedoraproject:fedora",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "23"
                  },
                  {
                    "last_affected": "23"
                  },
                  {
                    "introduced": "24"
                  },
                  {
                    "last_affected": "24"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2016-4796",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 387409,
  "published_at": "2017-02-03T16:59:00.247+00:00"
}