---
id: CVE-2026-100352
title: kin-openapi is a Go project for handling OpenAPI files
summary: >-
  kin-openapi is a Go project for handling OpenAPI files. Prior to 0.148.0, the
  OpenAPI 3.1 validation path passes YAML NaN and infinity numeric values to
  santhosh-tekuri/jsonschema v6.0.2 without applying kin-openapi's existing
  finite-num…
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-754
  - CWE-476
vendor: getkin
product: kin-openapi
affected:
  - kin-openapi < 0.148.0
published: '2026-10-15'
updated: '2026-10-15'
sourceUpdated: '2026-10-15T16:17:31.450'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-100352'
references:
  - url: >-
      https://github.com/getkin/kin-openapi/commit/4487f198ab8be0c37d6ca72c54f5dca4dc25270e
    label: security-advisories@github.com
  - url: 'https://github.com/getkin/kin-openapi/releases/tag/v0.148.0'
    label: security-advisories@github.com
  - url: >-
      https://github.com/getkin/kin-openapi/security/advisories/GHSA-rj39-cv6w-8wv7
    label: security-advisories@github.com
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-100352'
  - url: 'https://github.com/advisories/GHSA-rj39-cv6w-8wv7'
  - url: 'https://github.com/getkin/kin-openapi'
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-100352.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-100352'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2553588'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-100352'
  - url: 'https://access.redhat.com/errata/RHSA-2026:85266'
  - url: 'https://access.redhat.com/errata/RHSA-2026:82637'
tags:
  - nvd
  - cve.org
  - ghsa
  - go
  - osv
  - csaf
  - vex
  - red-hat
  - exploit-available
ingestedAt: '2026-10-15T16:13:10.819Z'
aliases:
  - GHSA-rj39-cv6w-8wv7
ecosystem: go
patched:
  - github.com/getkin/kin-openapi 0.148.0
epss: 0.00595
epssPercentile: 0.48223
exploitAvailable: true
ssvc:
  exploitation: poc
  automatable: 'yes'
  technicalImpact: partial
  timestamp: '2026-10-20T02:45:51.857992Z'
---

## Overview

kin-openapi is a Go project for handling OpenAPI files. Prior to 0.148.0, the OpenAPI 3.1 validation path passes YAML NaN and infinity numeric values to santhosh-tekuri/jsonschema v6.0.2 without applying kin-openapi's existing finite-number guards. A remote unauthenticated client can send an application/yaml or application/x-yaml request body containing .nan, .inf, or -.inf to an operation with a numeric constraint, causing the dependency to create and dereference a nil big.Rat during ValidateRequest. Standard net/http servers recover the panic per connection, while other hosts or application goroutines may terminate the process. This issue is fixed in version 0.148.0.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2026-100352)

Affected packages:

- `github.com/getkin/kin-openapi < 0.148.0`

Patched in:

- `github.com/getkin/kin-openapi 0.148.0`

Source: https://github.com/advisories/GHSA-rj39-cv6w-8wv7

## Vendor advisories

- **Red Hat VEX** · Important · affected: Red Hat Hardened Images · no fix planned: Red Hat Hardened Images · updated 2026-10-20 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-100352.json)
- **RHSA-2026:85266** · Red Hat · fixed in: Red Hat Hardened Images · released 2026-10-19 · [advisory](https://access.redhat.com/errata/RHSA-2026:85266)
- **RHSA-2026:82637** · Red Hat · fixed in: Red Hat Hardened Images · released 2026-10-14 · [advisory](https://access.redhat.com/errata/RHSA-2026:82637)
