Skip to content
CVE PROGRAM SOURCE RECORD8.7 High

CVE-2026-79658

Ech0 before 5.0.1 Denial of Service via Accept-Language

Description

Ech0 before 5.0.1 does not impose any size or shape limit on the Accept-Language header processed by its i18n middleware, which runs on every HTTP request. The header is passed unfiltered to go-i18n's NewLocalizer, which internally calls golang.org/x/text/language.ParseAcceptLanguage. The CVE-2022-32149 mitigation in x/text caps '-' characters but not '_' characters, which the parser aliases to '-', allowing quadratic-time parsing to be triggered with a large header (up to Go's default 1 MiB) built from underscore separators. An unauthenticated attacker can send such requests to consume roughly 1.5 seconds of CPU each, and concurrent requests can saturate a multi-core server (denial of service).

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

lin-snow Ech0

Default version status: unaffected

  • 0 to < 5.0.1affected
  • 5.0.1unaffected
pkg:golang/github.com/lin-snow/ech0

References