{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "2.18.2"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StringRangeExpression"
              },
              {
                "original_tag": "v2.18.2",
                "range": [
                  {
                    "fixed": "c5ca0c94f7f906ec756e6220859e960629dd1df9"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "c5ca0c94f7f906ec756e6220859e960629dd1df9"
            }
          ],
          "repo": "https://github.com/ndsev/zserio",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-m257-f4fp-gr9f"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-789"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/61xxx/CVE-2026-61657.json"
  },
  "details": "Zserio is a framework for serializing structured data with a compact and efficient way with low overhead. The fix for GHSA-cwq5-8pvq-j65j shipped in zserio-runtime 2.18.1 is incomplete. Prior to version 2.18.2, the new bounds check in Array.read() is gated on arrayTraits.isBitSizeOfConstant(), which returns false for variable-size element types including strings and complex structs. For those types the check is never reached, rawArray.reset(readSize) executes unconditionally with an attacker-controlled value, and a 5-byte payload declaring Integer.MAX_VALUE elements causes an attempted ~16 GB heap allocation that crashes any process parsing untrusted zserio data — with no authentication required. This issue has been patched in version 2.18.2.",
  "id": "CVE-2026-61657",
  "modified": "2026-12-02T20:45:27.701329038Z",
  "published": "2026-12-02T15:17:03.213Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/61xxx/CVE-2026-61657.json"
    },
    {
      "type": "WEB",
      "url": "https://github.com/ndsev/zserio/releases/tag/v2.18.2"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/ndsev/zserio/security/advisories/GHSA-m257-f4fp-gr9f"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-61657"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "zserio-runtime: Incomplete fix for GHSA-cwq5-8pvq-j65j — Array.read() bounds check skipped for variable-size element types (String, Object)"
}