CVE-2026-76905

NameCVE-2026-76905
Descriptionkin-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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
golang-github-getkin-kin-openapi (PTS)bullseye0.32.0-2vulnerable
bookworm0.110.0-1vulnerable
trixie0.124.0-1vulnerable
forky, sid0.135.0-1vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
golang-github-getkin-kin-openapisource(unstable)(unfixed)

Notes

[trixie] - golang-github-getkin-kin-openapi <no-dsa> (Minor issue)
[bookworm] - golang-github-getkin-kin-openapi <ignored> (Minor issue; out of LTS support)
[bullseye] - golang-github-getkin-kin-openapi <ignored> (Minor issue; out of LTS support)
https://github.com/getkin/kin-openapi/security/advisories/GHSA-mmfr-pmjx-hw9w
Fixed by: https://github.com/getkin/kin-openapi/commit/1d0a337c9b1570fab283be8a04c8af6e43b9a22c (v0.141.0)

Search for package or bug name: Reporting problems