Debian dla-4227 : dcmtk - security update

medium Nessus Plugin ID 240485

Synopsis

The remote Debian host is missing one or more security-related updates.

Description

The remote Debian 11 host has packages installed that are affected by multiple vulnerabilities as referenced in the dla-4227 advisory.

- ------------------------------------------------------------------------- Debian LTS Advisory DLA-4227-1 [email protected] https://www.debian.org/lts/security/ Bastien Roucaris June 24, 2025 https://wiki.debian.org/LTS
- -------------------------------------------------------------------------

Package : dcmtk Version : 3.6.5-1+deb11u4 CVE ID : CVE-2022-2119 CVE-2022-2120 CVE-2024-47796 CVE-2025-2357 CVE-2025-25472 CVE-2025-25474 CVE-2025-25475 Debian Bug : 1017743 1098373 1098374 1100724

Multiple vulnerabilities were fixed in dcmtk an OFFIS DICOM toolkit.

CVE-2022-2119/CVE-2022-2120

Path traversal issues were found, allowing an attacker to write DICOM files into arbitrary directories under controlled names. This could allow remote code execution.

CVE-2024-47796

An improper array index validation vulnerability exists in the nowindow functionality.
A specially crafted DICOM file can lead to an out-of-bounds write.

CVE-2025-2357

An issue was found in the dcmjpls JPEG-LS Decoder.
The manipulation leads to memory corruption.

CVE-2025-25472

A buffer overflow was found that cause a Denial of Service (DoS) via a crafted DCM file.


CVE-2025-25474

A buffer overflow was found via the component dcmimgle/diinpxt.h

CVE-2025-25475

A NULL pointer dereference was found in the component /libsrc/dcrleccd.cc

For Debian 11 bullseye, these problems have been fixed in version 3.6.5-1+deb11u4.

We recommend that you upgrade your dcmtk packages.

For the detailed security status of dcmtk please refer to its security tracker page at:
https://security-tracker.debian.org/tracker/dcmtk

Further information about Debian LTS security advisories, how to apply these updates to your system and frequently asked questions can be found at: https://wiki.debian.org/LTS

Tenable has extracted the preceding description block directly from the Debian security advisory.

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Upgrade the dcmtk packages.

See Also

https://security-tracker.debian.org/tracker/source-package/dcmtk

https://security-tracker.debian.org/tracker/CVE-2022-2119

https://security-tracker.debian.org/tracker/CVE-2022-2120

https://security-tracker.debian.org/tracker/CVE-2024-47796

https://security-tracker.debian.org/tracker/CVE-2025-2357

https://security-tracker.debian.org/tracker/CVE-2025-25472

https://security-tracker.debian.org/tracker/CVE-2025-25474

https://security-tracker.debian.org/tracker/CVE-2025-25475

https://packages.debian.org/source/bullseye/dcmtk

Plugin Details

Severity: Medium

ID: 240485

File Name: debian_DLA-4227.nasl

Version: 1.1

Type: local

Agent: unix

Published: 6/25/2025

Updated: 6/25/2025

Supported Sensors: Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Continuous Assessment, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.9

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2022-2120

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

CVSS v4

Risk Factor: Medium

Base Score: 5.3

Threat Score: 2.1

Threat Vector: CVSS:4.0/E:P

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N

CVSS Score Source: CVE-2025-2357

Vulnerability Information

CPE: cpe:/o:debian:debian_linux:11.0, p-cpe:/a:debian:debian_linux:libdcmtk15, p-cpe:/a:debian:debian_linux:libdcmtk-dev, p-cpe:/a:debian:debian_linux:dcmtk-doc, p-cpe:/a:debian:debian_linux:dcmtk

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 6/24/2025

Vulnerability Publication Date: 6/24/2022

Reference Information

CVE: CVE-2022-2119, CVE-2022-2120, CVE-2024-47796, CVE-2025-2357, CVE-2025-25472, CVE-2025-25474, CVE-2025-25475