Improper Output Neutralization for Logs Affecting std/net/textproto package, versions <1.25.11>=1.26.0-0 <1.26.4


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.37% (29th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Improper Output Neutralization for Logs vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-STDNETTEXTPROTO-17135843
  • published3 Jun 2026
  • disclosed2 Jun 2026
  • creditUnknown

Introduced: 2 Jun 2026

CVE-2026-42507  (opens in a new tab)
CWE-117  (opens in a new tab)

How to fix?

Upgrade std/net/textproto to version 1.25.11, 1.26.4 or higher.

Overview

std/net/textproto is a Go standard library package std/net/textproto

Affected versions of this package are vulnerable to Improper Output Neutralization for Logs.

Go Vulnerability Report:

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.

CVSS Base Scores

version 4.0
version 3.1