CVE-2026-115578: go-guerrilla crashes on a bare XCLIENT command (7-byte slice off-by-one panic)
Published 2026-11-20 · Updated 2026-11-23 · Also known as GHSA-hghq-53p7-c582, GO-2026-7019
Summary
An off-by-one slice bounds error in go-guerrilla allows an unauthenticated attacker to crash the SMTP daemon by sending a bare XCLIENT command. Engineering and security teams managing deployments with XClientOn enabled should update their packages.
Who is affected
Deployments of go-guerrilla with xclient_on configured to true are vulnerable to denial of service attacks. An unauthenticated client connecting to the SMTP port can send a bare 7-byte XCLIENT command, triggering an unrecovered panic in the per-connection goroutine and crashing the entire daemon.
Exploitability
The vulnerability has a CVSS base score of 7.5 (High) with a vector of CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, indicating it can be exploited remotely over the network with low attack complexity and no privileges required, resulting in high availability impact. The EPSS score is 0.006 and it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
Remediation
- Upgrade github.com/phires/go-guerrilla to version 1.6.7-1 or later.
- Ensure input bounds are guarded against exact-verb-length cases if maintaining a custom patch.
How to check your project
- Check Go dependency lock files or go.mod for github.com/phires/go-guerrilla versions prior to 1.6.7-1.
- Inspect server configurations to determine if xclient_on is enabled.
Automated analysis of the published advisory data, generated 2026-11-24. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|---|---|---|---|
| Go | github.com/phires/go-guerrilla |
>= 0, < 1.6.7-1 | 1.6.7-1 | go get github.com/phires/[email protected] |
CVSS 3.1 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
| Attack vector | Network |
|---|---|
| Attack complexity | Low |
| Privileges required | None |
| User interaction | None |
| Scope | Unchanged |
| Confidentiality | None |
| Integrity | None |
| Availability | High |
FAQ
What causes the crash?
The command string 'XCLIENT' is 7 bytes long, but the handler attempts to slice input[8:], causing a runtime slice bounds out of range panic when a bare 7-byte command is sent.
Are authenticated users required to trigger this vulnerability?
No, any unauthenticated client on the SMTP port can trigger the panic.
Is this vulnerability actively exploited in the wild?
There is no indication of active exploitation as it is not listed in the CISA Known Exploited Vulnerabilities catalog.
Original advisory description
References
- WEB https://github.com/phires/go-guerrilla/security/advisories/GHSA-hghq-53p7-c582
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2026-115578
- WEB https://github.com/phires/go-guerrilla/commit/b6deed97ff70f52bf34c386d33967694e7330d33
- WEB https://github.com/phires/go-guerrilla/commit/f0d0f2c40dcacf212e3a6a055ae67f7b412affc4
- PACKAGE https://github.com/phires/go-guerrilla
- WEB https://github.com/phires/go-guerrilla/releases/tag/v1.6.7-1
Source records: GHSA-hghq-53p7-c582, GO-2026-7019 (OSV.dev) · EPSS by FIRST, 2026-11-24.