CVE-2026-42499

Quadratic string concatenation in consumePhrase in net/mail

State
Published
Severity
7.5 High
Published
May 7, 2026
Updated
Sep 18, 2026
Reserved
Apr 28, 2026

Read the record on cve.org

Description

Pathological inputs could cause DoS through consumePhrase when parsing an email address according to RFC 5322.

Scores

CVSSScoreVectorSource
3.17.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HCISA-ADP
3.17.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:Hredhat-SADP

Weaknesses

  • CWE-1046 Creation of Immutable Text Using String Concatenation

Affected Products

ProductVersions
net/mailGo standard library
  • before 1.25.10Affected
  • 1.26.0-0 to before 1.26.3Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.