{"id":"UBUNTU-CVE-2026-133167","details":"OFFIS DCMTK 3.5.4 through 3.7.1 contains an integer overflow in DJCodecEncoder::encodeTrueLossless size checks that allows attackers to trigger a heap out-of-bounds read. Attackers can supply a crafted DICOM file with large Columns, Rows and SamplesPerPixel values that, when compressed with true-lossless JPEG, crashes the application.","modified":"2026-11-25T17:45:51Z","published":"2026-11-19T15:17:00Z","upstream":["CVE-2026-133167"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-133167"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-133167"},{"type":"REPORT","url":"https://github.com/DCMTK/dcmtk"},{"type":"REPORT","url":"https://github.com/DCMTK/dcmtk/blob/DCMTK-3.7.1/dcmjpeg/libsrc/djcodece.cc#L598"},{"type":"REPORT","url":"https://github.com/DCMTK/dcmtk/commit/f9fbc4f3687a43e8342d85ef5584edf6f15f9fc9"},{"type":"REPORT","url":"https://support.dcmtk.org/redmine/issues/1300"},{"type":"REPORT","url":"https://www.vulncheck.com/advisories/offis-dcmtk-3.5.4-through-3.7.1-heap-out-of-bounds-read-via-encodetruelossless"}],"affected":[{"package":{"name":"dcmtk","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/dcmtk?arch=source&distro=esm-apps%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.6.0-15.1","3.6.1~20150629-5","3.6.1~20150924-4","3.6.1~20150924-5","3.6.1~20150924-5ubuntu0.1~esm1","3.6.1~20150924-5ubuntu0.1~esm2","3.6.1~20150924-5ubuntu0.1~esm3"],"ecosystem_specific":{"binaries":[{"binary_name":"dcmtk","binary_version":"3.6.1~20150924-5ubuntu0.1~esm3"},{"binary_name":"libdcmtk5","binary_version":"3.6.1~20150924-5ubuntu0.1~esm3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-133167.json"}},{"package":{"name":"dcmtk","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/dcmtk?arch=source&distro=esm-apps%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.6.2-2","3.6.2-2build1","3.6.2-3","3.6.2-3build1","3.6.2-3build2","3.6.2-3build3","3.6.2-3ubuntu0.1~esm1","3.6.2-3ubuntu0.1~esm2","3.6.2-3ubuntu0.1~esm3"],"ecosystem_specific":{"binaries":[{"binary_version":"3.6.2-3ubuntu0.1~esm3","binary_name":"dcmtk"},{"binary_name":"libdcmtk12","binary_version":"3.6.2-3ubuntu0.1~esm3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-133167.json"}},{"package":{"name":"dcmtk","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/dcmtk?arch=source&distro=esm-apps%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.6.4-2.1","3.6.4-2.1build1","3.6.4-2.1build2","3.6.4-2.1ubuntu0.1~esm1","3.6.4-2.1ubuntu0.1","3.6.4-2.1ubuntu0.1+esm1","3.6.4-2.1ubuntu0.2","3.6.4-2.1ubuntu0.2+esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"dcmtk","binary_version":"3.6.4-2.1ubuntu0.2+esm1"},{"binary_name":"libdcmtk14","binary_version":"3.6.4-2.1ubuntu0.2+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-133167.json"}},{"package":{"name":"dcmtk","ecosystem":"Ubuntu:Pro:22.04:LTS","purl":"pkg:deb/ubuntu/dcmtk?arch=source&distro=esm-apps%2Fjammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.6.5-1","3.6.6-3ubuntu1","3.6.6-3ubuntu2","3.6.6-4","3.6.6-5","3.6.6-5ubuntu0.1~esm1","3.6.6-5ubuntu0.1~esm2"],"ecosystem_specific":{"binaries":[{"binary_version":"3.6.6-5ubuntu0.1~esm2","binary_name":"dcmtk"},{"binary_version":"3.6.6-5ubuntu0.1~esm2","binary_name":"libdcmtk16"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-133167.json"}},{"package":{"name":"dcmtk","ecosystem":"Ubuntu:Pro:24.04:LTS","purl":"pkg:deb/ubuntu/dcmtk?arch=source&distro=esm-apps%2Fnoble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.6.7-9","3.6.7-9.1build2","3.6.7-9.1build3","3.6.7-9.1build4","3.6.7-9.1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"dcmtk","binary_version":"3.6.7-9.1ubuntu0.1~esm1"},{"binary_version":"3.6.7-9.1ubuntu0.1~esm1","binary_name":"libdcmtk17t64"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-133167.json"}},{"package":{"name":"dcmtk","ecosystem":"Ubuntu:26.10","purl":"pkg:deb/ubuntu/dcmtk?arch=source&distro=stonking"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.7.0+really3.6.9-1","3.7.0+really3.7.0-2","3.7.0+really3.7.0-5","3.7.0+really3.7.0-6","3.7.0+really3.7.0-7ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"dcmtk","binary_version":"3.7.0+really3.7.0-7ubuntu1"},{"binary_name":"dcmtk-data","binary_version":"3.7.0+really3.7.0-7ubuntu1"},{"binary_name":"libdcmtk20","binary_version":"3.7.0+really3.7.0-7ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-133167.json"}},{"package":{"name":"dcmtk","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/dcmtk?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.6.9-5build1","3.6.9-6","3.7.0+really3.6.9-1"],"ecosystem_specific":{"binaries":[{"binary_name":"dcmtk","binary_version":"3.7.0+really3.6.9-1"},{"binary_name":"dcmtk-data","binary_version":"3.7.0+really3.6.9-1"},{"binary_name":"libdcmtk19","binary_version":"3.7.0+really3.6.9-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-133167.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","source":"CNA"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","source":"CNA"},{"type":"Ubuntu","score":"medium","source":"SELF"}]}