
Cloud Vulnerability DB
A community-led vulnerabilities database
A remote, unauthenticated peer can exhaust memory or stall a Bun process that uses HTTP/3. A small request can decode to a very large set of headers, and Bun 1.4.3 and earlier do not limit the decoded size. This is the "Header Accordions" QPACK amplification attack that FoxIO published on October 20, 2026. The write-up lists Bun as affected. Bun 1.4.4 fixes the bug.
QPACK is the header compression of HTTP/3. A peer can add one large entry to the dynamic table and then refer to that entry many times, with one byte for each reference. Each reference decodes to a full copy of the entry.
Bun.serve advertised a limit of 16 KB for a set of request headers, but it did not enforce the limit. It checked only the size of each single header. It also did not limit the number of fields.
Affected:
Bun.serve with http3: true. HTTP/3 is off by default.fetch. fetch uses HTTP/3 only when you ask for it, with fetch(url, { protocol: "http3" }) or the --experimental-http3-fetch flag. A malicious server can attack the client in the same way.
HTTP/1.1 and HTTP/2 are not affected by this bug.
Executables built with bun build --compile embed the Bun runtime. An executable built with an affected version stays affected until it is rebuilt.Denial of service. No credentials are necessary. In our tests on Bun 1.4.3:
Upgrade to Bun 1.4.4, and rebuild any bun build --compile executables with it.
Bun 1.4.4 enforces a limit on the decoded size of a set of headers, counted as in RFC 9114 section 4.2.2, and limits the number of fields (#46392).
This changes behavior for large headers over HTTP/3:
Bun.serve request over the limit (16 KB by default, set with --max-http-header-size) gets a 431 response.fetch over HTTP/3 rejects a response with more than 256 KB of headers.Do not enable http3 on a server that untrusted clients can reach, and do not use the HTTP/3 client of fetch with untrusted servers. HTTP/1.1 and HTTP/2 are not affected.
Source: NVD
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."