VDB

CVE-2025-31135

CVE-2025-31135 PUBLISHED CVSS 5.3 MEDIUM

Go-Guerrilla SMTP Daemon allows the PROXY command to be sent multiple times

Reported by github_m · Published April 1, 2025

github.com/phires/go-guerrilla is fixed in 1.6.7 (Go Modules)

Go-Guerrilla SMTP Daemon is a lightweight SMTP server written in Go. Prior to 1.6.7, when ProxyOn is enabled, the PROXY command will be accepted multiple times, with later invocations overriding earlier ones. The proxy protocol only supports one initial PROXY header; anything after that is considered part of the exchange between client and server, so the client is free to send further PROXY commands with whatever data it pleases. go-guerrilla will treat these as coming from the reverse proxy, allowing a client to spoof its IP address. This vulnerability is fixed in 1.6.7.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
github.com/phires/go-guerrillaGo Modules1.6.7

Risk scores

CVSS 3.1
5.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Affected products

VendorProductVersions
phiresgo-guerrilla< 1.6.7
phiresgo-guerrilla0
github.comphires/go-guerrilla0

Timeline

  • Apr 1, 2025 CVE Published
  • Apr 1, 2025 PoC Published (2 in total, the first dated here)
  • Apr 2, 2025 EPSS Score (30 in total, the first dated here)
  • Jun 21, 2025 Coalition ESS Score (11 in total, the first dated here)
  • Dec 17, 2025 Security Advisory (2 in total, the first dated here)
  • Jan 28, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-31135
vulnetix vdb fixes CVE-2025-31135

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-31135/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›