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


Severity

Recommended
medium

Based on AlmaLinux 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-ALMALINUX9-GOLANGMISC-17705512
  • published30 Jun 2026
  • disclosed25 Jun 2026

Introduced: 25 Jun 2026

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

How to fix?

Upgrade AlmaLinux:9 golang-misc to version 0:1.26.4-1.el9_8 or higher.
This issue was patched in ALSA-2026:29981.

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 AlmaLinux. See How to fix? for AlmaLinux:9 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