Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2017-14041

A stack-based buffer overflow was discovered in the pgxtoimage function in bin/jp2/convert.c in OpenJPEG 2.2.0. The vulnerability causes an out-of-bounds write, which may lead to remote denial of service or possibly remote code execution.

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

Source evidence

CVE-2017-14041

core-osv · Original source

Published 30 Aug 2017, 22:29 UTC

A stack-based buffer overflow was discovered in the pgxtoimage function in bin/jp2/convert.c in OpenJPEG 2.2.0. The vulnerability causes an out-of-bounds write, which may lead to remote denial of service or possibly remote code execution.

osv:CVE-2017-14041
Complete source record
{
  "id": "4485a42a6ba410bcfcad6561319fab75403ffa49a63a8e3b986957afdf658536",
  "url": "https://osv.dev/vulnerability/CVE-2017-14041",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2017-14041",
    "summary": "A stack-based buffer overflow was discovered in the pgxtoimage function in bin/jp2/convert.c in OpenJPEG 2.2.0. The vulnerability causes an out-of-bounds write, which may lead to remote denial of service or possibly remote code execution.",
    "evidence": "osv:CVE-2017-14041",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2017-14041",
      "aliases": [
        "CVE-2017-14041"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/uclouvain/openjpeg",
              "type": "GIT",
              "events": [
                {
                  "introduced": "3d7cde5fc9fbc5618d02160900d32e02ed12a00e"
                },
                {
                  "last_affected": "3d7cde5fc9fbc5618d02160900d32e02ed12a00e"
                },
                {
                  "fixed": "e5285319229a5d77bf316bb0d3a6cbd3cb8666d9"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:uclouvain:openjpeg:2.2.0:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.2.0"
                      },
                      {
                        "last_affected": "2.2.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "range": [
                      {
                        "fixed": "e5285319229a5d77bf316bb0d3a6cbd3cb8666d9"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.2.0",
            "v2.2.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-14041.json",
            "vanir_signatures": [
              {
                "id": "CVE-2017-14041-0ed3cf36",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "93327303174376407343072571110831778964",
                    "333840381891782575213518495759404999871",
                    "239148697901479194340405002524923251242",
                    "126254955518562231447846272145976482727"
                  ]
                },
                "source": "https://github.com/uclouvain/openjpeg/commit/e5285319229a5d77bf316bb0d3a6cbd3cb8666d9",
                "target": {
                  "file": "src/bin/jp2/convert.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2017-14041-92b58e54",
                "digest": {
                  "length": 2972,
                  "function_hash": "62236416517242072582975319192377518961"
                },
                "source": "https://github.com/uclouvain/openjpeg/commit/e5285319229a5d77bf316bb0d3a6cbd3cb8666d9",
                "target": {
                  "file": "src/bin/jp2/convert.c",
                  "function": "pgxtoimage"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-20T13:21:05Z"
          }
        }
      ],
      "modified": "2026-10-20T13:21:05.582393733Z",
      "provider": "osv",
      "references": [
        "https://blogs.gentoo.org/ago/2017/08/28/openjpeg-stack-based-buffer-overflow-write-in-pgxtoimage-convert-c/",
        "https://github.com/uclouvain/openjpeg/commit/e5285319229a5d77bf316bb0d3a6cbd3cb8666d9",
        "https://github.com/uclouvain/openjpeg/issues/997"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*",
              "cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "debian:debian_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "8.0"
                  },
                  {
                    "last_affected": "8.0"
                  },
                  {
                    "introduced": "9.0"
                  },
                  {
                    "last_affected": "9.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2017-14041",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 387537,
  "published_at": "2017-08-30T22:29:00.297+00:00"
}