# CVE-2026-5663: OFFIS DCMTK storescp storescp.cc executeOnEndOfStudy os command injection

> Remote attackers can execute arbitrary OS commands via the storescp component in OFFIS DCMTK, requiring a patch for mitigation.

- **Severity:** Medium 6.9 (`CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 6 Apr 2026
- **Updated:** 7 Apr 2026
- **Also known as:** DEBIAN-CVE-2026-5663, GHSA-c42x-qh72-7h87, UBUNTU-CVE-2026-5663, openSUSE-SU-2026:10502-1

## What is CVE-2026-5663?

CVE-2026-5663 is a medium-severity command injection vulnerability in OFFIS DCMTK, published on 6 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

### Official description

A security flaw has been discovered in OFFIS DCMTK up to 3.7.0. This impacts the function executeOnReception/executeOnEndOfStudy of the file dcmnet/apps/storescp.cc of the component storescp. Performing a manipulation results in os command injection. Remote exploitation of the attack is possible. The patch is named edbb085e45788dccaf0e64d71534cfca925784b8. Applying a patch is the recommended action to fix this issue.

Weakness: CWE-78 (Improper Neutralization of Special Elements used in an OS Command), CWE-77 (Improper Neutralization of Special Elements used in a Command)

## Which versions are affected by CVE-2026-5663?

It affects 1 product.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `dcmtk` | openSUSE:Tumbleweed | All versions | 3.7.0-2.1 |

Products: Offis Dcmtk.

## How do I fix CVE-2026-5663?

Apply the vendor's patch.

## Is CVE-2026-5663 being exploited?

There is no known exploitation of CVE-2026-5663 in the wild and no public exploit code.

## Other vulnerabilities in OFFIS DCMTK

- [CVE-2024-47796](https://insights.sbomify.com/CVE-2024-47796/): Memory corruption in DCMTK (high 8.4)
- [CVE-2024-52333](https://insights.sbomify.com/CVE-2024-52333/): Memory corruption in DCMTK (high 8.4)
- [CVE-2024-27628](https://insights.sbomify.com/CVE-2024-27628/): Memory corruption in n/a (high 8.1)
- [CVE-2022-43272](https://insights.sbomify.com/CVE-2022-43272/): Denial of service in n/a (high 7.5)
- [CVE-2021-41687](https://insights.sbomify.com/CVE-2021-41687/): Denial of service in n/a (high 7.5)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2026-5663 and fix it if it is affected.

What it is: CVE-2026-5663 is a medium-severity command injection vulnerability in OFFIS DCMTK, published on 6 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2026-5663 in the wild and no public exploit code.

Affected product: OFFIS DCMTK. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2026-5663/ (Markdown: https://insights.sbomify.com/CVE-2026-5663/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-5663
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-5663
- OSV: https://osv.dev/vulnerability/CVE-2026-5663

---
From sbomify Insights: https://insights.sbomify.com/CVE-2026-5663/
Summaries are generated and may contain mistakes; the official description above is the record.
