{"id":"CVE-2026-133168","state":"PUBLISHED","title":"DCMTK 3.7.1 Heap Buffer Overflow via JPEG Encoder Planar Configuration Conversion","description":"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.","publishedAt":"2026-11-19T14:16:27.522Z","updatedAt":"2026-11-19T14:16:27.522Z","severity":{"score":8.5,"label":"High","version":"4.0","vector":"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","source":"VulnCheck"},"assigner":"VulnCheck","products":["OFFIS DCMTK"],"affected":[{"vendor":"OFFIS","product":"DCMTK","packageURL":"pkg:github/dcmtk/dcmtk","defaultStatus":"unaffected","versions":[{"version":"3.7.1","status":"affected"}],"repo":"https://github.com/DCMTK/dcmtk"}],"references":["https://support.dcmtk.org/redmine/issues/1298","https://github.com/DCMTK/dcmtk/commit/c22836c449bb81834fee5d883e9ebd9d7dab90b9","https://github.com/DCMTK/dcmtk/blob/DCMTK-3.7.1/dcmjpeg/libsrc/djcodece.cc#L1503-L1540","https://github.com/DCMTK/dcmtk","https://www.vulncheck.com/advisories/dcmtk-3.7.1-heap-buffer-overflow-via-jpeg-encoder-planar-configuration-conversion"],"weaknesses":["CWE-787"],"ingestedAt":"2026-11-19T14:28:06.299Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/133xxx/CVE-2026-133168.json","commit":"6c1fb3bb8377b3b599e7e2f54633bb4454803c0c","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-133168","state":"PUBLISHED","datePublished":"2026-11-19T14:16:27.522Z","dateUpdated":"2026-11-19T14:16:27.522Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-11-19T14:05:12.445Z"},"containers":{"cna":{"title":"DCMTK 3.7.1 Heap Buffer Overflow via JPEG Encoder Planar Configuration Conversion","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"OFFIS","product":"DCMTK","packageURL":"pkg:github/dcmtk/dcmtk","defaultStatus":"unaffected","versions":[{"version":"3.7.1","status":"affected"}],"repo":"https://github.com/DCMTK/dcmtk"}],"references":[{"url":"https://support.dcmtk.org/redmine/issues/1298","tags":["issue-tracking"]},{"url":"https://github.com/DCMTK/dcmtk/commit/c22836c449bb81834fee5d883e9ebd9d7dab90b9","tags":["patch"]},{"url":"https://github.com/DCMTK/dcmtk/blob/DCMTK-3.7.1/dcmjpeg/libsrc/djcodece.cc#L1503-L1540","tags":["technical-description"]},{"url":"https://github.com/DCMTK/dcmtk","tags":["product"]},{"url":"https://www.vulncheck.com/advisories/dcmtk-3.7.1-heap-buffer-overflow-via-jpeg-encoder-planar-configuration-conversion","name":"VulnCheck Advisory: DCMTK 3.7.1 Heap Buffer Overflow via JPEG Encoder Planar Configuration Conversion","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"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","attackVector":"LOCAL","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"PASSIVE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":8.5,"baseSeverity":"HIGH"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":7.8,"baseSeverity":"HIGH"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-787","lang":"en","description":"Out-of-bounds Write","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-11-19T14:16:27.522Z"},"datePublic":"2026-11-01T00:00:00.000Z","cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:offis:dcmtk:3.7.1:*:*:*:*:*:*:*"}]}]}],"credits":[{"lang":"en","value":"Federico Muttis, Diphrakt B.V.","type":"finder"},{"lang":"en","value":"Peter Klotz","type":"finder"}],"x_generator":{"engine":"vulncheck-endgame"}}}}}