medium 5.3
EPSS 0.37%
GO-2026-5039: Arbitrary inputs are included in errors without any escaping in net/textproto
- Source:
- OSV.dev
- Published:
- Fetched:
- Updated:
- Affects:
- google stdlib
https://osv.dev/vulnerability/GO-2026-5039 ↗
osvgofix-available
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. Affected: Go:stdlib Fixed in: 1.25.11, 1.26.4 References: https://go.dev/issue/79346 https://go.dev/cl/777060 https://groups.google.com/g/golang-announce/c/tKs3rmcBcKw