Description
kin-openapi is a Go project for handling OpenAPI files. Prior to 0.146.0, openapi3filter.ValidateResponse passes a nil response header schema to decodeValue when an OpenAPI document declares the header with content instead of schema. The document passes validation, but every response validation for the affected operation dereferences the nil schema and panics even when the response does not contain the declared header. Applications that ingest an untrusted specification can expose this as remote availability impact, while applications using only trusted local specifications still crash when the affected operation is exercised. This issue is fixed in version 0.146.0.
Published: 2026-10-15
Score: 8.2 High
EPSS: < 1% Very Low
KEV: No
Impact: Remote Availability Impact (Crash via nil-pointer)
Action: Apply Patch
AI Analysis

Impact

The vulnerability is a nil-pointer dereference in kin-openapi's openapi3filter.ValidateResponse. When an OpenAPI document declares a response header with content instead of a schema, the validation routine passes a nil schema to decodeValue, causing a panic that crashes the application during response validation, even if the header is absent. The flaw does not modify the response data itself, but it results in a loss of availability whenever the affected operation is exercised.

Affected Systems

The issue impacts the getkin:kin-openapi library, affecting all releases prior to version 0.146.0.

Risk and Exploitability

The CVSS score of 8.2 signals a high severity problem. The EPSS score is not available and the vulnerability is not listed in the CISA KEV catalog, but the potential impact remains significant. Based on the description, it is inferred that an attacker can supply a malicious OpenAPI specification that includes a response header declared with content. The resulting nil-pointer panic causes the application to crash, providing a remote denial-of-service condition. Exploitation requires the ability to insert or alter the OpenAPI document processed by the application.

Generated by OpenCVE AI on October 16, 2026 at 06:47 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade kin-openapi to version 0.146.0 or later, which removes the nil-pointer dereference.
  • Restrict the OpenAPI specifications your application processes to trusted sources and validate them before use to ensure all headers are defined with schemas.
  • If an upgrade is not immediately possible, wrap calls to ValidateResponse in a recover block or otherwise handle potential panics to prevent the application from crashing until a patch is applied.

Generated by OpenCVE AI on October 16, 2026 at 06:47 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-74vm-87hj-r66f kin-openapi openapi3filter: nil-pointer panic in ValidateResponse on a response header declared with content
History

Fri, 23 Oct 2026 13:15:00 +0000

Type Values Removed Values Added
First Time appeared Getkin
Getkin kin-openapi
Vendors & Products Getkin
Getkin kin-openapi

Fri, 16 Oct 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 16 Oct 2026 00:30:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Important


Thu, 15 Oct 2026 16:00:00 +0000

Type Values Removed Values Added
Description kin-openapi is a Go project for handling OpenAPI files. Prior to 0.146.0, openapi3filter.ValidateResponse passes a nil response header schema to decodeValue when an OpenAPI document declares the header with content instead of schema. The document passes validation, but every response validation for the affected operation dereferences the nil schema and panics even when the response does not contain the declared header. Applications that ingest an untrusted specification can expose this as remote availability impact, while applications using only trusted local specifications still crash when the affected operation is exercised. This issue is fixed in version 0.146.0.
Title kin-openapi openapi3filter: nil-pointer panic in ValidateResponse on a response header declared with content
Weaknesses CWE-476
References
Metrics cvssV4_0

{'score': 8.2, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N'}


Subscriptions

Getkin Kin-openapi
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-16T17:13:28.236Z

Reserved: 2026-09-25T19:19:54.697Z

Link: CVE-2026-100349

cve-icon Vulnrichment

Updated: 2026-10-15T20:24:40.900Z

cve-icon NVD

Status : Deferred

Published: 2026-10-15T16:17:30.640

Modified: 2026-10-16T18:17:10.350

Link: CVE-2026-100349

cve-icon Redhat

Severity : Important

Publid Date: 2026-10-15T15:50:37Z

Links: CVE-2026-100349 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-23T13:00:16Z

Weaknesses