Sin puntuación

CVE-2026-97054HTTP/1 server crash due to MaxBytesReader header race in net/http

Go standard library net/http Publicada: (hace 12 horas)

Descripción

For HTTP/1 servers, when MaxBytesReader's limit is exceeded, "Connection: close" header is automatically set without synchronization, which might race with another header being set explicitly in the server handler. As a result, an HTTP/1 server that utilizes MaxBytesReader or MaxBytesHandler can crash due to runtime panic if its handler reads the request body concurrently with writing the response header.

Debilidad (CWE): CWE-820

Datos: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Se publican tal como los indican las fuentes, en inglés.

Productos y versiones afectados

FabricanteProductoVersiones
Go standard library net/http < 1.26.11, 1.27.0-0 – < 1.27.4

Referencias y parches