Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2016-10506

Division-by-zero vulnerabilities in the functions opj_pi_next_cprl, opj_pi_next_pcrl, and opj_pi_next_rpcl in pi.c in OpenJPEG before 2.2.0 allow remote attackers to cause a denial of service (application crash) via crafted j2k files.

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

Source evidence

CVE-2016-10506

core-osv · Original source

Published 30 Aug 2017, 09:29 UTC

Division-by-zero vulnerabilities in the functions opj_pi_next_cprl, opj_pi_next_pcrl, and opj_pi_next_rpcl in pi.c in OpenJPEG before 2.2.0 allow remote attackers to cause a denial of service (application crash) via crafted j2k files.

osv:CVE-2016-10506
Complete source record
{
  "id": "72ca30f7c0a34381005f0c19c1e7db73ae55dcff406bfaae29ec016c8578221c",
  "url": "https://osv.dev/vulnerability/CVE-2016-10506",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2016-10506",
    "summary": "Division-by-zero vulnerabilities in the functions opj_pi_next_cprl, opj_pi_next_pcrl, and opj_pi_next_rpcl in pi.c in OpenJPEG before 2.2.0 allow remote attackers to cause a denial of service (application crash) via crafted j2k files.",
    "evidence": "osv:CVE-2016-10506",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2016-10506",
      "aliases": [
        "CVE-2016-10506"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/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"
                },
                {
                  "last_affected": "1f1e968269bbd7eaade7955892a6d8c281b91df2"
                },
                {
                  "fixed": "d27ccf01c68a31ad62b33d2dc1ba2bb1eeaafe7b"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:uclouvain:openjpeg:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "2.1.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "d27ccf01c68a31ad62b33d2dc1ba2bb1eeaafe7b"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v2.1.2",
            "v2.1.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-10506.json",
            "vanir_signatures": [
              {
                "id": "CVE-2016-10506-18976f34",
                "digest": {
                  "length": 3179,
                  "function_hash": "167164687698101658463742221507089281916"
                },
                "source": "https://github.com/uclouvain/openjpeg/commit/d27ccf01c68a31ad62b33d2dc1ba2bb1eeaafe7b",
                "target": {
                  "file": "src/lib/openjp2/pi.c",
                  "function": "opj_pi_next_cprl"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2016-10506-a92a5a3f",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "51750788369557480713506462597020242584",
                    "230186866651863468500491536757644773115",
                    "95246622218983275867584400251886879705",
                    "147556222807824833849631254568777656820",
                    "51750788369557480713506462597020242584",
                    "230186866651863468500491536757644773115",
                    "95246622218983275867584400251886879705",
                    "147556222807824833849631254568777656820",
                    "51750788369557480713506462597020242584",
                    "230186866651863468500491536757644773115",
                    "95246622218983275867584400251886879705",
                    "147556222807824833849631254568777656820"
                  ]
                },
                "source": "https://github.com/uclouvain/openjpeg/commit/d27ccf01c68a31ad62b33d2dc1ba2bb1eeaafe7b",
                "target": {
                  "file": "src/lib/openjp2/pi.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2016-10506-c86ec459",
                "digest": {
                  "length": 3236,
                  "function_hash": "77641386530552347311649790027471995486"
                },
                "source": "https://github.com/uclouvain/openjpeg/commit/d27ccf01c68a31ad62b33d2dc1ba2bb1eeaafe7b",
                "target": {
                  "file": "src/lib/openjp2/pi.c",
                  "function": "opj_pi_next_rpcl"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2016-10506-d210f695",
                "digest": {
                  "length": 3255,
                  "function_hash": "256868168234277005893783454191035574985"
                },
                "source": "https://github.com/uclouvain/openjpeg/commit/d27ccf01c68a31ad62b33d2dc1ba2bb1eeaafe7b",
                "target": {
                  "file": "src/lib/openjp2/pi.c",
                  "function": "opj_pi_next_pcrl"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-20T13:13:19Z"
          }
        }
      ],
      "modified": "2026-10-20T13:13:19.925437346Z",
      "provider": "osv",
      "references": [
        "https://security.gentoo.org/glsa/201710-26",
        "https://github.com/uclouvain/openjpeg/commit/d27ccf01c68a31ad62b33d2dc1ba2bb1eeaafe7b",
        "https://github.com/uclouvain/openjpeg/issues/731",
        "https://github.com/uclouvain/openjpeg/issues/732",
        "https://github.com/uclouvain/openjpeg/issues/777",
        "https://github.com/uclouvain/openjpeg/issues/778",
        "https://github.com/uclouvain/openjpeg/issues/779",
        "https://github.com/uclouvain/openjpeg/issues/780"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2016-10506",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 387320,
  "published_at": "2017-08-30T09:29:00.327+00:00"
}