Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach SMTP port of xclient_on-enabled daemon
-
ExploitSend bare 7-byte XCLIENT command
-
Executioninput[8:] slice panics in handleClient
-
ImpactUnrecovered goroutine panic terminates daemon
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Array index validation
|
| Exploitation Conditions | Requires the non-default configuration setting xclient_on: true (documented for nginx-fronted deployments); it is disabled by default, so default installations are not exploitable. When enabled, go-guerrilla does not restrict who may send XCLIENT, so any unauthenticated client able to reach the SMTP port can trigger it by sending the bare 7-byte verb 'XCLIENT' terminated by CRLF or a bare LF - no HELO/EHLO handshake and no credentials are needed. The limiting factors are therefore: the non-default xclient_on setting must be on, and network reachability to the SMTP listener; there is no confidentiality or integrity impact, only daemon termination (availability). |
| Impact | This is a genuine but conditional denial-of-service issue, not a code-execution threat: the CVSS vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H scores 7.5 purely on availability (C:N/I:N/A:H), consistent with the described uncaught panic (CWE-129/193/248) that terminates the daemon. The network vector, low complexity, and no-privileges/no-interaction metrics are credible - the GHSA advisory confirms a single unauthenticated packet (bare XCLIENT) crashes the whole process - but one critical limiter is NOT reflected in the base score: exploitation is gated behind the non-default xclient_on configuration, so default deployments are not affected. No EPSS score and no KEV listing were provided; absence of these is not evidence either way, but there is no signal of active or widespread exploitation. The vuln.today decision label is this_week (not act_now/emergency), which matches a high-availability-impact bug with a narrow precondition and an available fix. A detailed public PoC reference (the GHSA advisory with reproduction and source-level analysis) exists; it is not verified as packaged working exploit code. Net: real priority only for operators actually running xclient_on (e.g. nginx-fronted deployments) - for everyone else this is a high-CVSS number whose real-world exposure is sharply reduced by the non-default gating. |
| Exploit ScenarioDerived | An unauthenticated attacker who can reach the SMTP port of a go-guerrilla 1.6.7-or-earlier instance that has xclient_on enabled sends a single bare 'XCLIENT\r\n' command (no HELO required). The handler slices input[8:] after matching only the 7-byte verb, producing a slice-bounds-out-of-range panic in handleClient that the per-connection goroutine never recovers, crashing the entire daemon. A detailed public PoC/reproduction exists in the GHSA advisory (driving the real handleClient over a mock net.Conn); it is not verified as standalone weaponized exploit code. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 19, 2026
A bare, seven-byte XCLIENT command sent to go-guerrilla SMTP daemon 1.6.7 and earlier causes an out-of-bounds slice panic that is never recovered, killing the entire daemon process. Any client that can reach the SMTP listener can trigger it without credentials or a HELO/EHLO handshake, but only when the non-default xclient_on setting is enabled (the documented setup for nginx-fronted deployments); default installations are not affected. Impact is availability only (C:N/I:N/A:H, CVSS 7.5), and the repository ships a fix in version 1.6.7-1; the advisory publishes a verified reproduction recipe, though no KEV listing or confirmed working exploit tooling is referenced.
RemediationAI
Upgrade to go-guerrilla 1.6.7-1 or later (https://github.com/phires/go-guerrilla/releases/tag/v1.6.7-1), which contains the upstream fix - commits b6deed97ff70f52bf34c386d33967694e7330d33 and f0d0f2c40dcacf212e3a6a055ae67f7b412affc4 - that gates the parse on len(input) > len(cmdXCLIENT) before slicing at the verb length and adds a regression test for the bare verb. If upgrading immediately is not possible, set xclient_on to false (its default) wherever XCLIENT support is not strictly required; this eliminates the vulnerable code path entirely, with the caveat that nginx-fronted deployments relying on XCLIENT to convey the real client IP will lose that address propagation and must fall back to another mechanism. As a second compensating control for deployments that must keep XCLIENT enabled, restrict reachability of the SMTP listener to the trusted front-end proxy (bind to loopback or a private interface, or firewall the SMTP port to the nginx host) so arbitrary Internet clients cannot reach the command path; the trade-off is that this changes the exposed attack surface and must be validated against each mail flow. Note the vendor's per-connection handler has no recover(), so until the patch is applied a single malformed XCLIENT line from any reachable client still takes the whole daemon down.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in go, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
go-guerrilla is a lightweight SMTP server written in Go, and its command dispatcher compares incoming verbs against byte tokens such as cmdXCLIENT = []byte("XCLIENT"), which is exactly seven bytes. The dispatch condition cmdXCLIENT.match(cmd) therefore only guarantees that the input is at least seven bytes long, yet the XCLIENT handler in server.go unconditionally sliced input[8:] - one byte beyond the verb and its separator - so a client sending the bare verb produces input[8:7] and a runtime 'slice bounds out of range' panic. The handler runs inside the per-connection goroutine spawned by handleClient (server.go:391), which has no recover(); the only recover() calls in the codebase live in the backend mail-processing workers on a different goroutine that command parsing never reaches, so the panic propagates and terminates the daemon. The weakness maps to CWE-129 (improper validation of array index) with CWE-193 (off-by-one) as the proximate cause, CWE-248 (uncaught exception) explaining the process death, and CWE-400 for the resulting uncontrolled loss of the service. Notably, every other command arm slices at its exact verb length, making XCLIENT the only off-by-one in the parser; the surrounding rfc5321 recursive-descent parsing for MAIL, RCPT, HELO, EHLO and addresses is bounds-safe. The trigger is explicitly documented in the advisory and confirmed against the real handleClient path using a mock net.Conn: a bare XCLIENT line panics, while XCLIENT followed by a trailing space (eight bytes) returns 250 normally - the exact case the upstream TestXClient suite never covered.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Unauthenticated single-packet trigger over the network gives AV:N/AC:L/PR:N/UI:N; impact is daemon crash only, so C:N/I:N/A:H with no scope change.
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
2DescriptionCVE.org
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.
Technical POC Analysis
The flaw is an out-of-bounds slice caused by an off-by-one in command parsing, primarily CWE-129 (Improper Validation of Array Index); the advisory also tags CWE-193 (Off-by-one Error) and CWE-248 (U…
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
CVE-2026-115578 is a high-severity denial-of-service vulnerability in the go-guerrilla SMTP server versions 1.6.7 and earlier. When the optional XCLIENT feature is enabled (common in nginx-fronted deployments), a single unauthenticated seven-byte command can crash the entire mail daemon, disrupting email services. Organizations relying on this configuration for mail relay or processing should treat this as a significant availability risk.
Vendor-released patch: 1.6.7-1
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
EUVD-2026-130714
GHSA-hghq-53p7-c582
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB