Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2019-12973

In OpenJPEG 2.3.1, there is excessive iteration in the opj_t1_encode_cblks function of openjp2/t1.c. Remote attackers could leverage this vulnerability to cause a denial of service via a crafted bmp file. This issue is similar to CVE-2018-6616.

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

Source evidence

CVE-2019-12973

core-osv · Original source

Published 26 Jun 2019, 18:15 UTC

In OpenJPEG 2.3.1, there is excessive iteration in the opj_t1_encode_cblks function of openjp2/t1.c. Remote attackers could leverage this vulnerability to cause a denial of service via a crafted bmp file. This issue is similar to CVE-2018-6616.

osv:CVE-2019-12973
Complete source record
{
  "id": "3aa49445341416759be1615adbe306e86c0c871a78d47678cad043c42eae9c06",
  "url": "https://osv.dev/vulnerability/CVE-2019-12973",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2019-12973",
    "summary": "In OpenJPEG 2.3.1, there is excessive iteration in the opj_t1_encode_cblks function of openjp2/t1.c. Remote attackers could leverage this vulnerability to cause a denial of service via a crafted bmp file. This issue is similar to CVE-2018-6616.",
    "evidence": "osv:CVE-2019-12973",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2019-12973",
      "aliases": [
        "CVE-2019-12973"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/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": "57096325457f96d8cd07bd3af04fe81d7a2ba788"
                },
                {
                  "last_affected": "57096325457f96d8cd07bd3af04fe81d7a2ba788"
                },
                {
                  "fixed": "8ee335227bbcaf1614124046aa25e53d67b11ec3"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:uclouvain:openjpeg:2.3.1:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.3.1"
                      },
                      {
                        "last_affected": "2.3.1"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "range": [
                      {
                        "fixed": "8ee335227bbcaf1614124046aa25e53d67b11ec3"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.3.1",
            "v2.3.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-12973.json",
            "vanir_signatures": [
              {
                "id": "CVE-2019-12973-35e0ec8a",
                "digest": {
                  "length": 1399,
                  "function_hash": "81929091039132960155780805690430238765"
                },
                "source": "https://github.com/uclouvain/openjpeg/commit/8ee335227bbcaf1614124046aa25e53d67b11ec3",
                "target": {
                  "file": "src/bin/jp2/convertbmp.c",
                  "function": "bmp_read_rle8_data"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2019-12973-83778897",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "77636936433144648117381511526191110653",
                    "183302273827641616826540289135523153428",
                    "65269223957392472433334701979460511267",
                    "59707955247167473863662549267590613949",
                    "322298667671987638395076744301206986377",
                    "232404145414626107981458196450651320968",
                    "289458997193636776763867888812167293327",
                    "13384536911047527457182828460160666900",
                    "46871980493215975922026015114378524541",
                    "144104948709376102765644926628207135645",
                    "295170891517319101389231089439069449359",
                    "252787013674851661264041490130253976418",
                    "107250163831291265973788838952952422966",
                    "250245717910178570951424657858112863088",
                    "93537647608255735541413567565670746666",
                    "228234405337706127464700532848322466791",
                    "264929650207890875718971684201152659841",
                    "108587633537507210242609878158511307392",
                    "241166423729958240998350858258662147156",
                    "169443768931054359674620264080578889195",
                    "120751972370044129218675960987130825278"
                  ]
                },
                "source": "https://github.com/uclouvain/openjpeg/commit/8ee335227bbcaf1614124046aa25e53d67b11ec3",
                "target": {
                  "file": "src/bin/jp2/convertbmp.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-20T13:39:49Z"
          }
        }
      ],
      "modified": "2026-10-20T13:39:49.452953539Z",
      "provider": "osv",
      "references": [
        "https://github.com/uclouvain/openjpeg/pull/1185/commits/cbe7384016083eac16078b359acd7a842253d503",
        "https://lists.debian.org/debian-lts-announce/2020/07/msg00008.html",
        "https://security.gentoo.org/glsa/202101-29",
        "https://www.oracle.com//security-alerts/cpujul2021.html",
        "https://www.oracle.com/security-alerts/cpujul2020.html",
        "https://github.com/uclouvain/openjpeg/commit/8ee335227bbcaf1614124046aa25e53d67b11ec3"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "debian:debian_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "9.0"
                  },
                  {
                    "last_affected": "9.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:opensuse:leap:15.0:*:*:*:*:*:*:*",
              "cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:*"
            ],
            "vendor_product": "opensuse:leap",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "15.0"
                  },
                  {
                    "last_affected": "15.0"
                  },
                  {
                    "introduced": "15.1"
                  },
                  {
                    "last_affected": "15.1"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:oracle:database_server:18c:*:*:*:*:*:*:*"
            ],
            "vendor_product": "oracle:database_server",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "18c"
                  },
                  {
                    "last_affected": "18c"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:oracle:outside_in_technology:8.5.4:*:*:*:*:*:*:*",
              "cpe:2.3:a:oracle:outside_in_technology:8.5.5:*:*:*:*:*:*:*"
            ],
            "vendor_product": "oracle:outside_in_technology",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "8.5.4"
                  },
                  {
                    "last_affected": "8.5.4"
                  },
                  {
                    "introduced": "8.5.5"
                  },
                  {
                    "last_affected": "8.5.5"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2019-12973",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 387921,
  "published_at": "2019-06-26T18:15:10.12+00:00"
}