CVE-2025-59937

HIGH CVSS 4.0: 8.2 EPSS 0.54%
Updated Oct 09, 2026
Pebcak
Parameter Value
CVSS 8.2 (HIGH)
Affected Versions before 0.7.1
Fixed In 0.7.1
Type CWE-88
Vendor Pebcak
Public PoC No

go-mail is a comprehensive library for sending mails with Go. In versions 0.7.0 and below, due to incorrect handling of the mail.Address values when a sender- or recipient address is passed to the corresponding MAIL FROM or RCPT TO commands of the SMTP client, there is a possibility of wrong address routing or even ESMTP parameter smuggling. For successful exploitation, it is required that the user's code allows for arbitrary mail address input (i. e. through a web form or similar).

If only static mail addresses are used (i. e. in a config file) and the mail addresses in use do not consist of quoted local parts, this should not affect users. This issue is fixed in version 0.7.1

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
Present
Additional conditions required
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
None
No data leak
Integrity
High
Complete data modification
Availability
None
No disruption

CVSS Vector v4.0

Weakness Type (CWE)

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Pebcak Go-Mail
cpe:2.3:a:pebcak:go-mail:*:*:*:*:*:go:*:*
— 0.7.1