CVE-2026-35469
JSON

8.7high

SpdyStream: DOS on CRI

Severity
8.7high CVSS:4.0 by GitHub_M
Exploit likelihood
0.67% (higher than 53% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-pc3f-x583-g7j2GO-2026-4958

Description

spdystream is a Go library for multiplexing streams over SPDY connections. In versions 0.5.0 and below, the SPDY/3 frame parser does not validate attacker-controlled counts and lengths before allocating memory. Three allocation paths are affected: the SETTINGS frame entry count, the header count in parseHeaderValueBlock, and individual header field sizes — all read as 32-bit integers and used directly as allocation sizes with no bounds checking. Because SPDY header blocks are zlib-compressed, a small on-the-wire payload can decompress into large attacker-controlled values. A remote peer that can send SPDY frames to a service using spdystream can exhaust process memory and cause an out-of-memory crash with a single crafted control frame. This issue has been fixed in version 0.5.1.

Affected

Product or packageVersionsReported by
moby spdystream< 0.5.1CVE List
openshiftNot specified
Not affected: from 0:4.19.0-202606301915.p2.g63adf01.assembly.stream.el9 before *
CVE List
microshiftNot specified
Not affected: from 0:4.19.42-202608062155.p0.g46c9d67.assembly.4.19.42.el9 before *
CVE List
flightctlNot specified
Not affected: from 0:1.0.3-1.el9em before *, from 0:1.1.3-1.el10em before *, from 0:1.1.3-1.el9em before *
CVE List
cluster-observability-operator/cluster-observability-rhel9-operatorNot specified
Not affected: from 1787593637 before *
CVE List
openshift-logging/cluster-logging-rhel9-operatorNot specified
Not affected: from 1788439505 before *
CVE List
multicluster-engine/assisted-service-9-rhel9Not specified
Not affected: from 1779135478 before *, from 1778892370 before *, from 1778288646 before *
CVE List
multicluster-engine/image-based-install-rhel9Not specified
Not affected: from 1786548918 before *
CVE List
multicluster-engine/assisted-service-8-rhel8Not specified
Not affected: from 1778288655 before *
CVE List
rhacm2/multicloud-integrations-rhel9Not specified
Not affected: from 1778264389 before *
CVE List
rhacm2/multicluster-operators-channel-rhel9Not specified
Not affected: from 1778302921 before *
CVE List
advanced-cluster-security/rhacs-roxctl-rhel8Not specified
Not affected: from 1777307791 before *, from 1777986630 before *, from 1777976489 before *
CVE List

All scores

GitHub_M8.7high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
redhat-SADP6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
GitHubhigh CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Classification

CWE-770

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

spdystream is a Go library for multiplexing streams over SPDY connections. In versions 0.5.0 and below, the SPDY/3 frame parser does not validate attacker-controlled counts and lengths before allocating memory. Three allocation paths are affected: the SETTINGS frame entry count, the header count in parseHeaderValueBlock, and individual header field sizes — all read as 32-bit integers and used directly as allocation sizes with no bounds checking. Because SPDY header blocks are zlib-compressed, a small on-the-wire payload can decompress into large attacker-controlled values. A remote peer that can send SPDY frames to a service using spdystream can exhaust process memory and cause an out-of-memory crash with a single crafted control frame. This issue has been fixed in version 0.5.1.

GitHub Advisory Database

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.  
  2. 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.  
  3. 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.
Go Vulnerability Database

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.
  2. 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.
  3. 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.

NVD (es)

spdystream es una biblioteca Go para multiplexar flujos sobre conexiones SPDY. En las versiones 0.5.0 e inferiores, el analizador de tramas SPDY/3 no valida los recuentos y longitudes controlados por el atacante antes de asignar memoria. Tres rutas de asignación se ven afectadas: el recuento de entradas de la trama SETTINGS, el recuento de encabezados en parseHeaderValueBlock, y los tamaños de campos de encabezado individuales - todos leídos como enteros de 32 bits y utilizados directamente como tamaños de asignación sin comprobación de límites. Debido a que los bloques de encabezado SPDY están comprimidos con zlib, una pequeña carga útil en tránsito puede descomprimirse en grandes valores controlados por el atacante. Un par remoto que puede enviar tramas SPDY a un servicio que utiliza spdystream puede agotar la memoria del proceso y causar un fallo por falta de memoria con una única trama de control manipulada. Este problema ha sido solucionado en la versión 0.5.1.

References

https://github.com/moby/spdystream/security/advisories/GHSA-pc3f-x583-g7j2advisory, web
https://github.com/moby/spdystream/releases/tag/v0.5.1web
https://access.redhat.com/security/cve/CVE-2026-35469vdb-entry
https://bugzilla.redhat.com/show_bug.cgi?id=2457729issue-tracking
https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-35469.json
https://access.redhat.com/errata/RHSA-2026:41019vendor-advisory
https://access.redhat.com/errata/RHSA-2026:36796vendor-advisory
https://access.redhat.com/errata/RHSA-2026:51422vendor-advisory
https://access.redhat.com/errata/RHSA-2026:34755vendor-advisory
https://access.redhat.com/errata/RHSA-2026:61314vendor-advisory
https://access.redhat.com/errata/RHSA-2026:66521vendor-advisory
https://access.redhat.com/errata/RHSA-2026:17704vendor-advisory

Related

Sources

SourceRecordLicence
CVE ListCVE-2026-35469 changed 2026-09-11CVE Terms of Use
GitHub Advisory DatabaseGHSA-pc3f-x583-g7j2 changed 2026-09-10CC-BY-4.0
Go Vulnerability DatabaseGO-2026-4958 changed 2026-05-27CC-BY-4.0
NVDCVE-2026-35469 changed 2026-10-26Public domain