{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "3.1"
              },
              {
                "last_affected": "3.1"
              },
              {
                "introduced": "3.2"
              },
              {
                "last_affected": "3.2"
              },
              {
                "introduced": "3.3"
              },
              {
                "last_affected": "3.3"
              },
              {
                "introduced": "3.4"
              },
              {
                "last_affected": "3.4"
              },
              {
                "introduced": "3.5"
              },
              {
                "last_affected": "3.5"
              },
              {
                "introduced": "3.6"
              },
              {
                "last_affected": "3.6"
              },
              {
                "introduced": "3.7.0"
              },
              {
                "last_affected": "3.7.0"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "06a43898150d5f02b740c0ebb75faba1c1609ec2"
            },
            {
              "fixed": "1d4b3815c0987840a983160bfc671fef63a3105b"
            }
          ],
          "repo": "https://github.com/dcmtk/dcmtk",
          "type": "GIT"
        }
      ],
      "versions": [
        "3.1",
        "3.2",
        "3.3",
        "3.4",
        "3.5",
        "3.6",
        "3.7.0"
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulDB",
    "cwe_ids": [
      "CWE-119",
      "CWE-122"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/12xxx/CVE-2026-12805.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "introduced": "3.0"
          },
          {
            "last_affected": "3.0"
          }
        ],
        "source": "AFFECTED_FIELD"
      }
    ]
  },
  "details": "A flaw has been found in OFFIS DCMTK up to 3.7.0. The affected element is the function XMLNode::parseFile in the library ofstd/libsrc/ofxml.cc. Executing a manipulation can lead to heap-based buffer overflow. The attack may be performed from remote. The exploit has been published and may be used. This patch is called 1d4b3815c0987840a983160bfc671fef63a3105b. It is best practice to apply a patch to resolve this issue. The vendor was contacted early, responded in a very professional manner and quickly released a fixed version of the affected product.",
  "id": "CVE-2026-12805",
  "modified": "2026-07-15T01:48:55.981670415Z",
  "published": "2026-06-21T19:15:07.079Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/12xxx/CVE-2026-12805.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-12805"
    },
    {
      "type": "ADVISORY",
      "url": "https://vuldb.com/cve/CVE-2026-12805"
    },
    {
      "type": "ADVISORY",
      "url": "https://vuldb.com/submit/836273"
    },
    {
      "type": "ADVISORY",
      "url": "https://vuldb.com/vuln/372599"
    },
    {
      "type": "REPORT",
      "url": "https://support.dcmtk.org/redmine/issues/1208"
    },
    {
      "type": "REPORT",
      "url": "https://vuldb.com/vuln/372599/cti"
    },
    {
      "type": "FIX",
      "url": "https://git.dcmtk.org/?p=dcmtk.git;a=commit;h=1d4b3815c0987840a983160bfc671fef63a3105b"
    },
    {
      "type": "FIX",
      "url": "https://github.com/DCMTK/dcmtk/commit/1d4b3815c0987840a983160bfc671fef63a3105b"
    },
    {
      "type": "EVIDENCE",
      "url": "https://medium.com/@faboherrera.fabo/dcmtk-vulnerability-report-201afc687790"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P",
      "type": "CVSS_V4"
    }
  ],
  "summary": "OFFIS DCMTK ofxml.cc parseFile heap-based overflow"
}