Improper Output Neutralization for Logs Affecting golang-misc package, versions <0:1.26.5-1.module+el8.10.0+24506+6809f2d9


Severity

Recommended
high

Based on CentOS security rating.

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 IDSNYK-CENTOS8-GOLANGMISC-17382273
  • published19 Jun 2026
  • disclosed2 Jun 2026

Introduced: 2 Jun 2026

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

How to fix?

Upgrade Centos:8 golang-misc to version 0:1.26.5-1.module+el8.10.0+24506+6809f2d9 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream golang-misc package and not the golang-misc package as distributed by Centos. See How to fix? for Centos:8 relevant fixed versions and status.

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 3.1