Header Accordions: QPACK amplification attacks against HTTP/3 servers
Web page · https://foxio.io/blog/header-accordions-qpack-amplification-attacks-against-http-3-servers
First seen by Oriel on .
AI summary
FoxIO reports that QPACK decoding can amplify small HTTP/3 requests into large memory allocations or crashes, with seven of ten tested implementations vulnerable because decoded-header limits are missing or enforced incorrectly.
- Attacks use many unique headers or repeated references to a large dynamic-table entry; one 1,000,000-byte HEADERS frame can contain about 160,000 headers.
- lsquic reached a 5 GiB memory cap using less than 10 MiB of traffic and 50 connections; Bun could also enter an unrecoverable CPU loop.
- Fixes include incremental decoded-size accounting with the RFC-required 32-byte per-field overhead and limits that cover headers retained by applications.
- quic-go 0.57.0, Cloudflare quiche 0.29.3, lsquic 4.9.0, and Wireshark 4.6.2 / 4.4.12 are listed as fixed; Bun, h3, aioquic, and mitmproxy are listed as unpatched.
- The post recommends disabling HTTP/3 for Bun and mitmproxy, and setting a reasonable max_field_section_size for h3.
#http/3 #qpack #denial of service #memory safety
Generated by gpt-5.6-sol. Check the original for details.
Metric trends
Last 30 days · Up to 120 recorded samples per source and metric, with reposts kept separate · First and latest retained
Points
Score reported by the source.
- Hacker News: 28, latest observation ; +16 over observed period since
- Lobsters: 9, latest observation ; +8 over observed period since
Comments
Comment count reported by the source.
- Hacker News: 3, latest observation ; +2 over observed period since
- Lobsters: 0, latest observation ; 0 over observed period since
Aliases
| Source | External ID | URL |
|---|---|---|
| Hacker News | 50188612 | https://foxio.io/blog/header-accordions-qpack-amplification-attacks-against-http-3-servers Read discussion |
| Lobsters | l2l50n | https://foxio.io/blog/header-accordions-qpack-amplification-attacks-against-http-3-servers Read discussion |