llamaCVEVulnerability Intelligence
/
Advisory · GitHub · npm · bun

GHSA-CF8X-9M69-3GG3

HTTP/3 QPACK amplification allows remote memory exhaustion and CPU stall

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

Parche disponible
Descargar PNG JSON
CVSS
—
high
Fuente: —
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versiónPrimer parche a -2 d de la divulgación
Exposición28 dDesde la divulgación, 23 oct 2026, 7:13 p. m.
Detección26 dDesde la divulgación hasta su ingreso al índice
Decisión estimadaSeguir
Remediar en la ventana regular de mantenimiento
Estimación de Llama con el árbol SSVC de CISA a partir de la severidad declarada por GHSA (alta) y la evidencia de explotación (sin evaluación oficial): sin explotación conocida, no automatizable e impacto técnico parcial. Hay versiones corregidas disponibles.
Que no se te pase entre tantos tickets.Tu yo del futuro te agradecerá revisarla hoy.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Explotación
Remediación
Parche 1.4.4
Monitoreo
Detectada +1
22 oct 26
24 oct 26
19 nov 26
21 nov 26
22 oct 26
29 oct 26
6 nov 26
14 nov 26
21 nov 26
FechaFaseEventoDetalle
Remediación Parche 1.4.4 bun · -2 d desde divulgación
Divulgación Publicada GHSA-CF8X-9M69-3GG3 divulgada
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, 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.

Details

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.
  • The HTTP/3 client of `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.

Impact

Denial of service. No credentials are necessary. In our tests on Bun 1.4.3:

  • About 6 MB of traffic made a server with a 2 GB memory limit run out of memory and get killed.
  • One request of about 20 KB stalled the server for more than a minute, and other requests were not answered during that time.
  • A request of about 530 KB kept the server at 100% CPU, and it answered no other requests.

A handler does not need to read the headers. The work happens before Bun calls the handler.

Patches

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:

  • A `Bun.serve` request over the limit (16 KB by default, set with `--max-http-header-size`) gets a `431` response.
  • A much larger request closes the connection.
  • `fetch` over HTTP/3 rejects a response with more than 256 KB of headers.
Workarounds

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.

References
  • https://foxio.io/blog/header-accordions-qpack-amplification-attacks-against-http-3-servers
  • https://github.com/oven-sh/bun/issues/46475
  • https://github.com/oven-sh/bun/pull/46392
Versiones

Rangos afectados

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

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
npmbun
Corregida 1.4.4 -2 d 1.4.4 no afectada
Versiones corregidas1.4.4
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-cf8x-9m69-3gg3

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