CVE-2026-76905: CWE-476: NULL Pointer Dereference in getkin kin-openapi
A NULL pointer dereference vulnerability exists in kin-openapi versions from 0.10.0 up to but not including 0.141.0. The issue occurs in the openapi3filter.convertParseError function, which dereferences a parameter without checking for nil, causing a panic when processing certain malformed multipart/form-data requests. This can lead to a denial of service if the application does not have recovery mechanisms. The vulnerability is fixed in version 0.141.0.
AI Analysis
Technical Summary
kin-openapi, a Go library for handling OpenAPI files, has a NULL pointer dereference vulnerability (CWE-476) in versions >=0.10.0 and <0.141.0. The function openapi3filter.convertParseError dereferences e.Parameter.In without verifying that e.Parameter is non-nil. When a malformed non-string scalar field is sent in a multipart/form-data request body, it produces a nested ParseError with a nil RequestError.Parameter. Applications that render validation errors using openapi3filter.ConvertErrors or ValidationErrorEncoder will panic, potentially causing a denial of service. JSON request bodies and applications not using these error-rendering helpers are not affected. The issue is resolved in version 0.141.0.
Potential Impact
An unauthenticated attacker can send specially crafted multipart/form-data requests that trigger a NULL pointer dereference, causing the application to panic and potentially crash if it lacks proper recovery boundaries. This results in a denial of service condition. There is no impact on confidentiality or integrity. The vulnerability does not affect JSON request bodies or applications that do not use the vulnerable error-rendering helpers.
Mitigation Recommendations
Upgrade kin-openapi to version 0.141.0 or later, where this NULL pointer dereference issue is fixed. If upgrading is not immediately possible, ensure that the application has proper recovery boundaries to handle panics gracefully and avoid service disruption. No other mitigations are specified.
CVE-2026-76905: CWE-476: NULL Pointer Dereference in getkin kin-openapi
Description
A NULL pointer dereference vulnerability exists in kin-openapi versions from 0.10.0 up to but not including 0.141.0. The issue occurs in the openapi3filter.convertParseError function, which dereferences a parameter without checking for nil, causing a panic when processing certain malformed multipart/form-data requests. This can lead to a denial of service if the application does not have recovery mechanisms. The vulnerability is fixed in version 0.141.0.
CVSS v3.1
Score 7.5high
Affected software
pkg:golang/github.com/getkin/kin-openapiRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
kin-openapi, a Go library for handling OpenAPI files, has a NULL pointer dereference vulnerability (CWE-476) in versions >=0.10.0 and <0.141.0. The function openapi3filter.convertParseError dereferences e.Parameter.In without verifying that e.Parameter is non-nil. When a malformed non-string scalar field is sent in a multipart/form-data request body, it produces a nested ParseError with a nil RequestError.Parameter. Applications that render validation errors using openapi3filter.ConvertErrors or ValidationErrorEncoder will panic, potentially causing a denial of service. JSON request bodies and applications not using these error-rendering helpers are not affected. The issue is resolved in version 0.141.0.
Potential Impact
An unauthenticated attacker can send specially crafted multipart/form-data requests that trigger a NULL pointer dereference, causing the application to panic and potentially crash if it lacks proper recovery boundaries. This results in a denial of service condition. There is no impact on confidentiality or integrity. The vulnerability does not affect JSON request bodies or applications that do not use the vulnerable error-rendering helpers.
Mitigation Recommendations
Upgrade kin-openapi to version 0.141.0 or later, where this NULL pointer dereference issue is fixed. If upgrading is not immediately possible, ensure that the application has proper recovery boundaries to handle panics gracefully and avoid service disruption. No other mitigations are specified.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-08-19T22:43:14.891Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a88be1eacd9273b49bcc759
Added to database: 08/21/2026, 21:07:42 UTC
Last enriched: 08/21/2026, 21:22:26 UTC
Last updated: 08/21/2026, 21:33:07 UTC
Views: 6
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.