highVulnerability

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 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.

Properties

severity
high
summary
kin-openapi has uncontrolled resource consumption in openapi3filter deepObject query parameter decoding
epss_score
0.00524
retrieved_at
2026-10-05T02:30:02+00:00
ghsa_published
2026-08-21T20:56:56Z
source_url
https://github.com/advisories/GHSA-xhj3-7xw9-vr34
ghsa_updated
2026-08-21T20:56:57Z
ghsa_id
GHSA-xhj3-7xw9-vr34
last_source
FIRST EPSS
cve_id
CVE-2026-77354
signal_observed_at
2026-09-11T17:54:59+00:00
is_ghsa_only
false
published_at
2026-08-21T21:17:07.130
last_modified
2026-09-09T21:06:39.057
epss_percentile
0.42395

Related Entities (7)

DESCRIBED_BY (1)

→[Source]NVD

ENRICHED_BY (1)

→[Source]FIRST EPSS

VULNERABLE_TO (1)

←[Software]go/github.com/getkin/kin-openapi

AFFECTS (1)

→[Software]go/github.com/getkin/kin-openapi

HAS_WEAKNESS (2)

→[Weakness]Uncontrolled Resource Consumption
→[Weakness]Memory Allocation with Excessive Size Value

REPORTED_BY (1)

→[Source]GitHub Advisory Database

Explore deeper with Ninja Signal's threat intelligence graph