CVE-2026-42507 Affecting golang package, versions <0:1.26.4-1.el10_2


Severity

Recommended
medium

Based on Rocky Linux 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-ROCKY10-GOLANG-17612447
  • published27 Jun 2026
  • disclosed2 Jun 2026

Introduced: 2 Jun 2026

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

How to fix?

Upgrade Rocky-Linux:10 golang to version 0:1.26.4-1.el10_2 or higher.
This issue was patched in RLSA-2026:29980.

NVD Description

Note: Versions mentioned in the description apply only to the upstream golang package and not the golang package as distributed by Rocky-Linux. See How to fix? for Rocky-Linux:10 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