Skip to content
OpenAdvisories
High · 7.5 CVE-2026-16028 EUVD-2026-72527GHSA-4hff-3256-7fpc

Protocol::HTTP2 versions before 1.14 for Perl allow memory exhaustion via closed streams that stream_state never removes from the connection stream table

Published Sep 7, 2026 · Updated Sep 8, 2026 · Assigned by CPANSec

Description

Protocol::HTTP2 versions before 1.14 for Perl allow memory exhaustion via closed streams that stream_state never removes from the connection stream table.

When a stream reaches the CLOSED state, stream_state returns the concurrency slot and clears most of the stream's keys, but the entry itself stays in the connection stream table and nothing in the distribution removes it. Stream identifiers increase monotonically, so a peer can open and close streams on one connection indefinitely, each close leaving a residual entry that is retained for the life of the connection.

SETTINGS_MAX_CONCURRENT_STREAMS does not bound this. That setting caps how many streams are live at once and is enforced, while the growth is made of streams the cap has already released, so it accumulates with concurrency never exceeding one. The client keeps the same table and grows the same way against a hostile server.

Measured against a server built on this module, roughly 920 bytes are retained per closed stream for about 19 bytes on the wire, so 100,000 sequential streams on one connection grow server resident memory by about 88 MiB. The streams are ordinary requests that the application accepts and completes.

Affected products

VendorProductAffectedFixed
— Protocol-HTTP2 < 1.14 1.14

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libprotocol-http2-perl 1.14-1 —
Debian 13 libprotocol-http2-perl No fix yet —
Debian 12 libprotocol-http2-perl No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 libprotocol-http2-perl No fix yet —
Ubuntu 26.04 LTS libprotocol-http2-perl No fix yet —
Ubuntu 24.04 LTS libprotocol-http2-perl No fix yet —
Ubuntu 22.04 LTS libprotocol-http2-perl No fix yet —
Ubuntu 20.04 LTS libprotocol-http2-perl No fix yet —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS libprotocol-http2-perl No fix yet —
ReleasePackageFixed inAdvisory
SLES 15 SP7 perl-Protocol-HTTP2 1.10-150600.3.6.1 SUSE-SU-2026:4182-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 16.0 perl-Protocol-HTTP2 1.10-160000.4.1 SUSE-SU-2026:23945-1
SLES 16.0 perl-Protocol-HTTP2 1.10-160000.4.1 SUSE-SU-2026:23945-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed perl-Protocol-HTTP2 1.140.0-1.1 openSUSE-SU-2026:11735-1
openSUSE Leap 16.0 perl-Protocol-HTTP2 1.10-160000.4.1 openSUSE-SU-2026:21972-1
ReleasePackageFixed inAdvisory
Alpine v3.24 perl-protocol-http2 1.14-r0 —
Alpine v3.23 perl-protocol-http2 1.14-r0 —

Advisories 4

References