CVE-2026-35469 — spdystream
Fix: moby/spdystream@ef6121fCVE-2026-35469 is a CWE-770 vulnerability in github.com/moby/spdystream. A fix is available for github.com/moby/spdystream — see the affected versions and patch details below.
SpdyStream: DOS on CRI
Exploitation Status
No confirmed exploitation observed yet
- CISA assesses this as automatable — exploitation doesn’t require manual, per-target effort, which raises the odds of mass scanning and opportunistic attacks.
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for CVE-2026-35469.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
Real-World Exposure
github.com/moby/spdystreamReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Go packages — download data is not available via public APIs for these ecosystems.
Description
The SPDY/3 frame parser in spdystream does not validate attacker-controlled counts and lengths before allocating memory. A remote peer that can send SPDY frames to a service using spdystream can cause the process to allocate gigabytes of memory with a small number of malformed control frames, leading to an out-of-memory crash. Three allocation paths in the receive side are affected:
- SETTINGS entry count -- The SETTINGS frame reader reads a 32-bit
numSettingsfrom the payload and allocates a slice of that size without checking it against the declared frame length. An attacker can setnumSettingsto a value far exceeding the actual payload, triggering a large allocation before any setting data is read. - Header count --
parseHeaderValueBlockreads a 32-bitnumHeadersfrom the decompressed header block and allocates anhttp.Headermap of that size with no upper bound. - Header field size -- Individual header name and value lengths are read as 32-bit integers and used directly as allocation sizes with no validation. Because SPDY header blocks are zlib-compressed, a small on-the-wire payload can decompress into attacker-controlled bytes that the parser interprets as 32-bit counts and lengths. A single crafted frame is enough to exhaust process memory.
Impact
Any program that accepts SPDY connections using spdystream -- directly or through a dependent library -- is affected. A remote peer that can send SPDY frames to the service can crash the process with a single crafted SPDY control frame, causing denial of service.
Affected versions
github.com/moby/spdystream <= v0.5.0
Fix
v0.5.1 addresses the receive-side allocation bugs and adds related hardening: Core fixes:
- SETTINGS entry-count validation -- The SETTINGS frame reader now
checks that
numSettingsis consistent with the declared frame length (numSettings <= (length-4)/8) before allocating. - Header count limit --
parseHeaderValueBlockenforces a maximum number of headers per frame (default: 1000). - Header field size limit -- Individual header name and value lengths are checked against a per-field size limit (default: 1 MiB) before allocation.
- Connection closure on protocol error -- The connection read loop
now closes the underlying
net.Connwhen it encounters anInvalidControlFrameerror, preventing further exploitation on the same connection. Additional hardening: - Write-side bounds checks -- All frame write methods now verify that payloads fit within the 24-bit length field, preventing the library from producing invalid frames. Configurable limits:
- Callers can adjust the defaults using
NewConnectionWithOptionsor the lower-levelspdy.NewFramerWithOptionswith functional options:WithMaxControlFramePayloadSize,WithMaxHeaderFieldSize, andWithMaxHeaderCount.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐹Go | github.com/moby/spdystream | all versions | 0.5.1go get github.com/moby/spdystream@v0.5.1 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for github.com/moby/spdystream, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update github.com/moby/spdystream to 0.5.1 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2026-35469 is resolved across your whole dependency graph.
Workarounds
Cap what an attacker can consume: apply request size, rate and timeout limits in front of the affected component, and run it with memory and CPU limits so exhaustion degrades one worker rather than the whole service.
Fixing This On Your OS
If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.
This is an Important denial of service flaw affecting OpenShift Container Platform. An attacker with specific elevated cluster roles, such as those permitting pod port forwarding, execution, attachment, or node proxying, could exploit a vulnerability in the SPDY streaming code of Kubelet, CRI-O, and kube-apiserver,…
To mitigate this issue, review and restrict the assignment of Kubernetes cluster roles `pods/portforward (create)`, `pods/exec (create)`, `pods/attach (create)`, and `nodes/proxy (get/create)` to untrusted users or service accounts. Ensure that only authorized and necessary entities possess these permissions. Modifying RBAC policies can impact the functionality of applications and services that rely on these permissions; careful testing is recommended.Source: Red Hat security advisory for CVE-2026-35469 (CC BY 4.0)
| Product | Fixed in | Advisory |
|---|---|---|
| Red Hat OpenShift Container Platform 4.19 | openshift-0:4.19.0-202606301915.p2.g63adf01.assembly.stream.el9 | RHSA-2026:34755 |
| Red Hat OpenShift Container Platform 4.19 | microshift-0:4.19.42-202608062155.p0.g46c9d67.assembly.4.19.42.el9 | RHSA-2026:51422 |
| RHEM 1.0 for RHEL 9 | flightctl-0:1.0.3-1.el9em | RHSA-2026:36796 |
| RHEM 1.1 for RHEL 10 | flightctl-0:1.1.3-1.el10em | RHSA-2026:41019 |
| Cluster Observability Operator 1.5 | cluster-observability-operator/cluster-observability-rhel9-operator:1787593637 | RHSA-2026:61314 |
| Logging Subsystem for Red Hat OpenShift 6.0 | openshift-logging/cluster-logging-rhel9-operator:1791830134 | RHSA-2026:83013 |
| Logging Subsystem for Red Hat OpenShift 6.2 | openshift-logging/cluster-logging-rhel9-operator:1789050399 | RHSA-2026:68349 |
| Logging Subsystem for Red Hat OpenShift 6.5 | openshift-logging/cluster-logging-rhel9-operator:1789659166 | RHSA-2026:70870 |
Frequently Asked Questions
Is CVE-2026-35469 in your dependencies?
Find it across Go, including transitive dependencies.