All vulnerabilities

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.
From oven-sh/bun's security advisory. Shortened; the full text is there.

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.

Workarounds as given by oven-sh/bun's security advisory.

Affected software

SoftwareAffected versions
BunServers and applications · github:oven-sh/bun
  • From 1.3.14 before 1.4.5

About Bun

JavaScript runtime

From Wikidata, CC0 1.0.
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

Release lines

ReleaseLatestSecurity fixes
11.4.4Yes

From endoflife.date.

References