1. Archivio CVE
  2. 2026
  3. CVE-2026-78659

CVE-2026-78659

7.5 Gravità alta CVSS v3.1 · fonte NVD CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H 7.5 – Alta

Descrizione

When "Trailer" headers are sent by a client, the HTTP server internally uses the header values to populate the Request.Trailer map passed to the server handler. Because Request.Trailer is a map, each entry incurs memory overhead. For HTTP/2 servers, a malicious client can exploit this by sending a "Trailer" header that declares a large number of fields, causing the server to allocate a disproportionate amount of memory while bypassing Server.MaxHeaderValueCount and Server.MaxHeaderBytes limits. This exploit is not applicable for HTTP/1 servers, which do not support multiplexing a large number of requests over one TCP connection, and whose Server.MaxHeaderBytes are calculated differently.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
go standard library net/http < 1.26.9 –
go standard library net/http/internal/http2 >= 1.27.0-0 < 1.27.2 –
golang.org/x/net golang.org/x/net/http2 < 0.60.0 –

Tipo di vulnerabilità

CWE-405 Asymmetric Resource Consumption (Amplification)

The product does not properly control situations in which an adversary can cause the product to consume or produce excessive resources without requiring the adversary to invest equivalent work or otherwise prove authorization, i.e., the adversary's influence is asymmetric.

Impatto sui sistemi

AmbitoImpatto
Disponibilità Interruzione del servizio: amplificazione, Interruzione del servizio: esaurimento della CPU, Interruzione del servizio: esaurimento della memoria, Interruzione del servizio: esaurimento di risorse

Come si previene

Architettura e progettazione An application must make resources available to a client commensurate with the client's access level.
Architettura e progettazione An application must, at all times, keep track of allocated resources and meter their usage appropriately.
Configurazione del sistema Consider disabling resource-intensive algorithms on the server side, such as Diffie-Hellman key exchange.

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 74 CVE di tipo CWE-405, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org