Description
kin-openapi is a Go project for handling OpenAPI files. From 0.10.0 until 0.141.0, openapi3filter.convertParseError in openapi3filter/validation_error_encoder.go dereferences e.Parameter.In without checking whether e.Parameter is nil. A malformed non-string scalar field in a multipart/form-data request body produces a nested ParseError with a nil RequestError.Parameter, and applications that render the validation error through openapi3filter.ConvertErrors or ValidationErrorEncoder panic. An unauthenticated client can repeatedly send such requests to deny service when the application lacks a recovery boundary. JSON request bodies and applications that do not use these error-rendering helpers are not affected. This issue is fixed in version 0.141.0.
Published: 2026-08-21
Score: 7.5 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A nil-pointer dereference occurs in the error‑encoding logic of a server that uses the kin‑openapi library when it processes a malformed multipart/form‑data request. The library’s ConvertErrors helper attempts to read a request parameter that the inner error structure does not supply, causing a panic. The resulting crash terminates the handler, exhausting available worker threads or processes until the application is restarted, which is a classic unavailability attack.

Affected Systems

The vulnerability is limited to applications that include kin‑openapi version 0.10.0 through 0.140.9 and that explicitly use the ConvertErrors or ValidationErrorEncoder functions to render validation errors. Systems running earlier or later releases, or bypassing these helper functions, are not affected. The library is used primarily in Go‑based web services that expose OpenAPI definitions via HTTP endpoints.

Risk and Exploitability

The CVSS base score of 7.5 indicates a high impact; the vulnerability can be triggered over the network by any client without authentication, as long as the target service accepts multipart/form‑data requests. No exploit code is required beyond crafting an invalid request body containing a non‑string scalar field. Because the EPSS metric is unavailable, the current data does not quantify how frequently attackers target this weakness, but the high severity and lack of mitigation on affected deployments make it a compelling target. The vulnerability is not yet listed in the CISA KEV catalog.

Generated by OpenCVE AI on August 21, 2026 at 22:48 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade kin‑openapi to version 0.141.0 or later, where the nil check is added and the panic is prevented.
  • If an upgrade cannot be made immediately, remove or replace any usage of convertParseError, ConvertErrors, or ValidationErrorEncoder from the error handling path to avoid triggering the panic.
  • Wrap the web service with a panic‑recovery middleware or ensure it is already surrounded by a recovery boundary so that a panic does not bring down the entire application.

Generated by OpenCVE AI on August 21, 2026 at 22:48 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-mmfr-pmjx-hw9w kin-openapi openai3filter: nil-pointer panic in ConvertErrors on malformed multipart/form-data body enables unauthenticated DoS
History

Fri, 21 Aug 2026 23:00:00 +0000

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

Fri, 21 Aug 2026 21:00:00 +0000

Type Values Removed Values Added
Description kin-openapi is a Go project for handling OpenAPI files. From 0.10.0 until 0.141.0, openapi3filter.convertParseError in openapi3filter/validation_error_encoder.go dereferences e.Parameter.In without checking whether e.Parameter is nil. A malformed non-string scalar field in a multipart/form-data request body produces a nested ParseError with a nil RequestError.Parameter, and applications that render the validation error through openapi3filter.ConvertErrors or ValidationErrorEncoder panic. An unauthenticated client can repeatedly send such requests to deny service when the application lacks a recovery boundary. JSON request bodies and applications that do not use these error-rendering helpers are not affected. This issue is fixed in version 0.141.0.
Title kin-openapi openai3filter: nil-pointer panic in ConvertErrors on malformed multipart/form-data body enables unauthenticated DoS
Weaknesses CWE-476
References
Metrics 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'}


Subscriptions

Getkin Kin-openapi
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-21T20:43:07.066Z

Reserved: 2026-08-19T22:43:14.891Z

Link: CVE-2026-76905

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-21T21:17:06.320

Modified: 2026-08-21T21:17:06.320

Link: CVE-2026-76905

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-21T23:00:14Z

Weaknesses