go-guerrilla crashes on a bare XCLIENT command (7-byte slice off-by-one panic)
- State
- Published
- Severity
- 7.5 High
- Published
- Nov 19, 2026
- Updated
- Nov 20, 2026
- Reserved
- Oct 22, 2026
Description
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.
| Product | Versions |
|---|---|
| go-guerrilla phires | < 1.6.7-1 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 3.1 | 7.5 High | GitHub_M |
Weaknesses
References
- 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
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.