# CVE-2026-77354: kin-openapi: Uncontrolled resource consumption in openapi3filter deepObject query parameter decoding

- Priority: **Prioritise**
- Reason: Severe, CVSS 8.7 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 04-12-2026)
- Next step: Check applicability: affected before 0.142.0 (CNA); fix release not confirmed
- Status: published
- Published: 2026-08-21 · Modified: 2026-08-25
- Aliases: UBUNTU-CVE-2026-77354, DEBIAN-CVE-2026-77354, CGA-45jr-4j4m-c7j7, CGA-5827-5wrw-vj27, GHSA-xhj3-7xw9-vr34, GO-2026-6275, CGA-28mx-272c-jx7c, CGA-2wrc-cgxr-j9xj, CGA-3wxm-42f5-2chm, CGA-4cjp-787q-7pw2, CGA-4v2r-w8j4-qcwr, CGA-55m9-4v6w-jc3j, CGA-5fr7-xgpm-82j7, CGA-5hhm-hgvf-cw65, CGA-7wfm-h2p7-wcx8, CGA-8hr4-q87j-9m42, CGA-f5xr-j8xf-rwqp, CGA-gq99-2529-cpv4, CGA-h35m-mfv4-666x, CGA-h4px-8f7q-3462, CGA-hg4w-9q63-xcpj, CGA-jq3g-rc4c-3h98, CGA-m4h2-9h52-83vx, CGA-mr68-w4pw-q66w, CGA-p86j-8j56-qqr6, CGA-pvpv-qw36-h84m, CGA-qhw2-jw34-7c49, CGA-qrxx-qcjf-6xp9
- Record: https://cvemate.com/vulnerability/CVE-2026-77354 · JSON: https://cvemate.com/vulnerability/CVE-2026-77354/json

## Description

```text
kin-openapi is a Go project for handling OpenAPI files. From 0.124.0 until 0.142.0, openapi3filter.sliceMapToSlice in openapi3filter/req_resp_decoder.go converts attacker-controlled sparse indexes from a deepObject query parameter into a dense slice by allocating entries from zero through the largest supplied index, after which buildResObj creates another slice of the same length. This allocation occurs before schema validation, so maxItems does not prevent it. An unauthenticated client can send a small query such as param[items][50000000]=x to an endpoint whose deepObject schema contains an array, forcing multi-gigabyte heap allocation and causing an OOM kill or restart loop. Other request-body encodings and styled parameters that do not produce bracketed integer indexes are not affected. This issue is fixed in version 0.142.0.
```

## Signals

- CVSS: 8.7 high (v4.0, CVE.org) CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- EPSS: 0.302%, percentile 24.61%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- chainguard commercial-grafana-11.6 (Chainguard): All versions (No fix recorded)
- chainguard commercial-grafana-12.1 (Chainguard): All versions (No fix recorded)
- chainguard commercial-grafana-12.2 (Chainguard): All versions (No fix recorded)
- chainguard commercial-grafana-12.3 (Chainguard): All versions (No fix recorded)
- chainguard commercial-grafana-12.4 (Chainguard): \< 12.4.10-r0
- chainguard commercial-grafana-13.0 (Chainguard): \< 13.0.8-r0
- chainguard gptscript (Chainguard): All versions (No fix recorded)
- chainguard grafana-11.6 (Chainguard): \< 11.6.16-r10
- chainguard grafana-12.1 (Chainguard): All versions (No fix recorded) \| \< 12.1.10.01-r28
- chainguard grafana-12.2 (Chainguard): \< 12.2.10-r10
- chainguard grafana-fips-11.6 (Chainguard): \< 11.6.16-r10
- chainguard grafana-fips-12.1 (Chainguard): \< 12.1.10.01-r9
- wolfi gptscript (Wolfi): All versions (No fix recorded)
- debian golang-github-getkin-kin-openapi (Debian): All versions (No fix recorded)
- ubuntu golang-github-getkin-kin-openapi (Ubuntu): All versions (No fix recorded)
- getkin kin-openapi: ≥ 0.124.0, \< 0.142.0
- github.com/getkin kin-openapi (Go): ≥ 0.124.0, \< 0.142.0

## References

- <https://github.com/getkin/kin-openapi/security/advisories/GHSA-xhj3-7xw9-vr34>
- <https://github.com/getkin/kin-openapi/pull/923>
- <https://github.com/getkin/kin-openapi/commit/1223a0f215d2cf9beb2d9eb9ea2649d001c21388>
- <https://github.com/getkin/kin-openapi/releases/tag/v0.142.0>
- <https://ubuntu.com/security/CVE-2026-77354>
- <https://www.cve.org/CVERecord?id=CVE-2026-77354>
- <https://security-tracker.debian.org/tracker/CVE-2026-77354>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/77xxx/CVE-2026-77354.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-77354>
- <https://github.com/getkin/kin-openapi>

---

Data as of 2026-12-05T05:11:25.770Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
