Skip to content

update: go #2197

Description

@dongsupark

Name: go
CVEs: CVE-2026-27145, CVE-2026-39822, CVE-2026-42504, CVE-2026-42505, CVE-2026-42507
CVSSs: 6.5, 7.8, 7.5, 5.3, 5.3
Action Needed:

  • CVE-2026-{27145,42504,42507}: update to >= 1.26.4
  • CVE-2026-{39822,42505}: update to >= 1.26.5

Summary:

  • CVE-2026-27145: (*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-39822: On Unix systems, opening a file in an os.Root improperly follows symlinks to locations outside of the Root when the final path component of the a path is a symbolic link and the path ends in /. For example, 'root.Open("symlink/")' will open "symlink" even when "symlink" is a symbolic link pointing outside of the root.
  • CVE-2026-42504: Decoding a maliciously-crafted MIME header containing many invalid encoded-words can consume excessive CPU.
  • CVE-2026-42505: Handshakes which used Encrypted Client Hello could be de-anonymized by a passive network observer due to a disclosure of pre-shared key identities in the unencrypted client hello.
  • CVE-2026-42507: 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.

See also https://groups.google.com/g/golang-announce/c/tKs3rmcBcKw, https://groups.google.com/g/golang-announce/c/OrmQE_Yp5Sc.

refmap.gentoo: TBD

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    Status
    🪵Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions