Skip to content
Heist/ feed
Back to feed
Medium

golang-github-getkin-kin-openapi — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2026-73502

kin-openapi is a Go project for handling OpenAPI files. From 0.2.0 until 0.144.0, openapi3filter.ValidateRequest can encounter a NULL-pointer-dereference denial of service when an operation declares a content parameter whose application/json media type has no schema. In openapi3filter/req_resp_decoder.go, the default defaultContentParameterDecoder dereferences mt.Schema.Value without checking whether mt.Schema is nil, even though doc.Validate() accepts the document under OpenAPI 3.0.x and 3.1.x. A single unauthenticated request supplying the parameter value can panic request validation, causing an aborted request with log growth in the common synchronous net/http path or a full process crash in integrations without recovery. This issue is fixed in version 0.144.0.

Products
golang-github-getkin-kin-openapi
Affected versions
0.117.0-1, 0.120.0-1, 0.122.0-3, 0.123.0-1, 0.124.0-1, 0.135.0-1, 0.32.0-2, 0.80.0-1, 0.85.0-1
Fixed versions
Not specified
CVEs
CVE-2026-73502
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 03:15 UTC · Revision 1

Source evidence

UBUNTU-CVE-2026-73502

core-osv · Original source

Published 18 Aug 2026, 18:19 UTC

kin-openapi is a Go project for handling OpenAPI files. From 0.2.0 until 0.144.0, openapi3filter.ValidateRequest can encounter a NULL-pointer-dereference denial of service when an operation declares a content parameter whose application/json media type has no schema. In openapi3filter/req_resp_decoder.go, the default defaultContentParameterDecoder dereferences mt.Schema.Value without checking whether mt.Schema is nil, even though doc.Validate() accepts the document under OpenAPI 3.0.x and 3.1.x. A single unauthenticated request supplying the parameter value can panic request validation, causing an aborted request with log growth in the common synchronous net/http path or a full process crash in integrations without recovery. This issue is fixed in version 0.144.0.

osv:UBUNTU-CVE-2026-73502

golang-github-getkin-kin-openapi

Fixed versions: Not specified

golang-github-getkin-kin-openapi

Fixed versions: Not specified

golang-github-getkin-kin-openapi

Fixed versions: Not specified

golang-github-getkin-kin-openapi

Fixed versions: Not specified

Complete source record
{
  "id": "79aeef599fd29a1e64cc344f294ca4e762672ea36d6ae8717afd0ef5bc679355",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-73502",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2026-73502",
    "summary": "kin-openapi is a Go project for handling OpenAPI files. From 0.2.0 until 0.144.0, openapi3filter.ValidateRequest can encounter a NULL-pointer-dereference denial of service when an operation declares a content parameter whose application/json media type has no schema. In openapi3filter/req_resp_decoder.go, the default defaultContentParameterDecoder dereferences mt.Schema.Value without checking whether mt.Schema is nil, even though doc.Validate() accepts the document under OpenAPI 3.0.x and 3.1.x. A single unauthenticated request supplying the parameter value can panic request validation, causing an aborted request with log growth in the common synchronous net/http path or a full process crash in integrations without recovery. This issue is fixed in version 0.144.0.",
    "evidence": "osv:UBUNTU-CVE-2026-73502",
    "products": [
      {
        "name": {
          "value": "golang-github-getkin-kin-openapi",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.32.0-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.80.0-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.85.0-1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "golang-github-getkin-kin-openapi",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.117.0-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "0.120.0-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "0.122.0-3",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "0.123.0-1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "golang-github-getkin-kin-openapi",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.124.0-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "0.135.0-1",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "golang-github-getkin-kin-openapi",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.124.0-1",
            "evidence": "/affected/3/versions"
          }
        ]
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "UBUNTU-CVE-2026-73502",
      "aliases": [
        "UBUNTU-CVE-2026-73502"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-github-getkin-kin-openapi",
            "purl": "pkg:deb/ubuntu/golang-github-getkin-kin-openapi?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "0.32.0-2",
            "0.80.0-1",
            "0.85.0-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-73502.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "golang-github-getkin-kin-openapi-dev",
                "binary_version": "0.85.0-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-github-getkin-kin-openapi",
            "purl": "pkg:deb/ubuntu/golang-github-getkin-kin-openapi?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "0.117.0-1",
            "0.120.0-1",
            "0.122.0-3",
            "0.123.0-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-73502.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "golang-github-getkin-kin-openapi-dev",
                "binary_version": "0.123.0-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-github-getkin-kin-openapi",
            "purl": "pkg:deb/ubuntu/golang-github-getkin-kin-openapi?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "0.124.0-1",
            "0.135.0-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-73502.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "golang-github-getkin-kin-openapi-dev",
                "binary_version": "0.135.0-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-github-getkin-kin-openapi",
            "purl": "pkg:deb/ubuntu/golang-github-getkin-kin-openapi?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "0.124.0-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-73502.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "golang-github-getkin-kin-openapi-dev",
                "binary_version": "0.124.0-1"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T13:01:03.039036672Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-73502"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2026-73502",
        "https://www.cve.org/CVERecord?id=CVE-2026-73502"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-73502",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 360901,
  "published_at": "2026-08-18T18:19:00+00:00"
}