GO-2026-6609

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

At a glance

Published
Updated
CVE
CVE-2026-78667
Aliases
BIT-golang-2026-78667

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 packages

PackageVersions
Go · stdlibintroduced 0, fixed 1.26.9, introduced 1.27.0-0, fixed 1.27.2

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — Go Vulnerability Database