{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "3.7.1"
                  },
                  {
                    "last_affected": "3.7.1"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "fixed": "c22836c449bb81834fee5d883e9ebd9d7dab90b9"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              }
            ]
          },
          "events": [
            {
              "introduced": "108acdae424d6999b2e398243938d8c563315ecf"
            },
            {
              "last_affected": "108acdae424d6999b2e398243938d8c563315ecf"
            },
            {
              "fixed": "c22836c449bb81834fee5d883e9ebd9d7dab90b9"
            }
          ],
          "repo": "https://github.com/dcmtk/dcmtk",
          "type": "GIT"
        }
      ],
      "versions": [
        "3.7.1"
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-787"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/133xxx/CVE-2026-133168.json"
  },
  "details": "OFFIS DCMTK 3.7.1 contains a heap buffer overflow vulnerability in togglePlanarConfiguration8 and togglePlanarConfiguration16 in djcodece.cc, which compute row offsets using rows instead of columns. Attackers can supply a crafted color-by-plane DICOM image with more rows than columns that is compressed with the true-lossless JPEG codec to corrupt heap memory, causing crashes and potentially code execution.",
  "id": "CVE-2026-133168",
  "modified": "2026-11-19T15:45:19.927278536Z",
  "published": "2026-11-19T14:16:27.522Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/133xxx/CVE-2026-133168.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/DCMTK/dcmtk"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/DCMTK/dcmtk/blob/DCMTK-3.7.1/dcmjpeg/libsrc/djcodece.cc#L1503-L1540"
    },
    {
      "type": "FIX",
      "url": "https://github.com/DCMTK/dcmtk/commit/c22836c449bb81834fee5d883e9ebd9d7dab90b9"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-133168"
    },
    {
      "type": "REPORT",
      "url": "https://support.dcmtk.org/redmine/issues/1298"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/dcmtk-3.7.1-heap-buffer-overflow-via-jpeg-encoder-planar-configuration-conversion"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "DCMTK 3.7.1 Heap Buffer Overflow via JPEG Encoder Planar Configuration Conversion"
}