Skip to main content

spdystream EUVDEUVD-2026-23298

| CVE-2026-35469 HIGH
Allocation of Resources Without Limits or Throttling (CWE-770)
2026-04-16 https://github.com/moby/spdystream GHSA-pc3f-x583-g7j2
8.7
CVSS 4.0 · Vendor: https://github.com/moby/spdystream
Share

Severity by source

Vendor (https://github.com/moby/spdystream) PRIMARY
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
vuln.today AI
7.5 HIGH

Remote unauthenticated peer sends one low-complexity SPDY frame with no user interaction; impact is pure availability (OOM crash) with no confidentiality or integrity effect.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE
6.5 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Red Hat
6.5 HIGH
qualitative

Primary rating from Vendor (https://github.com/moby/spdystream).

CVSS VectorVendor: https://github.com/moby/spdystream

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
X

Lifecycle Timeline

6
Source Code Evidence Fetched
Jul 24, 2026 - 07:23 vuln.today
Analysis Generated
Jul 24, 2026 - 07:23 vuln.today
Patch released
Apr 29, 2026 - 21:04 nvd
Patch available
Patch available
Apr 16, 2026 - 22:01 EUVD
EUVD ID Assigned
Apr 16, 2026 - 21:15 euvd
EUVD-2026-23298
CVE Published
Apr 16, 2026 - 20:44 nvd
HIGH 8.7

DescriptionCVE.org

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:

  1. SETTINGS entry count -- The SETTINGS frame reader reads a 32-bit

numSettings from the payload and allocates a slice of that size without checking it against the declared frame length. An attacker can set numSettings to a value far exceeding the actual payload, triggering a large allocation before any setting data is read.

  1. Header count -- parseHeaderValueBlock reads a 32-bit

numHeaders from the decompressed header block and allocates an http.Header map of that size with no upper bound.

  1. 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 numSettings is consistent with the declared frame length (numSettings <= (length-4)/8) before allocating.

  • Header count limit -- parseHeaderValueBlock enforces 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.Conn when it encounters an InvalidControlFrame error, 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 NewConnectionWithOptions or

the lower-level spdy.NewFramerWithOptions with functional options: WithMaxControlFramePayloadSize, WithMaxHeaderFieldSize, and WithMaxHeaderCount.

AnalysisAI

Remote denial of service in moby/spdystream (Go SPDY/3 library) versions <= v0.5.0 allows an unauthenticated remote peer to crash any service that accepts SPDY connections. By sending a small number of malformed control frames whose attacker-controlled 32-bit counts and lengths are used as unbounded allocation sizes, an attacker forces the process to allocate gigabytes of memory and hit an out-of-memory crash. There is no public exploit identified at time of analysis and EPSS is very low (0.01%), but the flaw is trivially automatable and reaches container-platform components (advisory titled 'DOS on CRI'), so patched v0.5.1 should be adopted where SPDY is exposed.

Technical ContextAI

spdystream implements the legacy SPDY/3 framing protocol in Go and is embedded in the container ecosystem - notably Kubernetes CRI streaming (kubectl exec/attach/port-forward) and Docker/moby tooling, consistent with the CPE pkg:go/github.com_moby_spdystream and the numerous Red Hat RHSA errata rebuilding downstream images. The root cause is CWE-770 (Allocation of Resources Without Limits or Throttling): three receive-side paths read 32-bit values straight off the wire and use them as allocation sizes without bounding them against the declared frame length. The SETTINGS reader allocates a slice sized by numSettings; parseHeaderValueBlock allocates an http.Header map sized by numHeaders; and individual header name/value lengths are used directly as buffer sizes. Because SPDY header blocks are zlib-compressed, a tiny on-the-wire payload decompresses into large attacker-chosen counts, giving strong amplification from a single crafted frame.

RemediationAI

Vendor-released patch: v0.5.1 - upgrade the github.com/moby/spdystream dependency to v0.5.1 or later (fix commit ef6121f62c730110bf5ae604a865a8613bfb787f) and rebuild/redeploy affected services; consumers of downstream vendor images should apply the relevant Red Hat RHSA errata listed above. v0.5.1 adds SETTINGS entry-count validation (numSettings <= (length-4)/8), a default max of 1000 headers per frame, a default 1 MiB per-header-field size limit, and closes the underlying net.Conn on InvalidControlFrame errors to stop repeated abuse on one connection; these limits are tunable via NewConnectionWithOptions / spdy.NewFramerWithOptions (WithMaxControlFramePayloadSize, WithMaxHeaderFieldSize, WithMaxHeaderCount). If immediate upgrade is not possible, reduce exposure by restricting network access to the SPDY endpoint to trusted peers only (e.g. firewall/NetworkPolicy limiting who can reach kubelet/CRI streaming or other SPDY listeners) and enforcing per-connection memory/cgroup limits so an OOM kills only the sandboxed process rather than the host - the trade-off is that legitimate high-volume peers may be throttled and these controls do not fix the underlying unbounded allocation. Advisory: https://github.com/moby/spdystream/security/advisories/GHSA-pc3f-x583-g7j2.

Vendor StatusVendor

SUSE

Severity: Medium
Product Status
SLES15-SP5-CHOST-BYOS-SAP-CCloud Fixed
SLES15-SP6-CHOST-BYOS Fixed
SLES15-SP6-CHOST-BYOS-Aliyun Fixed
SLES15-SP6-CHOST-BYOS-Azure Fixed
SLES15-SP6-CHOST-BYOS-EC2 Fixed

Share

EUVD-2026-23298 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy