CVE catalog

CVE-2026-77354

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 fro

[CVE catalog]

Severity
High · CVSS 8.7CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Published
Updated
Source
[NVD] · [CVE record]
EPSS
0.52% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiangolang-github-getkin-kin-openapisid0.135.0-1vulnerable
Debiangolang-github-getkin-kin-openapiforky0.135.0-1vulnerable
Debiangolang-github-getkin-kin-openapitrixie0.124.0-1vulnerable
Debiangolang-github-getkin-kin-openapibookworm0.110.0-1vulnerable
Gogithub.com/getkin/kin-openapiNot reported0.142.0fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiangolang-github-getkin-kin-openapisourcesid(unfixed)not yet assignedNot reported[1145174]
Debiangolang-github-getkin-kin-openapisourceforky(unfixed)not yet assignedNot reported[1145174]
Debiangolang-github-getkin-kin-openapisourcetrixie(unfixed)not yet assignedNot reported[1145174]
Debiangolang-github-getkin-kin-openapisourcebookworm(unfixed)not yet assignedNot reported[1145174]
Gogithub.com/getkin/kin-openapigoNot reported0.142.0Not reportedGHSA-XHJ3-7XW9-VR34Not reported

[Debian bug #1145174]

Notes

[trixie] golang-github-getkin-kin-openapi: Minor issue [bookworm] golang-github-getkin-kin-openapi: Minor issue; out of LTS support

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Source package: [golang-github-getkin-kin-openapi]

    Details (2)
    • 0.110.0-1 · all · bookworm

      Affected

      nvd · golang-github-getkin-kin-openapi · debian · bookworm; nvd · golang-github-getkin-kin-openapi · debian · 12

    • 0.110.0-1 · all · bookworm

      Affected

      nvd · golang-github-getkin-kin-openapi · debian · bookworm; nvd · golang-github-getkin-kin-openapi · debian · 12

[Debian 13 (Trixie)]

Observed:

References