---
title: "CVE-2022-2120\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2022-2120?format=md
keywords: index, follow
---

# CVE-2022-2120

Publication date 24 June 2022

Last updated 11 July 2025

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

## Cvss 3 Severity Score

**7.5 · High**

[Score breakdown](https://ubuntu.com/security/CVE-2022-2120?format=md#impact-score)

Toggle side navigation

## Description

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

[Read the notes from the security team](https://ubuntu.com/security/CVE-2022-2120?format=md#notes)

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| dcmtk | 26.04 LTS resolute | Needs evaluation |
| 25.10 questing | Ignored end of life, was needs-triage |
| 25.04 plucky | Ignored end of life, was needs-triage |
| 24.10 oracular | Ignored end of life, was needs-triage |
| 24.04 LTS noble | Needs evaluation |
| 23.10 mantic | Ignored end of life, was needs-triage |
| 23.04 lunar | Ignored end of life, was needs-triage |
| 22.10 kinetic | Not affected |
| 22.04 LTS jammy | Fixed 3.6.6-5ubuntu0.1~esm1  Ubuntu Pro |
| 21.10 impish | Ignored end of life |
| 20.04 LTS focal | Fixed 3.6.4-2.1ubuntu0.1~esm1  Ubuntu Pro |
| 18.04 LTS bionic | Fixed 3.6.2-3ubuntu0.1~esm1  Ubuntu Pro |
| 16.04 LTS xenial | Fixed 3.6.1~20150924-5ubuntu0.1~esm1  Ubuntu Pro |
| 14.04 LTS trusty | Ignored end of standard support, was needs-triage |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)
* [Patch details](https://ubuntu.com/security/CVE-2022-2120?format=md#patch-details)

### Get expanded security coverage with Ubuntu Pro

Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.

[Get Ubuntu Pro](https://ubuntu.com/pro)
[30-day free trial](https://ubuntu.com/pro/free-trial)

## Notes

---

### [alexmurray](https://launchpad.net/~alexmurray)

The patch for this CVE also includes CVE-2022-2119

### Patch details

For informational purposes only. We recommend not to cherry-pick updates. [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)

| Package | Patch details |
| --- | --- |
| dcmtk | * Upstream:   [f06a867](https://github.com/DCMTK/dcmtk/commit/f06a867513524664a1b03dfcf812d8b60fdd02cc) |

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

7.5 · High

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Adjacent |
  | Attack complexity | High |
  | Privileges required | None |
  | User interaction | None |
  | Scope | Unchanged |
  | Confidentiality impact | High |
  | Integrity impact | High |
  | Availability impact | High |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 7.5 · High |
  | Exploitability score | - |
  | Impact score | - |

**Vector:** CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-2120)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2022-2120)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2022-2120)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2022-2120)

### Related Ubuntu Security Notices (USN)

+ [USN-5882-1](https://usn.ubuntu.com/USN-5882-1)
+ DCMTK vulnerabilities
+ 22 February 2023

### Other references

* <https://www.cisa.gov/uscert/ics/advisories/icsma-22-174-01>
* <https://support.dcmtk.org/redmine/issues/1021>
* <https://www.cve.org/CVERecord?id=CVE-2022-2120>
