What’s Vulnerable › Vulnerabilities

CVE-2026-42499: Quadratic string concatenation in consumePhrase in net/mail

Description

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

Affected products

How to fix

Upgrade to a fixed version: Go 1.25.10, 1.26.3; Go Stdlib 1.25.10, 1.26.3. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-42499 or the next vulnerability affects your stack