Skip to content

cmd/compile: no-op interface conversion bypasses overlap checking #78371

Description

@neild

Previously, the compiler failed to unwrap pointers contained within
a no-op interface conversion leading to an incorrect determination
of a non-overlapping move.
 
To prevent unsafe move operations, the compiler will now unwrap all
such conversions before considering a move non-overlapping.
 
Thank you to Jakub Ciolek - https://ciolek.dev/ for reporting this issue.
 
This is CVE-2026-27144 and Go issue https://go.dev/issue/78371.


This is a PRIVATE issue for CVE-2026-27144, tracked in http://b/490151411 and fixed by https://go-internal-review.git.corp.google.com/c/go/+/3780.

/cc @golang/security and @golang/release

Activity

  1. added this to the Go1.27 milestone on Mar 25, 2026
  2. added
    NeedsFixThe path to resolution is known, but the work has not been done.
    on Mar 27, 2026
  3. neild commented on Mar 27, 2026

    @neild
    ContributorAuthor

    @gopherbot please open backport issues for this security fix

  4. gopherbot commented on Mar 27, 2026

    @gopherbot
    Contributor

    Backport issue(s) opened: #78423 (for 1.25), #78424 (for 1.26).

    Remember to create the cherry-pick CL(s) as soon as the patch is submitted to master, according to https://go.dev/wiki/MinorReleases.

  5. gopherbot commented on Apr 7, 2026

    @gopherbot
    Contributor

    Change https://go.dev/cl/763545 mentions this issue: [release-branch.go1.26] cmd/compile: fix mem access overlap detection

  6. gopherbot commented on Apr 7, 2026

    @gopherbot
    Contributor

    Change https://go.dev/cl/763552 mentions this issue: [release-branch.go1.25] cmd/compile: fix mem access overlap detection

  7. added 2 commits that reference this issue on Apr 7, 2026
    72cc336
    3a4577a
  8. changed the title [-]security: fix CVE-2026-27144[/-] [+]cmd/compile: no-op interface conversion bypasses overlap checking[/+] on Apr 7, 2026
  9. gopherbot commented on Apr 7, 2026

    @gopherbot
    Contributor

    Change https://go.dev/cl/763764 mentions this issue: cmd/compile: fix mem access overlap detection

  10. added a commit that references this issue on Apr 8, 2026
    3985ca0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    NeedsFixThe path to resolution is known, but the work has not been done.Securitycompiler/runtimeIssues related to the Go compiler and/or runtime.release-blockervulncheck or vulndbIssues for the x/vuln or x/vulndb repo

    Type

    No type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions