VDB
KO

GO-2026-5039

Arbitrary inputs are included in errors without any escaping in net/textproto

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Go / stdlib
Introduced in: 0 Fixed in: 1.25.11
Fix go get stdlib@v1.25.11

References