cvelo
P4 · InfoEPSS 0.7%

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

  • CVE-2026-78667
  • BIT-golang-2026-78667
  • GO-2026-6609

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.

Text from the OSV record.

Recommendation

  • stdlib

    • If you run 1.27.xupdate to 1.27.2 or laterPatch update: breaking changes are unlikely
    • If you run a version before 1.26.9update to 1.26.9 or later

Taken from the version ranges the sources state. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.

Affected

  • stdlibGo

    Affected versionsFixed in
    from 1.27.0-0 to before 1.27.21.27.2
    before 1.26.91.26.9

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.