CVE-2026-115578
go-guerrilla crashes on a bare XCLIENT command (7-byte slice off-by-one panic)
- CVSS
- 7.5
- EPSS
- 0.62% (p51)
- Published
- 2026-11-19
- Age
- 14d old
- Modified
- 2026-11-27
- Product
- phires go-guerrilla
- Aliases
- GHSA-hghq-53p7-c582, GO-2026-7019
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
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.
Fixed in
1.6.7-1
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| Go | github.com/phires/go-guerrilla | < 1.6.7-1 | 1.6.7-1 |
| Go | github.com/phires/go-guerrilla | = 1.6.7 | — |
| Go | github.com/phires/go-guerrilla | >=0, <1.6.7-1 | 1.6.7-1 |
Sources
- NVD · first seen 14d ago · NVD terms of use
- OSV · first seen 14d ago · CC-BY 4.0
- GitHub Advisory Database · first seen 14d ago · CC-BY 4.0
- CVE List · first seen 14d ago · CVE Terms of Use
References
- https://github.com/phires/go-guerrilla/security/advisories/GHSA-hghq-53p7-c582 x_refsource_CONFIRM
- https://github.com/phires/go-guerrilla/commit/b6deed97ff70f52bf34c386d33967694e7330d33 x_refsource_MISC
- https://github.com/phires/go-guerrilla/commit/f0d0f2c40dcacf212e3a6a055ae67f7b412affc4 x_refsource_MISC
- https://github.com/phires/go-guerrilla/releases/tag/v1.6.7-1 x_refsource_MISC
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/115xxx/CVE-2026-115578.json advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-115578 advisory
- https://github.com/advisories/GHSA-hghq-53p7-c582 other
- https://github.com/phires/go-guerrilla package