CVE-2026-39820
net/mail: golang: Go net/mail: Denial of Service via crafted email inputs
Severity
ImportantRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · May 8, 2026
Updated · October 31, 2026
Description
A flaw was found in the net/mail package of the Go programming language. An attacker could provide specially crafted inputs to the ParseAddress, ParseAddressList, or ParseDate functions. This could lead to excessive consumption of CPU and memory resources, resulting in a Denial of Service (DoS) for applications processing these inputs.
Statement
This is an Important denial of service vulnerability in the Go net/mail package. Applications processing untrusted email inputs via ParseAddress, ParseAddressList, or ParseDate functions are susceptible to excessive resource consumption, which can lead to service unavailability.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
CVSS / CWE
CVSS 3.1 · 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CWE-606 · Unchecked Input for Loop Condition