CISA published advisory ICSMA-23-285-01 on October 12, 2023, covering two vulnerabilities in Santesoft Sante DICOM Viewer Pro, versions 12.2.4 and prior. Michael Heinzl reported them.
Both come from the same root cause: the viewer does not properly validate user-supplied data when parsing DICOM files. CVE-2023-39431 (CWE-787) is an out-of-bounds write and CVE-2023-35986 (CWE-121) is a stack-based buffer overflow, each CVSS v3 7.8. Either could let an attacker execute arbitrary code in the context of the viewer process once a crafted file is opened.
Santesoft released version 12.2.6 and recommends updating to it.
Two memory bugs from one missing validation step point at a parser that needs fuzzing as a release gate.