NULL Pointer Dereference Affecting github.com/getkin/kin-openapi/openapi3filter package, versions >=0.136.0 <0.143.0


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.44% (37th 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-21197552
  • published18 Oct 2026
  • disclosed15 Oct 2026
  • creditUnknown

Introduced: 15 Oct 2026

NewCVE-2026-97394  (opens in a new tab)
CWE-248  (opens in a new tab)
CWE-476  (opens in a new tab)

How to fix?

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

Overview

Affected versions of this package are vulnerable to NULL Pointer Dereference in the openapi3filter process when handling OpenAPI 3.1 schemas that declare an array type without specifying items. An attacker can cause the application to crash by sending a crafted HTTP request with a non-empty application/x-www-form-urlencoded or multipart/form-data body, or by triggering response validation with an array-typed response header. This is only exploitable if the application uses OpenAPI 3.1 documents with array properties missing items and does not implement per-request panic recovery.

CVSS Base Scores

version 4.0
version 3.1