Skip to content
Heist/ feed
Back to feed
MediumFix available

dcmtk — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2022-4981

A vulnerability was detected in DCMTK up to 3.6.7. The impacted element is the function DcmQueryRetrieveConfig::readPeerList of the file /dcmqrcnf.cc of the component dcmqrscp. The manipulation results in null pointer dereference. The attack needs to be approached locally. The exploit is now public and may be used. Upgrading to version 3.6.8 is sufficient to resolve this issue. The patch is identified as 957fb31e5. Upgrading the affected component is advised.

Products
dcmtk
Affected versions
3.6.7-8, 3.6.7-9~deb12u1, 3.6.7-9~deb12u2, 3.6.7-9~deb12u3
Fixed versions
3.6.7-9~deb12u4, 3.6.8-5
CVEs
CVE-2022-4981
Confirmed fixed CVEs
Not specified
Updated in this feed
30 Oct 2026, 15:28 UTC · Revision 1

Source evidence

DEBIAN-CVE-2022-4981

core-osv · Original source

Published 21 Oct 2025, 15:15 UTC

A vulnerability was detected in DCMTK up to 3.6.7. The impacted element is the function DcmQueryRetrieveConfig::readPeerList of the file /dcmqrcnf.cc of the component dcmqrscp. The manipulation results in null pointer dereference. The attack needs to be approached locally. The exploit is now public and may be used. Upgrading to version 3.6.8 is sufficient to resolve this issue. The patch is identified as 957fb31e5. Upgrading the affected component is advised.

osv:DEBIAN-CVE-2022-4981

dcmtk

Fixed versions: 3.6.7-9~deb12u4

dcmtk

Fixed versions: 3.6.8-5

dcmtk

Fixed versions: 3.6.8-5

Complete source record
{
  "id": "9171f61a5baf4c0be62124c845114b4b9eb6dd00de6df0b32526a386ddd797cf",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2022-4981",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2022-4981",
    "summary": "A vulnerability was detected in DCMTK up to 3.6.7. The impacted element is the function DcmQueryRetrieveConfig::readPeerList of the file /dcmqrcnf.cc of the component dcmqrscp. The manipulation results in null pointer dereference. The attack needs to be approached locally. The exploit is now public and may be used. Upgrading to version 3.6.8 is sufficient to resolve this issue. The patch is identified as 957fb31e5. Upgrading the affected component is advised.",
    "evidence": "osv:DEBIAN-CVE-2022-4981",
    "products": [
      {
        "name": {
          "value": "dcmtk",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "3.6.7-9~deb12u4",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "3.6.7-8",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "3.6.7-9~deb12u1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "3.6.7-9~deb12u2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "3.6.7-9~deb12u3",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "dcmtk",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "3.6.8-5",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "dcmtk",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "3.6.8-5",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "DEBIAN-CVE-2022-4981",
      "aliases": [
        "DEBIAN-CVE-2022-4981"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "3.6.7-9~deb12u4"
                }
              ]
            }
          ],
          "package": {
            "name": "dcmtk",
            "purl": "pkg:deb/debian/dcmtk?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "versions": [
            "3.6.7-8",
            "3.6.7-9~deb12u1",
            "3.6.7-9~deb12u2",
            "3.6.7-9~deb12u3"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-4981.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "3.6.8-5"
                }
              ]
            }
          ],
          "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-2022-4981.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "3.6.8-5"
                }
              ]
            }
          ],
          "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-2022-4981.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-15T08:03:03.417741794Z",
      "provider": "osv",
      "upstream": [
        "CVE-2022-4981"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2022-4981"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2022-4981",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 324999,
  "published_at": "2025-10-21T15:15:37.55+00:00"
}