CVE-2026-77354
NoneCVSS
—
EPSS
0.5%
Published
Aug 21, 2026
CISA due date
—
Cloudanix analysis
A bug in a common software component lets anyone crash web services by sending one specially crafted web address, making those services unavailable until they are restarted.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Trivial
- Impact
- Denial Of Service
- Component
- Library
- Class
- Denial of service
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
The flaw resides in openapi3filter.sliceMapToSlice which allocates a dense Go slice sized to the largest attacker-supplied sparse index from a deepObject query parameter before any schema validation (including maxItems) runs; buildResObj then duplicates the oversized allocation, resulting in multi-gigabyte heap growth and OOM.
Why it matters to the business
Services using the affected library versions can be forced into restart loops or crashes, causing denial of service and loss of availability for any API endpoints that accept deepObject-style array parameters.
How an attack unfolds
An unauthenticated remote attacker identifies an endpoint whose OpenAPI schema uses a deepObject style array parameter, then submits a minimal query containing a single bracketed index such as param[items][50000000]=x; the decoder allocates memory up to that index before validation occurs, exhausting heap resources.
How to fix it
Upgrade kin-openapi to version 0.142.0 or newer; until the upgrade is complete, disable or rewrite endpoints that rely on deepObject style array parameters or apply a web-application firewall rule that rejects query strings containing high-value numeric bracket indexes.
How to confirm the fix worked
Confirm the imported module version is 0.142.0 or later via go.mod or go list; attempt a request with a large index such as items[1000000] and verify the server returns a validation error or 4xx response instead of allocating excessive memory.
Typical attack path
- Map API surface and locate endpoints accepting deepObject query parameters with array schemas
- Craft and send a single GET/POST request containing a large numeric index inside bracket notation
- Trigger pre-validation slice allocation that exhausts available memory
- Observe OOM kill or process restart, confirming denial of service
How to detect it
Inspect HTTP access logs for query strings containing bracket notation with very large numeric indexes; correlate with application or OS logs showing sudden memory spikes, OOM killer invocations, or repeated process restarts on API servers.
- param[items][50000000]=x
- sliceMapToSlice
- req_resp_decoder.go
What your security team should do
- Immediately update the kin-openapi dependency to 0.142.0 across all services
- Add WAF or ingress rules to drop queries containing bracketed indexes larger than expected schema limits
- Enable memory and restart monitoring on services that expose deepObject parameters
- Audit OpenAPI schemas to identify and refactor any deepObject array parameters
The record
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.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|
Related vulnerabilities
- CVE-2026-116668 Tanium addressed an uncontrolled resource consumption vulnerability in Discover. CWE-400
- CVE-2026-111751 Angular is a development platform for building mobile and desktop web applications using… CWE-400
- CVE-2026-111752 Angular is a development platform for building mobile and desktop web applications using… CWE-400
- CVE-2026-63476 isomorphic-git is a pure JavaScript implementation of Git for Node.js and browsers. CWE-400
- CVE-2026-121444 svg-sanitizer from 0.11.0 before 1.1.0 contains an algorithmic complexity denial of… CWE-400
- CVE-2026-121438 Mistune before 3.3.3 contains a denial of service vulnerability in… CWE-400
- CVE-2026-121404 FreeRDP before 3.32.2 contains a denial of service vulnerability in the shadow server… CWE-400
- CVE-2026-49924 In ShortcutInfo of ShortcutInfo.java, there is a possible way to crash the launcher via… CWE-400