CVE-2026-133167: OFFIS DCMTK Integer Overflow
Published 2026-11-19 · Updated 2026-11-24 · Source disclosure@vulncheck.com
Not known to be exploited · medium severity — apply the vendor fix or mitigation on your normal schedule.
What to do
- The advisory lists versions through 3.7.1 as affected and does not name a fixed release. Check the references below for a newer version of OFFIS DCMTK or a vendor mitigation.
- Until it is patched, limit who has a local account on systems running OFFIS DCMTK.
- Avoid processing untrusted input with the affected component until it is updated.
- Exploitation needs a victim to act, so warn users of the affected system about unexpected links and files.
Affected and fixed versions
| Product | Affected | Fixed in |
|---|---|---|
| OFFIS DCMTK | ≤ 3.7.1 | Not stated in the advisory |
Derived by HackerFeeds from the advisory text, CVSS vector and weakness class. Confirm versions against the vendor advisory before acting.
How it can be exploited
Exploiting it requires local access to the system, or getting a user to open a crafted file; the attacker does not need an account, and a victim has to take an action such as opening a link or file. Attack complexity is low, so a working exploit is expected to be reliable. The impact on availability is rated high.
| Attack vector | Local | Exploiting it requires local access to the system, or getting a user to open a crafted file. |
|---|---|---|
| Attack complexity | Low | No special conditions are needed; the attack is repeatable. |
| Privileges required | None | The attacker does not need an account. |
| User interaction | Required | A victim has to take an action, such as opening a link or file. |
| Confidentiality | None | No effect on confidentiality. |
| Integrity | None | No effect on integrity. |
| Availability | High | Total loss of availability. |
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness: Integer Overflow
A calculation wraps around to an unexpected value, often leading to an undersized allocation and then memory corruption.
Classified as CWE-190.
Description
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.
Advisory text as published in the NVD record.
References
- Patchhttps://github.com/DCMTK/dcmtk/commit/f9fbc4f3687a43e8342d85ef5584edf6f15f9fc9
- Advisoryhttps://www.vulncheck.com/advisories/offis-dcmtk-3.5.4-through-3.7.1-heap-out-of-bounds-read-via-encodetruelossless
- Vendorhttps://support.dcmtk.org/redmine/issues/1300
- Referencehttps://github.com/DCMTK/dcmtk
- Referencehttps://github.com/DCMTK/dcmtk/blob/DCMTK-3.7.1/dcmjpeg/libsrc/djcodece.cc#L598