NIXPKGS-2026-1880
GitHub issue
published 5 hours ago
Protocol::HTTP2 versions through 1.12 for Perl is vulnerable to a HTTP/2 Bomb
by @LeSuisse Activity log
- Created suggestion
- @LeSuisse accepted
- @LeSuisse published on GitHub
Protocol::HTTP2 versions through 1.12 for Perl is vulnerable to a HTTP/2 Bomb
Protocol::HTTP2 versions through 1.12 for Perl is vulnerable to a HTTP/2 Bomb. Protocol::HTTP2's inbound HPACK path has no header-list size limit, so a small HTTP/2 request can expand into large server memory (the "HTTP/2 bomb"). The headers_decode method materialises a full key+value copy per indexed reference with no running size check, and the stream_header_block_add method appends (since version 1.12) every CONTINUATION frame to the per-stream buffer unbounded. MAX_HEADER_LIST_SIZE (default 65536) is advertised in SETTINGS but never consulted on decode. It is absent from the decoder and from the :limits export tag.
References
Affected products
Protocol-HTTP2
- =<1.12
Matching in nixpkgs
pkgs.perlPackages.ProtocolHTTP2
HTTP/2 protocol implementation (RFC 7540)
-
nixos-unstable HTTP2-1.11
- nixpkgs-unstable HTTP2-1.11
- nixos-unstable-small HTTP2-1.11
-
nixos-26.05 HTTP2-1.11
- nixos-26.05-small HTTP2-1.11
- nixpkgs-26.05-darwin HTTP2-1.11
pkgs.perl5Packages.ProtocolHTTP2
HTTP/2 protocol implementation (RFC 7540)
-
nixos-unstable HTTP2-1.11
- nixpkgs-unstable HTTP2-1.11
- nixos-unstable-small HTTP2-1.11
-
nixos-26.05 HTTP2-1.11
- nixos-26.05-small HTTP2-1.11
- nixpkgs-26.05-darwin HTTP2-1.11