CVE-2026-61657

Source
https://cve.org/CVERecord?id=CVE-2026-61657
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-61657.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-61657
Aliases
  • GHSA-m257-f4fp-gr9f
Published
2026-12-02T15:17:03Z
Modified
2026-12-02T20:45:27Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
zserio-runtime: Incomplete fix for GHSA-cwq5-8pvq-j65j — Array.read() bounds check skipped for variable-size element types (String, Object)
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.

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"
}
References

Affected packages

Git / github.com/ndsev/zserio

Affected ranges

Type
GIT
Repo
https://github.com/ndsev/zserio
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
Show details
{
    "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"
        }
    ]
}

Affected versions

v1.*
v1.0.0
v1.1.0
v1.2.0
v1.2.0-pre1
v1.3.0
v1.4.0-pre1
v1.4.0-pre2
v2.*
v2.0.0
v2.0.0-pre1
v2.0.0-pre2
v2.0.0-pre3
v2.0.0-pre4
v2.0.0-pre5
v2.1.0
v2.1.0-pre1
v2.1.0-pre2
v2.1.0-pre3
v2.10.0
v2.11.0
v2.12.0
v2.13.0
v2.14.0
v2.14.1
v2.15.0
v2.16.0
v2.16.1
v2.17.0
v2.18.0
v2.18.1
v2.2.0
v2.3.0
v2.3.0-pre1
v2.4.0
v2.4.0-pre1
v2.4.0-pre2
v2.4.0-pre3
v2.4.1
v2.4.2
v2.5.0
v2.5.0-pre1
v2.5.1
v2.6.0
v2.6.1
v2.7.0
v2.8.0
v2.9.0
v2.9.0-pre1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-61657.json"