What’s Vulnerable › Vulnerabilities
CVE-2026-78667: Lack of limit on size of parsed Range headers in net/http
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-10-08 · updated 2026-10-09
- Weakness: CWE-770
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
- Go Stdlib: before 1.26.9; from 1.27.0-0 before 1.27.2 — fixed in 1.26.9, 1.27.2
- Go standard library net/http: before 1.26.9; from 1.27.0-0 before 1.27.2 — fixed in 1.26.9, 1.27.2
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
- https://go.dev/cl/847309
- https://go.dev/issue/81858
- https://groups.google.com/g/golang-announce/c/U2fTuyDJznI
- https://pkg.go.dev/vuln/GO-2026-6609
Get alerted when CVE-2026-78667 or the next vulnerability affects your stack