CVE-2026-27144

Miscompilation allows memory corruption via CONVNOP-wrapped array copy in cmd/compile

Published Apr 8, 2026 CVSS 3.1 · 7.1 High EPSS < 1% KEV · Not listed
Description
The compiler is meant to unwrap pointers which are the operands of a memory move; a no-op interface conversion prevented the compiler from making the correct determination about non-overlapping moves, potentially leading to memory corruption at runtime.

Analysis

AI-generated

Technical impact

The Go compiler incorrectly processes array copy operations when wrapped with a no‑op interface conversion. This miscompilation causes the compiler to assume non‑overlapping memory moves when it should not, leading to potential memory corruption at runtime. The flaw is classified as CWE‑440 and CWE‑843, indicating an untrusted write to memory and an improper type conversion that could lead to memory corruption.

Affected Systems

The vulnerability affects the Go toolchain component cmd/compile in all versions prior to the fix referenced in Go issue 78371. No specific affected version list is provided, so any unpatched Go installations using cmd/compile are potentially at risk. The vulnerability is not confined to a particular platform; it applies wherever the Go compiler runs.

Risk and Exploitability

The CVSS score of 7.1 marks this issue as high severity, yet the EPSS score of less than 1% indicates a very low current exploitation probability. The flaw is not listed in the CISA KEV catalog, suggesting no widely available exploits. The likely attack path involves an adversary compiling malicious Go code or gaining influence over the compilation of trusted code, causing the resulting binary to have corrupted memory. An attacker could potentially leverage this to achieve arbitrary code execution or other destructive behavior, though the precise exploitation chain is not detailed in the advisory.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Go compiler to the latest release that includes the fix for issue 78371
  • Restrict compilation of code to trusted repositories and isolate builds in dedicated environments
  • Obtain the patched Go compiler from the official release channel and verify its checksum before installation

Generated by OpenCVE AI on April 17, 2026 at 09:52 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Golang
Golang go
Weaknesses CWE-843
CPEs cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*
Vendors & Products Golang
Golang go
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

cvssV3_1

{'score': 7.1, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H'}

Type Values Removed Values Added
First Time appeared Gotoolchain
Gotoolchain cmd/compile
Weaknesses CWE-787
Vendors & Products Gotoolchain
Gotoolchain cmd/compile
Type Values Removed Values Added
Weaknesses CWE-440
References
Metrics threat_severity

None

cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H'}

threat_severity

Moderate

Type Values Removed Values Added
Weaknesses CWE-787
Type Values Removed Values Added
Description The compiler is meant to unwrap pointers which are the operands of a memory move; a no-op interface conversion prevented the compiler from making the correct determination about non-overlapping moves, potentially leading to memory corruption at runtime.
Title Miscompilation allows memory corruption via CONVNOP-wrapped array copy in cmd/compile
References
Weaknesses
  • CWE-440

    Expected Behavior Violation

  • CWE-843

    Access of Resource Using Incompatible Type ('Type Confusion')

Sources

Status
PUBLISHED
Assigner
Go
Published
Updated
Apr 13, 2026, 6:20 PM
Reserved
Feb 17, 2026, 7:57 PM
Status
Analyzed
Published
Apr 8, 2026, 2:16 AM
Modified
Jul 25, 2026, 10:10 AM
Severity
Moderate
Public date
Apr 8, 2026, 1:06 AM