Every CVE Search/ Get API key

CVE-2022-2119

OFFIS DCMTK Path Traversal

7.5 HighFix available

OFFIS DCMTK's (All versions prior to 3.6.7) service class provider (SCP) is vulnerable to path traversal, allowing an attacker to write DICOM files into arbitrary directories under controlled names. This could allow remote code execution.

Attack profile

How easy it is to exploit

Attack vector
Adjacent network
Complexity
High
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

3.37%Up 0.6 points since Jun 25, 2022
90%50%10%1%

What each source reports

CVE List Score used 7.5

OFFIS DCMTK Path Traversal

OFFIS DCMTK's (All versions prior to 3.6.7) service class provider (SCP) is vulnerable to path traversal, allowing an attacker to write DICOM files into arbitrary directories under controlled names. This could allow remote code execution.

Record
CVE-2022-2119
CVSS 3.1
7.5 HighCVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-22
Updated
2026-11-02
EUVDEUVD-2022-34405 7.5

OFFIS DCMTK's (All versions prior to 3.6.7) service class provider (SCP) is vulnerable to path traversal, allowing an attacker to write DICOM files into arbitrary directories under controlled names. This could allow remote code execution.

Record
EUVD-2022-34405
CVSS 3.1
7.5 HighCVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
GitHub AdvisoriesGHSA-5pjf-38m2-65rx 9.8

OFFIS DCMTK's (All versions prior to 3.6.7) service class provider (SCP) is vulnerable to path...

OFFIS DCMTK's (All versions prior to 3.6.7) service class provider (SCP) is vulnerable to path traversal, allowing an attacker to write DICOM files into arbitrary directories under controlled names. This could allow remote code execution.

Record
GHSA-5pjf-38m2-65rx
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-22
Updated
2026-11-02
NVD 7.5

OFFIS DCMTK's (All versions prior to 3.6.7) service class provider (SCP) is vulnerable to path traversal, allowing an attacker to write DICOM files into arbitrary directories under controlled names. This could allow remote code execution.

Record
CVE-2022-2119
CVSS 3.1
7.5 HighCVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
7.5 HighAV:N/AC:L/Au:N/C:P/I:P/A:P
Weakness
CWE-22
Updated
2026-11-02
OSV 7.5

OFFIS DCMTK Path Traversal

OFFIS DCMTK's (All versions prior to 3.6.7) service class provider (SCP) is vulnerable to path traversal, allowing an attacker to write DICOM files into arbitrary directories under controlled names. This could allow remote code execution.

Record
CVE-2022-2119
CVSS 3.1
7.5 HighCVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-22
Updated
2026-11-02
OSVDEBIAN-CVE-2022-2119 9.8

OFFIS DCMTK's (All versions prior to 3.6.7) service class provider (SCP) is vulnerable to path traversal, allowing an attacker to write DICOM files into arbitrary directories under controlled names. This could allow remote code execution.

Record
DEBIAN-CVE-2022-2119
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-03
Show 7 moreShow less
OSVUBUNTU-CVE-2022-2119 7.5

OFFIS DCMTK's (All versions prior to 3.6.7) service class provider (SCP) is vulnerable to path traversal, allowing an attacker to write DICOM files into arbitrary directories under controlled names. This could allow remote code execution.

Record
UBUNTU-CVE-2022-2119
CVSS 3.1
7.5 HighCVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVMGASA-2023-0083 No score

Updated dcmtk packages fix security vulnerability

Jinsheng Ba discovered that DCMTK incorrectly handled certain requests. If a user or an automated system were tricked into opening a certain specially crafted input file, a remote attacker could possibly use this issue to cause a denial of service. (CVE-2021-41687, CVE-2021-41688, CVE-2021-41689, and CVE-2021-41690)

Sharon Brizinov and Noam Moshe discovered that DCMTK incorrectly handled certain inputs. If a user or an automated system were tricked into opening a certain specially crafted input file, a remote attacker could possibly use this issue to execute arbitrary code. (CVE-2022-2119 and CVE-2022-2120)

Sharon Brizinov and Noam Moshe discovered that DCMTK incorrectly handled pointers. If a user or an automated system were tricked into opening a certain specially crafted input file, a remote attacker could possibly use this issue to cause a denial of service. (CVE-2022-2121)

It was discovered that DCMTK incorrectly handled certain inputs. If a user or an automated system were tricked into opening a certain specially crafted input file, a remote attacker could possibly use this issue to cause a denial of service. (CVE-2022-43272)

Record
MGASA-2023-0083
Updated
2026-11-02
OSVopenSUSE-SU-2022:10144-1 No score

