Memory Allocation with Excessive Size Value Affecting github.com/getkin/kin-openapi/openapi3filter package, versions <0.142.0


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.3% (23rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMGETKINKINOPENAPIOPENAPI3FILTER-19233592
  • published24 Aug 2026
  • disclosed21 Aug 2026
  • creditmatiasinsaurralde

Introduced: 21 Aug 2026

NewCVE-2026-77354  (opens in a new tab)
CWE-789  (opens in a new tab)

How to fix?

Upgrade github.com/getkin/kin-openapi/openapi3filter to version 0.142.0 or higher.

Overview

Affected versions of this package are vulnerable to Memory Allocation with Excessive Size Value through sliceMapToSlice in openapi3filter/req_resp_decoder.go. An attacker can force multi-gigabyte heap allocation and a denial of service by sending a deepObject query parameter with a large array index, such as param[items][50000000]=x.

CVSS Base Scores

version 4.0
version 3.1