Skip to main content
Menu
Advisories

Lack of limit on size of parsed Range headers in net/http

GO-2026-6609BIT-GOLANG-2026-78667Published Updated Go

Description

When parsing a Range header containing a large number of small ranges, FileServer(FS), ServeContent, and ServeFile(FS) can consume an excessive amount of CPU.

Affected versions

References