DCMTK 3.7.1 Heap Buffer Overflow via JPEG Encoder Planar Configuration Conversion

State
Published
Severity
8.5 High
Published
Nov 19, 2026
Updated
Nov 24, 2026
Reserved
Nov 19, 2026

Read the record on cve.org

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.

ProductVersions
DCMTK OFFIS3.7.1 Affected

Weaknesses

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.