Security update for gdcm, orthanc, orthanc-gdcm, orthanc-webviewer

This update for gdcm, orthanc, orthanc-gdcm, orthanc-webviewer fixes the following issues:

Changes in gdcm:

  • Provides/obsoletes moved to lbgdcm-package (Thx DimStar)

  • rename of gdcm-libgdcm3_0 to libgdcm3_0 (proposal S. Br�ns)

  • version 3.0.18

    no changelog

  • version 3.0.12

    • support for poppler 22.03 added
  • version 3.0.11

    • Fix for a significant issue with JPEG-LS and RGB color space
    • tons of small bug fixes
  • version 3.0.10 (no changelog)

Changes in orthanc-gdcm:

  • changed dependency gdcm-libgdcm3_0 -> libgdcm3_0

  • Version 1.5

  • Take the configuration option 'RestrictTransferSyntaxes' into account not only for decoding, but also for transcoding
  • Upgrade to GDCM 3.0.10 for static builds-

Changes in orthanc:

  • version 1.11.2

    • Added support for RGBA64 images in tools/create-dicom and /preview
    • New configuration 'MaximumStorageMode' to choose between recyling of old patients (default behavior) and rejection of new incoming data when the MaximumStorageSize has been reached.
    • New sample plugin: 'DelayedDeletion' that will delete files from disk asynchronously to speed up deletion of large studies.
    • Lua: new 'SetHttpTimeout' function
    • Lua: new 'OnHeartBeat' callback called at regular interval provided that you have configured 'LuaHeartBeatPeriod' > 0.
    • 'ExtraMainDicomTags' configuration now accepts Dicom Sequences. Sequences are stored in a dedicated new metadata 'MainDicomSequences'. This should improve DicomWeb QIDO-RS and avoid warnings like 'Accessing Dicom tags from storage when accessing series : 0040,0275'. Main dicom sequences can now be returned in 'MainDicomTags' and in 'RequestedTags'.
    • Fix the 'Never' option of the 'StorageAccessOnFind' that was sill accessing files (bug introduced in 1.11.0).
    • Fix the Storage Cache for compressed files (bug introduced in 1.11.1).
    • Fix the storage cache that was not used by the Plugin SDK. This fixes the DicomWeb plugin '/rendered' route performance issues.
    • DelayedDeletion plugin: Fix leaking of symbols
    • SQLite now closes and deletes WAL and SHM files on exit. This should improve handling of SQLite DB over network drives.
    • Fix static compilation of boost 1.69 on Ubuntu 22.04
    • Upgraded dependencies for static builds:
      • boost 1.80.0
      • dcmtk 3.6.7 (fixes CVE-2022-2119 and CVE-2022-2120)
      • openssl 3.0.5
    • Housekeeper plugin: Fix resume of previous processing
    • Added missing MOVEPatientRootQueryRetrieveInformationModel in DicomControlUserConnection::SetupPresentationContexts()
    • Improved HttpClient error logging (add method + url)
    • API version upgraded to 18
    • /system is now reporting 'DatabaseServerIdentifier'
    • Added an Asynchronous mode to /modalities/../move.
    • 'RequestedTags' option can now include DICOM sequences.
    • New function in the SDK: 'OrthancPluginGetDatabaseServerIdentifier'
    • DicomMap::ParseMainDicomTags has been deprecated -> retrieve 'full' tags and use DicomMap::FromDicomAsJson instead
  • version 1.11.0

  • new API version 1.7
  • new configuration parameter
  • for detailed changelog see NEWS
  • version 1.10.1
  • for detailed changelog see NEWS
  • Version 1.9.7
  • New configuration option 'DicomAlwaysAllowMove' to disable verification of the remote modality in C-MOVE SCP
  • API version upgraded to 15
  • Added 'Level' option to POST /tools/bulk-modify
  • Added missing OpenAPI documentation of 'KeepSource' in '.../modify' and '.../anonymize'
  • Added file CITATION.cff
  • Linux Standard Base (LSB) builds of Orthanc can load non-LSB builds of plugins
  • Fix upload of ZIP archives containing a DICOMDIR file
  • Fix computation of the estimated time of arrival in jobs
  • Support detection of windowing and rescale in Philips multiframe images

