CVE-2026-42507Published Jun 2, 2026 · Jun 2Updated Jul 22
Arbitrary inputs are included in errors without any escaping in net/textproto
Go standard library net/textproto
Medium5.3
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Go standard library net/textproto |
| No fix yet |
Original description
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.
From the CVE record · Go