{"id":"ghsa-ghsa-hghq-53p7-c582","seq":8782331,"kind":"advisory","title":"go-guerrilla crashes on a bare XCLIENT command (7-byte slice off-by-one panic)","url":"https://github.com/advisories/GHSA-hghq-53p7-c582","permalink":"https://vulnpulse.app/items/ghsa-ghsa-hghq-53p7-c582","summary":"影響: go:github.com/phires/go-guerrilla = 1.6.7, go:github.com/phires/go-guerrilla < 1.6.7-1 → 1.6.7-1\nThe defect ---------- Confirmed at HEAD. server.go: cmdXCLIENT = []byte(\"XCLIENT\") is 7 bytes (line 78), so the dispatch match cmdXCLIENT.match(cmd) only guarantees len(input) >= 7. The handler then slices input[8:] (line 586): case sc.XClientOn && cmdXCLIENT.match(cmd): if toks := bytes.Split(input[8:], []byte{' '}); len(toks) > 0 { // line 586 A client sending the bare command XCLIENT (exactly 7 bytes) hits input[8:7] and panics runtime error: slice bounds out of range [8:7]. handleClient run…","severity":"high","cvss":null,"techs":["go","github"],"cves":["CVE-2026-115578"],"tags":["GHSA-hghq-53p7-c582","github.com/phires/go-guerrilla","github.com/phires/go-guerrilla"],"source":{"id":"ghsa","name":"GitHub Advisory Database"},"published_at":"2026-11-20T14:42:18.000Z","fetched_at":"2026-11-20T20:55:51.672Z"}