CVE-2026-115578
go-guerrilla crashes on a bare XCLIENT command (7-byte slice off-by-one panic)
Impact
Go-Guerrilla SMTP Daemon is a lightweight SMTP server written in Go. In 1.6.7 and earlier, according to the repository advisory's structured affected range, server.go defines the seven-byte cmdXCLIENT token, but the XCLIENT handler slices input[8:] after matching only that seven-byte verb, so a bare command causes an out-of-bounds panic in handleClient and terminates the daemon because that connection goroutine does not recover the panic. The issue is reachable by an unauthenticated client when the non-default xclient_on setting is enabled; no HELO command is required. The repository fix is present in version 1.6.7-1.
An attacker can exploit this over the network, without logging in, without any action by a user. If it succeeds: high risk of outages.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| go | github.com/phires/go-guerrilla | = 1.6.7 | none recorded |
Affected products · Phires
| Product | Affected versions |
|---|---|
| Go-guerrilla | before 1.6.7-1 Version < 1.6.7-1 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/phires/go-guerrilla/security/advisories/GHSA-hghq-53p7-c582
- https://github.com/phires/go-guerrilla/commit/b6deed97ff70f52bf34c386d33967694e7330d33
- https://github.com/phires/go-guerrilla/commit/f0d0f2c40dcacf212e3a6a055ae67f7b412affc4
- https://github.com/phires/go-guerrilla/releases/tag/v1.6.7-1
- https://github.com/advisories/GHSA-hghq-53p7-c582
- https://nvd.nist.gov/vuln/detail/CVE-2026-115578