ALAS2-2026-3383


Amazon Linux 2 Security Advisory: ALAS2-2026-3383
Advisory Released Date: 2026-06-22
Advisory Updated Date: 2026-06-22
Severity: Medium

Issue Overview:

(*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)


Affected Packages:

golang


Note:

This advisory is applicable to Amazon Linux 2 (AL2) Core repository. Visit this FAQ section for the difference between AL2 Core and AL2 Extras advisories.


Issue Correction:
Run yum update golang or yum update --advisory ALAS2-2026-3383 to update your system.

New Packages:
aarch64:
    golang-1.25.11-1.amzn2.0.1.aarch64
    golang-bin-1.25.11-1.amzn2.0.1.aarch64
    golang-shared-1.25.11-1.amzn2.0.1.aarch64

noarch:
    golang-docs-1.25.11-1.amzn2.0.1.noarch
    golang-misc-1.25.11-1.amzn2.0.1.noarch
    golang-tests-1.25.11-1.amzn2.0.1.noarch
    golang-src-1.25.11-1.amzn2.0.1.noarch

src:
    golang-1.25.11-1.amzn2.0.1.src

x86_64:
    golang-1.25.11-1.amzn2.0.1.x86_64
    golang-bin-1.25.11-1.amzn2.0.1.x86_64
    golang-shared-1.25.11-1.amzn2.0.1.x86_64