Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: golang/go
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: go1.25.10
Choose a base ref
...
head repository: golang/go
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: go1.25.11
Choose a head ref
  • 6 commits
  • 12 files changed
  • 6 contributors

Commits on May 29, 2026

  1. [release-branch.go1.25] mime: avoid quadratic complexity in WordDecod…

    …er.DecodeHeader
    
    When encountering an undecodable encoded-word,
    skip over the entire word rather than just the initial "=?".
    
    For #79217
    Fixes #79229
    Fixes CVE-2026-42504
    
    Change-Id: I28605faa235459d2ba71bd0f3ae3dce96a6a6964
    Reviewed-on: https://go-review.googlesource.com/c/go/+/774481
    Reviewed-by: Nicholas Husin <nsh@golang.org>
    LUCI-TryBot-Result: golang-scoped@luci-project-accounts.iam.gserviceaccount.com <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
    Reviewed-by: Nicholas Husin <husin@google.com>
    (cherry picked from commit f230dd8)
    Reviewed-on: https://go-review.googlesource.com/c/go/+/774860
    TryBot-Bypass: Dmitri Shuralyov <dmitshur@google.com>
    Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
    neild authored and dr2chase committed May 29, 2026
    Configuration menu
    Copy the full SHA
    b79e033 View commit details
    Browse the repository at this point in the history
  2. [release-branch.go1.25] net/textproto: escape arbitrary input when in…

    …cluding them in errors
    
    When returning errors, functions in the net/textproto package would
    include its input as part of the error, without any escaping. Note that
    said input is often controlled by external parties when using this
    package naturally. For example, a net/http client uses ReadMIMEHeader
    when parsing the headers it receive from a server.
    
    As a result, an attacker could inject arbitrary content into the error.
    Practically, this can result in an attacker injecting misleading
    content, terminal control bytes, etc. into a victim's output or logs.
    
    Fix this issue by making sure that ProtocolError usages within the
    package are properly escaped, and that Error.String will escape its Msg.
    
    Updates #79346
    Fixes #79425
    Fixes CVE-2026-42507
    
    Change-Id: Ide4c1005d8254f90d95d7a389b8ca3a26a6a6964
    Reviewed-on: https://go-review.googlesource.com/c/go/+/777060
    LUCI-TryBot-Result: golang-scoped@luci-project-accounts.iam.gserviceaccount.com <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
    Reviewed-by: Roland Shoemaker <roland@golang.org>
    Reviewed-by: Nicholas Husin <husin@google.com>
    Reviewed-by: Damien Neil <dneil@google.com>
    (cherry picked from commit 1a7e601)
    Reviewed-on: https://go-review.googlesource.com/c/go/+/778181
    nicholashusin authored and dr2chase committed May 29, 2026
    Configuration menu
    Copy the full SHA
    449dafe View commit details
    Browse the repository at this point in the history
  3. [release-branch.go1.25] crypto/x509: split candidate hostname only once

    (*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.
    
    Thanks to Jakub Ciolek <jakub@ciolek.dev> for reporting this issue.
    
    For #79694
    Fixes #79700
    Fixes CVE-2026-27145
    
    Change-Id: I2788b8ee22ffd28e45bcc7b0d860549084906a74
    Reviewed-on: https://go-review.googlesource.com/c/go/+/783621
    LUCI-TryBot-Result: golang-scoped@luci-project-accounts.iam.gserviceaccount.com <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
    Reviewed-by: David Chase <drchase@google.com>
    Reviewed-by: Neal Patel <neal@golang.org>
    (cherry picked from commit d01955d)
    Reviewed-on: https://go-review.googlesource.com/c/go/+/783941
    Reviewed-by: Neal Patel <nealpatel@google.com>
    jitsu-net authored and dr2chase committed May 29, 2026
    Configuration menu
    Copy the full SHA
    c5d18e4 View commit details
    Browse the repository at this point in the history
  4. [release-branch.go1.25] runtime/race: build race detector linux/arm64…

    … syso with no-outline-atomics
    
    See https://go-review.googlesource.com/c/build/+/783460
    
    That's the only change - otherwise use the same llvm and Go source.
    
    Fixes #79698
    
    Change-Id: I11cb284704a71693ba4cf52a61bcac69c03be7ab
    Reviewed-on: https://go-review.googlesource.com/c/go/+/783860
    LUCI-TryBot-Result: golang-scoped@luci-project-accounts.iam.gserviceaccount.com <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
    Reviewed-by: David Chase <drchase@google.com>
    Reviewed-by: Keith Randall <khr@google.com>
    SLSA-Policy-Verified: SLSA Policy Verification Service <devtools-gerritcodereview-exitgate@google.com>
    randall77 authored and dr2chase committed May 29, 2026
    Configuration menu
    Copy the full SHA
    51f47da View commit details
    Browse the repository at this point in the history
  5. [release-branch.go1.25] cmd/compile: do not misscompile x+x << 63 to …

    …x << 0 on amd64
    
    For #79182
    Fixes #79190
    
    Change-Id: I63ca6cb1bd3f6752a7e9b809cfffc8d45b7adc51
    Reviewed-on: https://go-review.googlesource.com/c/go/+/774040
    Auto-Submit: Jorropo <jorropo.pgm@gmail.com>
    Reviewed-by: Cherry Mui <cherryyz@google.com>
    Reviewed-by: Keith Randall <khr@google.com>
    Reviewed-by: Keith Randall <khr@golang.org>
    LUCI-TryBot-Result: golang-scoped@luci-project-accounts.iam.gserviceaccount.com <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
    (cherry picked from commit c3bfc82)
    Reviewed-on: https://go-review.googlesource.com/c/go/+/783601
    Reviewed-by: Junyang Shao <shaojunyang@google.com>
    Reviewed-by: Jorropo <jorropo.pgm@gmail.com>
    Jorropo authored and dr2chase committed May 29, 2026
    Configuration menu
    Copy the full SHA
    917b60b View commit details
    Browse the repository at this point in the history

Commits on Jun 2, 2026

  1. [release-branch.go1.25] go1.25.11

    Change-Id: I294bec3e2b7893fc24bcaf8755de77e1afb31fd1
    Reviewed-on: https://go-review.googlesource.com/c/go/+/786221
    Reviewed-by: David Chase <drchase@google.com>
    TryBot-Bypass: Gopher Robot <gobot@golang.org>
    Auto-Submit: Gopher Robot <gobot@golang.org>
    Reviewed-by: Mark Freeman <markfreeman@google.com>
    gopherbot authored and mrkfrmn committed Jun 2, 2026
    Configuration menu
    Copy the full SHA
    d563bc4 View commit details
    Browse the repository at this point in the history
Loading