Skip to main content

go-guerrilla SMTP EUVDEUVD-2026-130714

| CVE-2026-115578 HIGH
Improper Validation of Array Index (CWE-129)
2026-11-19 security-advisories@github.com GHSA-hghq-53p7-c582
7.5
CVSS 3.1 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach SMTP port of xclient_on-enabled daemon
  2. Exploit
    Send bare 7-byte XCLIENT command
  3. Execution
    input[8:] slice panics in handleClient
  4. Impact
    Unrecovered 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

go-guerrilla < 1.6.7-1

Affected Packages

go github.com/phires/go-guerrilla fix: 1.6.7-1
euvd go_guerrilla fix: 1.6.7-1

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

Vendor (github) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 7.5 HIGH

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.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

2
Patch available
Nov 19, 2026 - 22:19 EUVD
CVE Published
Nov 19, 2026 - 20:17 cve.org
HIGH 7.5

DescriptionCVE.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

Why It Matters

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.

Business Impact: High
Compensating Controls

Vendor-released patch: 1.6.7-1

Threat Intelligence Overview

EPSS Score
0.4%
Top 60% exploitable
Prevalence
Low
niche open-source Go SMTP library/daemon, limited production footprint
Threat Intel
1
1 source
Data Quality
4 sources
Confidence: Medium
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy