CVE-2026-42499: CWE-407: Inefficient Algorithmic Complexity in Go standard library net/mail
Pathological inputs could cause DoS through consumePhrase when parsing an email address according to RFC 5322.
AI Analysis
Technical Summary
The vulnerability in the net/mail package of the Go standard library is caused by quadratic string concatenation in the consumePhrase function when parsing pathological email addresses. This inefficient algorithmic complexity can be exploited remotely by sending crafted email addresses, resulting in excessive resource consumption and denial of service in Go applications that use this library for email parsing. The issue is tracked under CWE-407 (Inefficient Algorithmic Complexity) and CWE-1046 (Creation of Immutable Text Using String Concatenation). Red Hat's advisory confirms the impact and states that no suitable mitigation or fix is currently available that meets their criteria for ease of use, deployment, and stability. The vulnerability affects specific Go versions including 1.26.0-0 and 0 as stated. There are no known exploits in the wild at this time.
Potential Impact
A remote attacker can cause a denial of service by triggering excessive resource consumption in Go applications that parse email addresses using the vulnerable net/mail package. This leads to application unavailability due to inefficient handling of pathological inputs. There is no impact on confidentiality or integrity, only availability is affected.
Mitigation Recommendations
Currently, no official fix or mitigation meeting Red Hat's criteria for ease of use, deployment, applicability, or stability is available. Users are advised to monitor vendor advisories for updates. Upgrading to a fixed version when available is recommended once a patch is released. Until then, consider limiting exposure of affected functionality to untrusted inputs if possible.
CVE-2026-42499: CWE-407: Inefficient Algorithmic Complexity in Go standard library net/mail
Description
Pathological inputs could cause DoS through consumePhrase when parsing an email address according to RFC 5322.
CVSS v3.1
Score 7.5high
Affected software
Go standard library
net/mail
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in the net/mail package of the Go standard library is caused by quadratic string concatenation in the consumePhrase function when parsing pathological email addresses. This inefficient algorithmic complexity can be exploited remotely by sending crafted email addresses, resulting in excessive resource consumption and denial of service in Go applications that use this library for email parsing. The issue is tracked under CWE-407 (Inefficient Algorithmic Complexity) and CWE-1046 (Creation of Immutable Text Using String Concatenation). Red Hat's advisory confirms the impact and states that no suitable mitigation or fix is currently available that meets their criteria for ease of use, deployment, and stability. The vulnerability affects specific Go versions including 1.26.0-0 and 0 as stated. There are no known exploits in the wild at this time.
Potential Impact
A remote attacker can cause a denial of service by triggering excessive resource consumption in Go applications that parse email addresses using the vulnerable net/mail package. This leads to application unavailability due to inefficient handling of pathological inputs. There is no impact on confidentiality or integrity, only availability is affected.
Mitigation Recommendations
Currently, no official fix or mitigation meeting Red Hat's criteria for ease of use, deployment, applicability, or stability is available. Users are advised to monitor vendor advisories for updates. Upgrading to a fixed version when available is recommended once a patch is released. Until then, consider limiting exposure of affected functionality to untrusted inputs if possible.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Go
- Date Reserved
- 2026-04-28T00:21:12.791Z
- State
- PUBLISHED
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2026-42499","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:33120","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:33123","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:33142","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:33150","vendor":"Red Hat"}]
Threat ID: 69fcf0c1cbff5d86102bd5e3
Added to database: 05/07/2026, 20:06:25 UTC
Last enriched: 08/15/2026, 14:23:17 UTC
Last updated: 09/12/2026, 10:01:31 UTC
Views: 225
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.