Servers and applications
GHSA-p268-p2w7-qr8x
Bundled LSQUIC has a use-after-free in HTTP/3 header decoding
- Severity
- High 8.1
- Published
- 19 Nov 2026
- Last changed
- 19 Nov 2026
- Added to UpHeron
- 19 Nov 2026
- Fixed in
- 1.4.5
- Weakness
- Use after free (CWE-416)
- Attack
- Over the network · Only under certain conditions · No login needed · No user action needed
- Attacker can
- Read data · Change data · Take it down
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H- Sources
- Project advisories (GitHub)
Description
A remote client with no credentials can trigger a use-after-free in a Bun server that has HTTP/3 turned on. The bug is in LSQUIC, the HTTP/3 library that Bun bundles. An LSQUIC maintainer showed that it can lead to remote code execution in another server that uses LSQUIC.
HTTP/3 is experimental and off by default. A server is only exposed if it sets http3: true or uses node:quic.
Bun 1.4.5 updates LSQUIC to 4.11.2, which fixes the bug.
HTTP/3 compresses headers with QPACK. A set of headers can refer to data that has not arrived yet, so the stream has to wait for it.
While one stream was waiting, LSQUIC kept reading and could start on a second set of headers from the same stream. If the client then reset the stream, LSQUIC freed it but kept one reference to it. Later QPACK data from the client made LSQUIC use that freed memory.
Affected:
- Bun.serve with http3: true.
- node:quic, which uses the same library with the same QPACK decoder settings.
Workarounds
Turn off http3 on any server that untrusted clients can reach, and do not accept node:quic connections from untrusted clients. HTTP/1.1 and HTTP/2 keep working.
Affected software
| Software | Affected versions |
|---|---|
BunServers and applications · github:oven-sh/bun |
|
About Bun
JavaScript runtime
- Developers who used it in the past year
- 5.5%Stack Overflow Developer Survey 2025, 2025
- Weekly downloads (npm)
- 5,945,183npm, 15 Nov 2026
- Docker Hub pulls
- 76,111,099Docker Hub, 15 Nov 2026
- GitHub stars
- 96,695GitHub, 15 Nov 2026
- Forks
- 5,281GitHub, 15 Nov 2026
- Latest release
- bun-v1.4.4GitHub, 15 Nov 2026
- Released
- 22 Oct 2026GitHub
- License
- MIT LicenseWikidata
- Written in
- RustWikidata
- First published on GitHub
- 14 Apr 2021GitHub
Website Source code Docker image Package
Vulnerabilities in Bun
- In our list
- 15
- Published in the last 12 months
- 15
- Critical, last 12 months
- 1
- High, last 12 months
- 4
- Known exploited
- 1
- GHSA-cf8x-9m69-3gg3HTTP/3 QPACK amplification allows remote memory exhaustion and CPU stallHigh 24 Oct 2026
- GHSA-26q8-h657-pf84Bundled root certificates trust compromised eMudhra (emSign) intermediate CAsHigh 23 Oct 2026
- CVE-2026-111497Bundled brotli decoder has an out-of-bounds write (CVE-2026-111497)Critical 9.2 21 Oct 2026 · Exploited
- GHSA-wrgc-prmw-27xhc-ares query cache can return an answer that was obtained using different EDNS optionsLow 3.7 20 Oct 2026
- GHSA-cfcv-8v2j-qj6rc-ares can return an address containing uninitialized memory for a numeric IPv6 name with a prefix lengthMedium 4.8 20 Oct 2026
- GHSA-ph6c-3cvx-mq6vc-ares can write past a buffer when ares_dup() or ares_save_options() runs while another thread changes the serversMedium 5.3 20 Oct 2026
References
- GitHub Advisory Database https://github.com/advisories/GHSA-p268-p2w7-qr8x
- github.com https://github.com/oven-sh/bun/security/advisories/GHSA-p268-p2w7-qr8x