ADVISORIES

Vulnerability

CVE-2026-42507

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.

5202 advisories report this vulnerability, across 15 ecosystems.

Advisories in Go

  • GO-2026-5039

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

    CVE-2026-42507 Go Updated 23 November 2026

References