Schwachstellen / CVE-2025-59937

kritisch

CVE-2025-59937

go-mail has insufficient address encoding when passing mail addresses to the SMTP client

Veröffentlicht Geändert CWE 88
In der Trivy Database seit spätestens 24. Okt. 2026, 07:11 UTCWann der Eintrag vor diesem Build hinzukam, ist nicht erfasst.

Einstufung nach Quelle

NVD9.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
GHSA8.2CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N

Trivys eigenes Label ist CRITICAL. Kritisch laut NVD. Niedriger laut GHSA (hoch).

Beschreibung

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

Betroffene Pakete und behobene Versionen

QuellePaketBehoben in
chainguardgitea, gitea-fips, sftpgo1.24.6-r1 und 1 weitere
go::GitHub Security Advisory Gogithub.com/wneessen/go-mail0.7.1
wolfigitea, sftpgo1.24.6-r1 und 1 weitere
Alle 6 Einträge aus 3 Quellen zeigen
QuellePaketBehoben in
chainguardgitea1.24.6-r1
chainguardgitea-fips1.24.6-r1
chainguardsftpgo2.6.6-r9
go::GitHub Security Advisory Gogithub.com/wneessen/go-mail0.7.1
wolfigitea1.24.6-r1
wolfisftpgo2.6.6-r9

Referenzen

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.