Golang: stdlib: security update to 1.25.11, 1.26.4

medium Tenable Self-Hosted Container Security Plugin ID 442592

Description

There are packages installed that are affected by multiple vulnerabilities referenced in the following CVEs:

- (*x509.Certificate).VerifyHostname previously called matchHostnames in a loop over all DNS Subject
Alternative Name (SAN) entries. This caused strings.Split(host, ".") to execute repeatedly on the same
input hostname. With a large DNS SAN list, verification costs scaled quadratically based on the number of
SAN entries multiplied by the hostname's label count. Because x509.Verify validates hostnames before
building the certificate chain, this overhead occurred even for untrusted certificates. (CVE-2026-27145)

- Decoding a maliciously-crafted MIME header containing many invalid encoded-words can consume excessive
CPU. (CVE-2026-42504)

- 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.
(CVE-2026-42507)

Solution

Update the stdlib library and its related packages to version 1.25.11 or later.

See Also

https://pkg.go.dev/vuln/GO-2026-5037

https://pkg.go.dev/vuln/GO-2026-5038

https://pkg.go.dev/vuln/GO-2026-5039

Plugin Details

Severity: Medium

ID: 442592

Version: Revision 1.4

Type: Local

Family: Golang

Published: 6/3/2026

Updated: 11/26/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 5

Percentile: 92.58

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2026-27145

CVSS v3

Risk Factor: Medium

Base Score: 5.3

Temporal Score: 4.6

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

CVSS Score Source: CVE-2026-42507

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 6/2/2026

Vulnerability Publication Date: 6/2/2026

Reference Information

CVE: CVE-2026-27145, CVE-2026-42504, CVE-2026-42507