HIGHCVSS v3.1 7.5Vulnerability

CVE-2026-115578

The defect ---------- Confirmed at HEAD. server.go: cmdXCLIENT = []byte("XCLIENT") is 7 bytes (line 78), so the dispatch match cmdXCLIENT.match(cmd) only guarantees len(input) >= 7. The handler then slices input[8:] (line 586): case sc.XClientOn && cmdXCLIENT.match(cmd): if toks := bytes.Split(input[8:], []byte{' '}); len(toks) > 0 { // line 586 A client sending the bare command XCLIENT (exactly 7 bytes) hits input[8:7] and panics runtime error: slice bounds out of range [8:7]. handleClient runs in the per-connection goroutine (server.go:391) which has no recover(); the only recover() calls are in the backend mail-processing workers (a different goroutine never reached during command parsing), so the unrecovered panic crashes the whole SMTP daemon. Input and attacker ------------------- Connect to the SMTP port, then send XCLIENT\r\n (a bare LF also works; no HELO needed). Precondition: xclient_on: true (off by default, but a documented nginx-fronted deployment; go-guerrilla does not restrict who may send XCLIENT). Attacker model: any unauthenticated client on the SMTP port. Verification level ------------------ EXECUTED with a negative control (agent-run, driving the real server.handleClient with XClientOn=true over the suite's mock net.Conn). The bare XCLIENT panics with the exact OOB; the negative control XCLIENT with a trailing space (8 bytes) does not panic and returns 250. The upstream TestXClient tests XCLIENT ADDR=... and XCLIENT c but never the bare 7-byte form (the missing regression case). I independently re-confirmed at HEAD that cmdXCLIENT is 7 bytes (server.go:78), that the handler slices input[8:] (server.go:586), and that handleClient (server.go:391) has no recover. NOT verified: did not stand up a standalone daemon on a real socket to observe OS-level process exit (used the mock net.Conn plus the traced absence of recover; crash-to-exit is standard Go runtime behavior). Suggested fix ------------- Guard the slice against the exact

Properties

Severity
high
Summary
go-guerrilla crashes on a bare XCLIENT command (7-byte slice off-by-one panic)
Nvd fetched at
2026-11-22T12:30:49.958423+00:00
Epss score
0.00623
Cvss severity
HIGH
Cvss score
7.5
Retrieved at
2026-11-22T12:32:25+00:00
Ghsa published
2026-11-20T14:42:18Z
Source url
https://github.com/advisories/GHSA-hghq-53p7-c582
Ghsa updated
2026-11-20T14:42:22Z
Ghsa id
GHSA-hghq-53p7-c582
Last source
FIRST EPSS
Score
7.5
Cvss version
3.1
Cve id
CVE-2026-115578
Cvss vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
First seen by Signal
2026-11-19T23:31:53+00:00
Name
CVE-2026-115578
Is ghsa only
false
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Related Entities (5)

HAS_WEAKNESS (3)

AFFECTS (1)

VULNERABLE_TO (1)

Related research

Explore deeper with Ninja Signal's threat intelligence graph

CVE-2026-115578 (CVSS v3.1 7.5) — Ninja Signal Threat Intelligence | Ninja Signal