CVE-2026-40898: Unbounded Http Header Decode Loop

A loop continuously decodes protocol items (e.g., HTTP QPACK/HPACK headers) and adds them to a collection without updating or checking a size threshold limit. A malicious endpoint can send an excessively large sequence of headers, leading to unbounded memory allocation and a Denial of Service (OOM) attack. Enforce memory limits by tracking the byte size or c

Provally CuratedPublic repositoryMediumMedium confidenceVerifiedApache-2.0Goβ
greprules fetch cve-2026-40898-unbounded-http-header-decode-loop --engine opengrep

Description

A loop continuously decodes protocol items (e.g., HTTP QPACK/HPACK headers) and adds them to a collection without updating or checking a size threshold limit. A malicious endpoint can send an excessively large sequence of headers, leading to unbounded memory allocation and a Denial of Service (OOM) attack. Enforce memory limits by tracking the byte size or c