cve.bz

CVE-2026-77354 getkin kin-openapi: Uncontrolled Resource Consumption

8.7 highEPSS 0.5%Fix available

High (8.7) in getkin kin-openapi. EPSS 0.5% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/getkin/kin-openapi 0.142.0.

On this page
kin-openapi is a Go project for handling OpenAPI files. From 0.124.0 until 0.142.0, openapi3filter.sliceMapToSlice in openapi3filter/req_resp_decoder.go converts attacker-controlled sparse indexes from a deepObject query parameter into a dense slice by allocating entries from zero through the largest supplied index, after which buildResObj creates another slice of the same length. This allocation occurs before schema validation, so maxItems does not prevent it. An unauthenticated client can send a small query such as param[items][50000000]=x to an endpoint whose deepObject schema contains an array, forcing multi-gigabyte heap allocation and causing an OOM kill or restart loop. Other request-body encodings and styled parameters that do not produce bracketed integer indexes are not affected. This issue is fixed in version 0.142.0.

Severity

CVSS 4.0

8.7 high
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 45th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: partial, assessed 2026-08-25. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-400 Uncontrolled Resource Consumption
CWE-789 Memory Allocation with Excessive Size Value
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-77354 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-77354?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-77354?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-77354 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
getkin kin-openapi>= 0.124.0, < 0.142.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-xhj3-7xw9-vr34Gogithub.com/getkin/kin-openapi>=0.124.0 <0.142.00.142.0
GO-2026-6275Gogithub.com/getkin/kin-openapi>=0.124.0 <0.142.00.142.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14golang-github-getkin-kin-openapino fix listedDEBIAN-CVE-2026-77354
Ubuntu22.04:LTS, 24.04:LTS, 26.04:LTS and 1 moregolang-github-getkin-kin-openapino fix listedUBUNTU-CVE-2026-77354
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0govulncheck-vulndb0.0.20260827T195228-160000.1.1SUSE-SU-2026:23625-1
openSUSELeap 16.0govulncheck-vulndb0.0.20260827T195228-160000.1.1openSUSE-SU-2026:21761-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

Red Hat rates this flaw as Important because a small request can exhaust memory and terminate an exposed service. Exploitation requires an application to decode attacker-controlled query parameters using kin-openapi’s deepObject handling with an array-containing schema. Schema limits such as maxItems do not prevent the allocation, and HTTP handler panic recovery does not protect against process termination from memory exhaustion.

ProductPackageStateAdvisory
Multicluster Global Hub 1.7.4multicluster-globalhub/multicluster-globalhub-grafana-rhel9:1793002792Fixed 2026-11-05RHSA-2026:95517
Red Hat Advanced Cluster Management for Kubernetes 2.13rhacm2/acm-grafana-rhel9:1792865487Fixed 2026-10-29RHSA-2026:92307
Red Hat Edge Manager 1.2rhem/flightctl-alert-exporter-rhel10:1793719935Fixed 2026-11-03RHSA-2026:94612
Red Hat Edge Manager 1.2rhem/flightctl-alertmanager-proxy-rhel10:1793719069Fixed 2026-11-03RHSA-2026:94612
Red Hat Edge Manager 1.2rhem/flightctl-api-rhel10:1793719962Fixed 2026-11-03RHSA-2026:94612
Red Hat Edge Manager 1.2rhem/flightctl-cli-artifacts-rhel10:1793718690Fixed 2026-11-03RHSA-2026:94612
Red Hat Edge Manager 1.2rhem/flightctl-db-setup-rhel10:1793719178Fixed 2026-11-03RHSA-2026:94612
Red Hat Edge Manager 1.2rhem/flightctl-imagebuilder-api-rhel10:1793719991Fixed 2026-11-03RHSA-2026:94612
Red Hat Edge Manager 1.2rhem/flightctl-imagebuilder-worker-rhel10:1793718758Fixed 2026-11-03RHSA-2026:94612
Red Hat Edge Manager 1.2rhem/flightctl-pam-issuer-rhel10:1793718727Fixed 2026-11-03RHSA-2026:94612
Migration Toolkit for Applications 8mta/mta-hub-rhel9Not affected
Multicluster Engine for Kubernetesmulticluster-engine/managedcluster-import-controller-rhel9Not affected
OpenShift Serverlesskn-workflow-pluginNot affected
OpenShift Serverlessopenshift-serverless-1/kn-backstage-plugins-eventmesh-rhel9Affected
Red Hat 3scale API Management Platform 23scale-amp2/3scale-operator-bundleNot affected
Red Hat 3scale API Management Platform 23scale-amp2/3scale-rhel7-operator-metadataNot affected
Red Hat Advanced Cluster Management for Kubernetes 2flightctlNot affected
Red Hat Ceph Storage 5rhceph/rhceph-5-dashboard-rhel8Not affected
Red Hat Ceph Storage 6rhceph/rhceph-6-dashboard-rhel9Fix deferred
Red Hat Ceph Storage 7rhceph/grafana-rhel9Fix deferred
76 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-77354.

Attack patterns (CAPEC)

  • CAPEC-147 XML Ping of the Death Likelihood: Low · Severity: Medium
  • CAPEC-227 Sustained Client Engagement
  • CAPEC-492 Regular Expression Exponential Blowup

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON