llamaCVEVulnerability Intelligence
/
Advisory · GitHub · npm · bun

GHSA-P268-P2W7-QR8X

Bundled LSQUIC has a use-after-free in HTTP/3 header decoding

Texto original en inglés · Ver en español

Sin parche publicado
Descargar PNG JSON
CVSS 3.1
8.1
Alta
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H Fuente: GitHub
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
ParcheSin parcheEl fabricante no ha publicado corrección
Exposición2 dDesde la divulgación, 19 nov 2026, 1:15 p. m.
Detección30 minDesde la divulgación hasta su ingreso al índice
Decisión estimadaSeguir de cerca
Monitorear y programar la remediación
Estimación de Llama con el árbol SSVC de CISA a partir de vector CVSS 3.1 y la evidencia de explotación (sin evaluación oficial): sin explotación conocida, no automatizable e impacto técnico total. No hay versión corregida: aplique mitigaciones.
Saqué la lupa: aquí hay algo que investigar.Medio riesgo, cero excusas.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Explotación
Remediación
Monitoreo
Detectada +1
01:15 p. m.
05:02 p. m.
01:15 p. m.
02:12 a. m.
03:08 p. m.
04:05 a. m.
05:02 p. m.
FechaFaseEventoDetalle
Divulgación Publicada GHSA-P268-P2W7-QR8X divulgada · CVSS 8.1 (GitHub)
Monitoreo Detectada Ingresó al índice
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Descripción del advisory
Texto original · GitHub · en inglés
Summary

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.

Details

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.

The HTTP/3 client of `fetch` uses the same library. It is only used when you ask for it, with `fetch(url, { protocol: "http3" })` or the `--experimental-http3-fetch` flag. We have not confirmed whether a malicious server can trigger this bug in the client, so treat it as affected.

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.

Patches

Upgrade to Bun 1.4.5, and rebuild any `bun build --compile` executables with it.

Bun 1.4.5 updates LSQUIC from 4.9.4 to 4.11.2 (#49288). LSQUIC now stops reading a stream while its headers are waiting on QPACK.

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.

References
  • https://github.com/oven-sh/bun/pull/49288
  • https://github.com/litespeedtech/lsquic/blob/v4.11.2/CHANGELOG
  • https://bun.com/blog/bun-v1.4.5
Proof of concept

We are not publishing reproduction steps at this time. Details describes the bug at a high level.

To check whether you are affected, run `bun --version`. Versions before 1.4.5 that have HTTP/3 or `node:quic` enabled are affected.

Impact

Memory corruption that a remote client can trigger without credentials. It affects servers that have HTTP/3 turned on or accept `node:quic` connections from untrusted clients.

Incluye detalles técnicos publicados por el investigador. Úselos solo para validar y corregir sus propios sistemas.

Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · GitHub
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:H
BajaAlta
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:N
NingunaRequerida
AlcanceS:U
CambiadoSin cambio
ConfidencialidadC:H
AltoBajoNinguno
IntegridadI:H
AltoBajoNinguno
DisponibilidadA:H
AltoBajoNinguno
Score de explotaciónQué tan fácil y probable es que la exploten
7.1/ 10Alto
Vector 7.1 (fácil) · sin evidencia de explotación.
Versiones

Rangos afectados

Afectada Corregida Última
bun≥ 1.3.14 < 1.4.5
1.3.14
1.4.4
1.4.5
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
npmbun
Sin parche — — 1.4.4 afectada
Versiones corregidas1.4.5
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Advisoryhttps://github.com/oven-sh/bun/security/advisories/GHSA-p268-p2w7-qr8x

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.