Skip to content
Heist/ feed
Back to feed
CriticalFix available

openjpeg2 — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2018-7648

An issue was discovered in mj2/opj_mj2_extract.c in OpenJPEG 2.3.0. The output prefix was not checked for length, which could overflow a buffer, when providing a prefix with 50 or more characters on the command line.

Products
openjpeg2
Affected versions
Not specified
Fixed versions
2.3.1-1
CVEs
CVE-2018-7648
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 00:48 UTC · Revision 1

Source evidence

DEBIAN-CVE-2018-7648

core-osv · Original source

Published 2 Mar 2018, 16:29 UTC

An issue was discovered in mj2/opj_mj2_extract.c in OpenJPEG 2.3.0. The output prefix was not checked for length, which could overflow a buffer, when providing a prefix with 50 or more characters on the command line.

osv:DEBIAN-CVE-2018-7648

openjpeg2

Fixed versions: 2.3.1-1

openjpeg2

Fixed versions: 2.3.1-1

openjpeg2

Fixed versions: 2.3.1-1

Complete source record
{
  "id": "b492e2ed4556e4c6b54a16c52db186ad131ada88b15e83b496f91e7028ce14ea",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2018-7648",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2018-7648",
    "summary": "An issue was discovered in mj2/opj_mj2_extract.c in OpenJPEG 2.3.0. The output prefix was not checked for length, which could overflow a buffer, when providing a prefix with 50 or more characters on the command line.",
    "evidence": "osv:DEBIAN-CVE-2018-7648",
    "products": [
      {
        "name": {
          "value": "openjpeg2",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.3.1-1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "openjpeg2",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.3.1-1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "openjpeg2",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.3.1-1",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "critical",
    "structured": {
      "id": "DEBIAN-CVE-2018-7648",
      "aliases": [
        "DEBIAN-CVE-2018-7648"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.3.1-1"
                }
              ]
            }
          ],
          "package": {
            "name": "openjpeg2",
            "purl": "pkg:deb/debian/openjpeg2?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2018-7648.json"
          },
          "ecosystem_specific": {
            "urgency": "unimportant"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.3.1-1"
                }
              ]
            }
          ],
          "package": {
            "name": "openjpeg2",
            "purl": "pkg:deb/debian/openjpeg2?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2018-7648.json"
          },
          "ecosystem_specific": {
            "urgency": "unimportant"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.3.1-1"
                }
              ]
            }
          ],
          "package": {
            "name": "openjpeg2",
            "purl": "pkg:deb/debian/openjpeg2?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2018-7648.json"
          },
          "ecosystem_specific": {
            "urgency": "unimportant"
          }
        }
      ],
      "modified": "2026-10-23T18:03:48.345286412Z",
      "provider": "osv",
      "upstream": [
        "CVE-2018-7648"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2018-7648"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2018-7648",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 422297,
  "published_at": "2018-03-02T16:29:00.213+00:00"
}