CVE-2026-115578: go-guerrilla crashes on a bare XCLIENT command (7-byte slice off-by-one panic)
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 xclienton setting is enabled; no HELO command is required. The repository fix is present in version 1.6.7-1.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Go-Guerrilla SMTP Daemonto a version that resolves this vulnerability.Fixed in 1.6.7-1
Event History
Frequently Asked Questions
Which deployments are exposed?
Only Go-Guerrilla SMTP Daemon deployments with the non-default xclient_on setting enabled are described as exposed. Versions 1.6.7 and earlier are affected according to the advisory's structured affected range.
What does an attacker need to trigger the crash?
An unauthenticated network client can trigger it by sending a bare XCLIENT command. No HELO command is required.
What is the impact of successful exploitation?
The malformed command causes an out-of-bounds panic in handleClient. Because the connection goroutine does not recover the panic, the daemon terminates, resulting in denial of service.
What should teams do if they cannot immediately update?
Disable the non-default xclient_on setting to remove the described attack path. The repository fix is present in version 1.6.7-1.