What’s Vulnerable › Vulnerabilities

CVE-2026-78667: Lack of limit on size of parsed Range headers in net/http

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 products

How to fix

Upgrade to a fixed version: Go Stdlib 1.26.9, 1.27.2; Go standard library net/http 1.26.9, 1.27.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-78667 or the next vulnerability affects your stack