NULL Pointer Dereference Affecting github.com/getkin/kin-openapi/openapi3 package, versions <0.145.0


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.37% (30th 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-GITHUBCOMGETKINKINOPENAPIOPENAPI3-21196878
  • published18 Oct 2026
  • disclosed15 Oct 2026
  • creditUnknown

Introduced: 15 Oct 2026

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

How to fix?

Upgrade github.com/getkin/kin-openapi/openapi3 to version 0.145.0 or higher.

Overview

Affected versions of this package are vulnerable to NULL Pointer Dereference through the resolveComponent process in the OpenAPI specification loader when handling a self-referential $ref in additionalProperties without proper nil-checks. An attacker can cause the application to crash by submitting a crafted OpenAPI document that triggers a nil pointer dereference during schema resolution.

CVSS Base Scores

version 4.0
version 3.1