CVE-2026-16028Protocol::HTTP2 versions before 1.14 for Perl allow memory exhaustion via closed streams…
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.
What to do
Fixed builds are available from Alpine, Debian: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | libprotocol-http2-perl | Fix pending | UBUNTU-CVE-2026-16028 | |
| Ubuntu 26.04 | libprotocol-http2-perl | Under investigation | UBUNTU-CVE-2026-16028 | |
| Ubuntu 24.04 | libprotocol-http2-perl | Under investigation | UBUNTU-CVE-2026-16028 | |
| Ubuntu 22.04 | libprotocol-http2-perl | Under investigation | UBUNTU-CVE-2026-16028 | |
| Ubuntu 20.04 | libprotocol-http2-perl | Fix pending | UBUNTU-CVE-2026-16028 | |
| Ubuntu 18.04 | libprotocol-http2-perl | Fix pending | UBUNTU-CVE-2026-16028 | |
| Debian 14 | libprotocol-http2-perl | Fixed | 1.14-1 | DEBIAN-CVE-2026-16028 |
| Debian 13 | libprotocol-http2-perl | Fix pending | DEBIAN-CVE-2026-16028 | |
| Debian 12 | libprotocol-http2-perl | Fix pending | DEBIAN-CVE-2026-16028 | |
| Alpine Linux 3.24 | perl-protocol-http2 | Fixed | 1.14-r0 | ALPINE-CVE-2026-16028 |
| Alpine Linux 3.23 | perl-protocol-http2 | Fixed | 1.14-r0 | ALPINE-CVE-2026-16028 |
What the vendor says
As published in the CVE record by CPANSec, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Protocol-HTTP2: affected: before 1.14; fixed in
1.14
Solution: Upgrade to Protocol-HTTP2 1.14 or later.
Workaround: For deployments that are not able to upgrade to Protocol-HTTP2 1.14, close each connection after a fixed number of requests, which discards its stream table.
Vendor advisories:
- https://github.com/vlet/p5-Protocol-HTTP2/commit/27a488a34d74fd16f123e5e6186d4f677faa246f… (patch)
- https://metacpan.org/release/CRUX/Protocol-HTTP2-1.14/changes (release-notes)
References
- https://metacpan.org/release/CRUX/Protocol-HTTP2-1.13/source/lib/Protocol/HTTP2/Stream.pm#L113-126
- https://github.com/vlet/p5-Protocol-HTTP2/commit/27a488a34d74fd16f123e5e6186d4f677faa246f.patch
- https://metacpan.org/release/CRUX/Protocol-HTTP2-1.14/changes
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.