Read the docs
Red Hat Security Advisory

RHSA-2026:22121

golang security update

Released 2026-06-01 · Red Hat rating Important · View on Red Hat →

Fixed in

Fixes 11 records

Priority MEDIUM 40

Pathological inputs could cause DoS through consumePhrase when parsing an email address according to RFC 5322.

CVSS 3.1HIGH 7.5 Network No auth No interaction EPSS 0.00798 Published 2026-05-07 Partial fix · 1.25.10, 1.26.3
Priority MEDIUM 40

Well-crafted inputs reaching ParseAddress, ParseAddressList, and ParseDate were able to trigger excessive CPU exhaustion and memory allocations.

CVSS 3.1HIGH 7.5 Network No auth No interaction EPSS 0.00784 Published 2026-05-07 Partial fix · 1.25.10, 1.26.3 CWE-770
Priority MEDIUM 40

When using LookupCNAME with the cgo DNS resolver, a very long CNAME response can trigger a double-free of C memory and a crash.

CVSS 3.1HIGH 7.5 Network No auth No interaction EPSS 0.00875 Published 2026-05-07 Partial fix · 1.25.10, 1.26.3 CWE-415
Priority LOW 34

A malicious module proxy can exploit a flaw in the go command's validation of module checksums to bypass checksum database validation.

CVSS 3.1HIGH 7.5 Network No auth User interaction EPSS 0.00231 Published 2026-05-07 Partial fix · 1.25.10, 1.26.3 CWE-347
TI-2026-28708 CVE-2026-39826 · GHSA-3v2c-x6q9-f697

Escaper bypass leads to XSS in html/template

Priority LOW 27

If a trusted template author were to write a <script> tag containing an empty 'type' attribute or a 'type' attribute with an ASCII whitespace, the execution of the template would incorrectly escape any data passed into t…

CVSS 3.1MEDIUM 6.1 Network No auth User interaction EPSS 0.00371 Published 2026-05-07 Partial fix · 1.25.10, 1.26.3 CWE-116
Priority LOW 27

CVE-2026-27142 fixed a vulnerability in which URLs were not correctly escaped inside of a <meta> tag's <content> attribute.

CVSS 3.1MEDIUM 6.1 Network No auth User interaction EPSS 0.00314 Published 2026-05-07 Partial fix · 1.25.10, 1.26.3 CWE-79
Priority LOW 26

The "go tool pack" subcommand (usually used only by the compiler as an internal tool with known-good inputs) does not sanitize output filenames.

CVSS 3.1MEDIUM 5.9 Local Low privileges User interaction EPSS 0.0017 Published 2026-05-07 Partial fix · 1.25.10, 1.26.3 CWE-787