{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "packageURL": "pkg:github/apache/datasketches-cpp",
          "product": "Apache DataSketches C++",
          "vendor": "Apache Software Foundation",
          "versions": [
            {
              "lessThanOrEqual": "5.3.0",
              "status": "affected",
              "version": "1.0.0-incubating",
              "versionType": "semver"
            }
          ]
        }
      ],
      "credits": [
        {
          "lang": "en",
          "type": "reporter",
          "value": "hataehoon"
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "Out-of-bounds Write vulnerability in Apache DataSketches C++. An<br>  application that deserializes a KLL sketch from an untrusted source<br>  can have heap memory corrupted by a crafted sketch, because the<br>  serialized level boundaries were not validated.<br><br>  This issue affects Apache DataSketches C++: 2.0.0 through 5.3.0.<br><br>  Users are recommended to upgrade to version 5.3.1, which fixes the<br>  issue."
            }
          ],
          "value": "Out-of-bounds Write vulnerability in Apache DataSketches C++. An\n  application that deserializes a KLL sketch from an untrusted source\n  can have heap memory corrupted by a crafted sketch, because the\n  serialized level boundaries were not validated.\n\n  This issue affects Apache DataSketches C++: 2.0.0 through 5.3.0.\n\n  Users are recommended to upgrade to version 5.3.1, which fixes the\n  issue."
        }
      ],
      "metrics": [
        {
          "other": {
            "content": {
              "text": "moderate"
            },
            "type": "Textual description of severity"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-787",
              "description": "CWE-787, Out-of-bounds Write",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "orgId": "f0158376-9dc2-43b6-827c-5f631a4d8d09"
      },
      "references": [
        {
          "tags": [
            "vendor-advisory"
          ],
          "url": "https://lists.apache.org/thread/t4rngyg9cbv1b42f1d0crgpgtpby0594"
        },
        {
          "tags": [
            "release-notes"
          ],
          "url": "https://github.com/apache/datasketches-cpp/releases/tag/5.3.1"
        },
        {
          "tags": [
            "patch"
          ],
          "url": "https://github.com/apache/datasketches-cpp/commit/bb86d439db494e3d362e54cc4f83481893974335"
        },
        {
          "tags": [
            "patch"
          ],
          "url": "https://github.com/apache/datasketches-cpp/pull/568"
        }
      ],
      "source": {
        "discovery": "EXTERNAL"
      },
      "title": "Out-of-bounds write in KLL sketch deserialization allows memory corruption via a crafted sketch",
      "x_generator": {
        "engine": "Vulnogram 1.0.3"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "f0158376-9dc2-43b6-827c-5f631a4d8d09",
    "cveId": "CVE-2026-123274",
    "serial": 1,
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.0"
}