Go net/textproto Error Leakage via Input Data <1.25.11, <1.26.4
CVE-2026-42507 Published on June 2, 2026
Arbitrary inputs are included in errors without any escaping in net/textproto
When returning errors, functions in the net/textproto package would include its input as part of the error. This might allow an attacker to inject misleading content to errors that are printed or logged.
Vulnerability Analysis
CVE-2026-42507 can be exploited with network access, and does not require authorization privileges or user interaction. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to have no impact on confidentiality, with no impact on integrity, and no impact on availability.
Affected Versions
Go standard library net/textproto:- Before 1.25.11 is affected.
- Version 1.26.0-0 and below 1.26.4 is affected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.