{"id":"CVE-2026-133168","published":"2026-11-19T14:16:27Z","modified":"2026-11-19T14:16:27Z","title":"DCMTK 3.7.1 Heap Buffer Overflow via JPEG Encoder Planar Configuration Conversion","vendor":"OFFIS","product":"DCMTK","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00224,"percentile":0.12951,"provenance":"source"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"}],"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","tags":["third-party-advisory"]}],"priority":{"score":13.1,"factors":[{"name":"EPSS percentile","points":2.59},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":5.46}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-11-23","earliestUrl":"https://github.com/cveForge/CVE-2026-133168","repos":[{"name":"cveForge/CVE-2026-133168","url":"https://github.com/cveForge/CVE-2026-133168","stars":0,"created":"2026-11-23"}]},"first":{"date":"2026-11-23","source":"PoC-in-GitHub","url":"https://github.com/cveForge/CVE-2026-133168"},"provenance":"source"},"vendorSlug":"offis","affectedVersions":[{"vendor":"OFFIS","product":"DCMTK","versions":["3.7.1"]}],"euvd":{"id":"EUVD-2026-130211","exploited":false,"provenance":"source"}}