Skip to content
Heist/ feed
Back to feed
HighFix available

dcmtk — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2021-41687

DCMTK through 3.6.6 does not handle memory free properly. The program malloc a heap memory for parsing data, but does not free it when error in parsing. Sending specific requests to the dcmqrdb program incur the memory leak. An attacker can use it to launch a DoS attack.

Products
dcmtk
Affected versions
Not specified
Fixed versions
3.6.7-1
CVEs
CVE-2021-41687
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 00:51 UTC · Revision 1

Source evidence

DEBIAN-CVE-2021-41687

core-osv · Original source

Published 28 Jun 2022, 13:15 UTC

DCMTK through 3.6.6 does not handle memory free properly. The program malloc a heap memory for parsing data, but does not free it when error in parsing. Sending specific requests to the dcmqrdb program incur the memory leak. An attacker can use it to launch a DoS attack.

osv:DEBIAN-CVE-2021-41687

dcmtk

Fixed versions: 3.6.7-1

dcmtk

Fixed versions: 3.6.7-1

dcmtk

Fixed versions: 3.6.7-1

Complete source record
{
  "id": "bbdff0496faec050d469aaa8bcfcab5a40e2777a634422ef1a79f1dd414d1d00",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2021-41687",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2021-41687",
    "summary": "DCMTK through 3.6.6 does not handle memory free properly. The program malloc a heap memory for parsing data, but does not free it when error in parsing. Sending specific requests to the dcmqrdb program incur the memory leak. An attacker can use it to launch a DoS attack.",
    "evidence": "osv:DEBIAN-CVE-2021-41687",
    "products": [
      {
        "name": {
          "value": "dcmtk",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "3.6.7-1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "dcmtk",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "3.6.7-1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "dcmtk",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "3.6.7-1",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "DEBIAN-CVE-2021-41687",
      "aliases": [
        "DEBIAN-CVE-2021-41687"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "3.6.7-1"
                }
              ]
            }
          ],
          "package": {
            "name": "dcmtk",
            "purl": "pkg:deb/debian/dcmtk?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-41687.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "3.6.7-1"
                }
              ]
            }
          ],
          "package": {
            "name": "dcmtk",
            "purl": "pkg:deb/debian/dcmtk?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-41687.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "3.6.7-1"
                }
              ]
            }
          ],
          "package": {
            "name": "dcmtk",
            "purl": "pkg:deb/debian/dcmtk?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-41687.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-23T18:03:50.812212910Z",
      "provider": "osv",
      "upstream": [
        "CVE-2021-41687"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2021-41687"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2021-41687",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 422451,
  "published_at": "2022-06-28T13:15:10.213+00:00"
}