Changes in orthanc-webviewer:

  • version 2.8
    • Fix XSS inside DICOM in Orthanc Web Viewer (as reported by Stuart Kurutac, NCC Group)
    • framework190.diff removed (covered in…
Record
openSUSE-SU-2022:10144-1
Updated
2026-11-02
OSVopenSUSE-SU-2022:10145-1 No score

Security update for gdcm, orthanc, orthanc-gdcm, orthanc-webviewer

This update for gdcm, orthanc, orthanc-gdcm, orthanc-webviewer fixes the following issues:

Changes in gdcm:

  • rename of gdcm-libgdcm3_0 to libgdcm3_0 (proposal S. Br�ns)

  • version 3.0.18

    no changelog

  • version 3.0.12

    • support for poppler 22.03 added

Changes in orthanc-gdcm:

  • changed dependency gdcm-libgdcm3_0 -> libgdcm3_0

Changes in orthanc:

  • version 1.11.2
    • Added support for RGBA64 images in tools/create-dicom and /preview
    • New configuration 'MaximumStorageMode' to choose between recyling of old patients (default behavior) and rejection of new incoming data when the MaximumStorageSize has been reached.
    • New sample plugin: 'DelayedDeletion' that will delete files from disk asynchronously to speed up deletion of large studies.
    • Lua: new 'SetHttpTimeout' function
    • Lua: new 'OnHeartBeat' callback called at regular interval provided that you have configured 'LuaHeartBeatPeriod' > 0.
    • 'ExtraMainDicomTags' configuration now accepts Dicom Sequences. Sequences are stored in a dedicated new metadata 'MainDicomSequences'. This should improve DicomWeb QIDO-RS and avoid warnings like 'Accessing Dicom tags from storage when accessing series : 0040,0275'. Main dicom sequences can now be returned in 'MainDicomTags' and in 'RequestedTags'.
    • Fix the 'Never' option of the 'StorageAccessOnFind' that was sill accessing files (bug introduced in 1.11.0).
    • Fix the Storage Cache for compressed files (bug introduced in 1.11.1).
    • Fix the storage cache that was not used by the Plugin SDK. This fixes the DicomWeb plugin '/rendered' route performance issues.
    • DelayedDeletion plugin: Fix leaking of symbols
    • SQLite now closes and deletes WAL and SHM files on exit. This should improve handling of SQLite DB over network drives.
    • Fix static compilation of boost 1.69 on Ubuntu 22.04
    • Upgraded dependencies for static builds:
      • boost 1.80.0
      • dcmtk 3.6.7 (fixes CVE-2022-2119 and CVE-2022-2120)
      • openssl 3.0.5
    • Housekeeper plugin: Fix resume of previous processing
    • Added missing MOVEPatientRootQueryRetrieveInformationModel in DicomControlUserConnection::SetupPresentationContexts()
    • Improved HttpClient error logging (add method + url)
    • API version upgraded to 18
    • /system is now reporting 'DatabaseServerIdentifier'
    • Added an Asynchronous mode to /modalities/../move.
    • 'RequestedTags' option can now include DICOM sequences.
    • New function in the SDK: 'OrthancPluginGetDatabaseServerIdentifier'
    • DicomMap::ParseMainDicomTags has been deprecated -> retrieve 'full' tags and use DicomMap::FromDicomAsJson instead

Changes in orthanc-webviewer:

  • version 2.8

    • Fix XSS inside DICOM in Orthanc Web Viewer (as reported by Stuart Kurutac, NCC Group)
    • framework190.diff removed (covered in actual version)
Record
openSUSE-SU-2022:10145-1
Updated
2026-11-02
OSVopenSUSE-SU-2023:0108-1 No score

Security update for dcmtk

This update for dcmtk fixes the following issues:

  • CVE-2022-43272: Fixed memory leak via the T_ASC_Association object (boo#1206070)

  • Update to 3.6.7 (boo#1208639, boo#1208638, boo#1208637, CVE-2022-2121, CVE-2022-2120, CVE-2022-2119)

    • CVE-2022-2121: Fixed possible DoS via NULL pointer dereference
    • CVE-2022-2120: Fixed relative path traversal vulnerability
    • CVE-2022-2119: Fixed path traversal vulnerability

    See DOCS/CHANGES.367 for the full list of changes

    • Updated code definitions for DICOM 2022b
    • Fixed possible NULL pointer dereference
Record
openSUSE-SU-2023:0108-1
Updated
2026-11-02
OSVopenSUSE-SU-2024:12383-1 No score

orthanc-1.11.2-1.1 on GA media

These are all security issues fixed in the orthanc-1.11.2-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:12383-1
Updated
2026-11-02
OSVUSN-5882-1 No score

dcmtk vulnerabilities

Gjoko Krstic discovered that DCMTK incorrectly handled buffers. If a user or an automated system were tricked into opening a certain specially crafted input file, a remote attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 16.04 LTS. (CVE-2015-8979)

Omar Ganiev discovered that DCMTK incorrectly handled buffers. If a user or an automated system were tricked into opening a certain specially crafted input file, a remote attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 16.04 LTS and Ubuntu 18.04 LTS. (CVE-2019-1010228)

Jinsheng Ba discovered that DCMTK incorrectly handled certain requests. If a user or an automated system were tricked into opening a certain specially crafted input file, a remote attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, and Ubuntu 22.04 LTS. (CVE-2021-41687, CVE-2021-41688, CVE-2021-41689, and CVE-2021-41690)

Sharon Brizinov and Noam Moshe discovered that DCMTK incorrectly handled certain inputs. If a user or an automated system were tricked into opening a certain specially crafted input file, a remote attacker could possibly use this issue to execute arbitrary code. This issue only affected Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, and Ubuntu 22.04 LTS. (CVE-2022-2119 and CVE-2022-2120)

Sharon Brizinov and Noam Moshe discovered that DCMTK incorrectly handled pointers. If a user or an automated system were tricked into opening a certain specially crafted input file, a remote attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, and Ubuntu 22.04 LTS. (CVE-2022-2121)

It was discovered that DCMTK incorrectly handled certain inputs. If a user or an automated system were tricked into opening a certain specially crafted input file, a remote attacker could possibly use this issue to cause a denial of service. This issue affected Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, and Ubuntu 22.10. (CVE-2022-43272)

Record
USN-5882-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
dcmtk
Debian:12
before 3.6.7-6
3.6.7-6
dcmtk
Debian:13
before 3.6.7-6
3.6.7-6
dcmtk
Debian:14
before 3.6.7-6
3.6.7-6
dcmtk
Debian:11
From an advisory covering 7 CVEs
before 3.6.5-1+deb11u4, plus listed versions
3.6.5-13.6.5-1+deb11u13.6.5-1+deb11u23.6.5-1+deb11u3
3.6.5-1+deb11u4
dcmtk
Mageia:8
From an advisory covering 8 CVEs
before 3.6.5-3.1.mga8
3.6.5-3.1.mga8
dcmtk
Ubuntu:Pro:16.04:LTS
before 3.6.1~20150924-5ubuntu0.1~esm1, plus listed versions
3.6.0-15.13.6.1~20150629-53.6.1~20150924-43.6.1~20150924-5
3.6.1~20150924-5ubuntu0.1~esm1
dcmtk
Ubuntu:Pro:18.04:LTS
before 3.6.2-3ubuntu0.1~esm1, plus listed versions
3.6.2-23.6.2-2build13.6.2-33.6.2-3build13.6.2-3build23.6.2-3build3
3.6.2-3ubuntu0.1~esm1
dcmtk
Ubuntu:Pro:20.04:LTS
before 3.6.4-2.1ubuntu0.1~esm1, plus listed versions
3.6.4-2.13.6.4-2.1build13.6.4-2.1build2
3.6.4-2.1ubuntu0.1~esm1
dcmtk
Ubuntu:Pro:22.04:LTS
before 3.6.6-5ubuntu0.1~esm1, plus listed versions
3.6.5-13.6.6-3ubuntu13.6.6-3ubuntu23.6.6-43.6.6-5
3.6.6-5ubuntu0.1~esm1
dcmtk
Ubuntu:Pro:24.04:LTS
All versions, plus listed versions
3.6.7-93.6.7-9.1build23.6.7-9.1build33.6.7-9.1build43.6.7-9.1ubuntu0.1~esm1
None known
Show 25 moreShow less
Affected packages
PackageAffectedFixed
dcmtk
Ubuntu:25.10
All versions, plus listed versions
3.6.9-43.6.9-53.6.9-5build1
None known
dcmtk
Ubuntu:26.10
All versions, plus listed versions
3.7.0+really3.6.9-13.7.0+really3.7.0-23.7.0+really3.7.0-53.7.0+really3.7.0-63.7.0+really3.7.0-7ubuntu1
None known
dcmtk
Ubuntu:26.04:LTS
All versions, plus listed versions
3.6.9-5build13.6.9-63.7.0+really3.6.9-1
None known
dcmtk
Ubuntu:Pro:16.04:LTS
From an advisory covering 10 CVEs
before 3.6.1~20150924-5ubuntu0.1~esm1, plus listed versions
3.6.0-15.13.6.1~20150629-53.6.1~20150924-43.6.1~20150924-5
3.6.1~20150924-5ubuntu0.1~esm1
dcmtk
Ubuntu:Pro:18.04:LTS
From an advisory covering 10 CVEs
before 3.6.2-3ubuntu0.1~esm1, plus listed versions
3.6.2-23.6.2-2build13.6.2-33.6.2-3build13.6.2-3build23.6.2-3build3
3.6.2-3ubuntu0.1~esm1
dcmtk
Ubuntu:Pro:20.04:LTS
From an advisory covering 10 CVEs
before 3.6.4-2.1ubuntu0.1~esm1, plus listed versions
3.6.4-2.13.6.4-2.1build13.6.4-2.1build2
3.6.4-2.1ubuntu0.1~esm1
dcmtk
Ubuntu:Pro:22.04:LTS
From an advisory covering 10 CVEs
before 3.6.6-5ubuntu0.1~esm1, plus listed versions
3.6.5-13.6.6-3ubuntu13.6.6-3ubuntu23.6.6-43.6.6-5
3.6.6-5ubuntu0.1~esm1
gdcm
SUSE:Package Hub 15 SP3
From an advisory covering 2 CVEs
before 3.0.19-bp153.2.8.1
3.0.19-bp153.2.8.1
orthanc
SUSE:Package Hub 15 SP3
From an advisory covering 2 CVEs
before 1.11.2-bp153.2.13.1
1.11.2-bp153.2.13.1
orthanc-gdcm
SUSE:Package Hub 15 SP3
From an advisory covering 2 CVEs
before 1.5-bp153.2.6.1
1.5-bp153.2.6.1
orthanc-webviewer
SUSE:Package Hub 15 SP3
From an advisory covering 2 CVEs
before 2.8-bp153.2.3.1
2.8-bp153.2.3.1
gdcm
openSUSE:Leap 15.3
From an advisory covering 2 CVEs
before 3.0.19-bp153.2.8.1
3.0.19-bp153.2.8.1
orthanc
openSUSE:Leap 15.3
From an advisory covering 2 CVEs
before 1.11.2-bp153.2.13.1
1.11.2-bp153.2.13.1
orthanc-gdcm
openSUSE:Leap 15.3
From an advisory covering 2 CVEs
before 1.5-bp153.2.6.1
1.5-bp153.2.6.1
orthanc-webviewer
openSUSE:Leap 15.3
From an advisory covering 2 CVEs
before 2.8-bp153.2.3.1
2.8-bp153.2.3.1
gdcm
SUSE:Package Hub 15 SP4
From an advisory covering 2 CVEs
before 3.0.19-bp154.2.5.1
3.0.19-bp154.2.5.1
orthanc
SUSE:Package Hub 15 SP4
From an advisory covering 2 CVEs
before 1.11.2-bp154.2.3.1
1.11.2-bp154.2.3.1
orthanc-gdcm
SUSE:Package Hub 15 SP4
From an advisory covering 2 CVEs
before 1.5-bp154.2.3.1
1.5-bp154.2.3.1
orthanc-webviewer
SUSE:Package Hub 15 SP4
From an advisory covering 2 CVEs
before 2.8-bp154.2.3.1
2.8-bp154.2.3.1
gdcm
openSUSE:Leap 15.4
From an advisory covering 2 CVEs
before 3.0.19-bp154.2.5.1
3.0.19-bp154.2.5.1
orthanc
openSUSE:Leap 15.4
From an advisory covering 2 CVEs
before 1.11.2-bp154.2.3.1
1.11.2-bp154.2.3.1
orthanc-gdcm
openSUSE:Leap 15.4
From an advisory covering 2 CVEs
before 1.5-bp154.2.3.1
1.5-bp154.2.3.1
orthanc-webviewer
openSUSE:Leap 15.4
From an advisory covering 2 CVEs
before 2.8-bp154.2.3.1
2.8-bp154.2.3.1
dcmtk
SUSE:Package Hub 15 SP4
From an advisory covering 4 CVEs
before 3.6.7-bp154.2.3.1
3.6.7-bp154.2.3.1
dcmtk
openSUSE:Leap 15.4
From an advisory covering 4 CVEs
before 3.6.7-bp154.2.3.1
3.6.7-bp154.2.3.1

History

History
RecordedChangedSources
affected, factsOSV
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2022-2119 is a high vulnerability (CVSS 7.5) in Offis Dcmtk, published June 24, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 3.37%, the 88th percentile. Fixed in dcmtk 3.6.7-6.

References

Show 30 moreShow less
This page doesn't list everything

Left out here: the rest of 1 source description. The JSON record has them.

MoveEnter Open