Description
Arithmetic over induction variables in loops were not correctly checked for underflow or overflow. As a result, the compiler would allow for invalid indexing to occur at runtime, potentially leading to memory corruption.
Published: 2026-04-08
Score: 9.8 Critical
EPSS: < 1% Very Low
KEV: No
Impact: Memory corruption
Action: Immediate Patch
AI Analysis

Impact

The flaw arises when the Go compiler fails to correctly bounds‑check induction variables in loops, allowing an out‑of‑range index to be used during compilation. This oversight can corrupt memory inside the compiler at runtime, creating a memory corruption vulnerability. The weakness corresponds to improper bounds checking (CWE‑733).

Affected Systems

The defect is located in the cmd/compile component of the Go toolchain. Any system compiling Go source code with a compiler that contains this flaw, regardless of the specific build or version, is potentially affected. The CNA did not list particular version ranges, so all builds using the vulnerable compiler are at risk.

Risk and Exploitability

The CVSS score of 9.8 indicates a severe, high‑impact flaw, while an EPSS score of < 1% suggests that exploitation is unlikely but still possible. The vulnerability is not in CISA’s KEV catalog. The most likely attack vector is local: an attacker must supply malicious source code to a compilation process running on a system that uses the affected Go toolchain. Because the weakness is in the compiler, the impact remains confined to the compilation environment but can corrupt the compiler’s own memory space.

Generated by OpenCVE AI on April 18, 2026 at 09:32 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the latest Go toolchain release that contains the cmd/compile bounds‑check patch.
  • Configure build systems to use a dedicated, isolated environment when compiling untrusted or third‑party source code.
  • Audit and replace any older Go compiler binaries on build servers and CI pipelines.

Generated by OpenCVE AI on April 18, 2026 at 09:32 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 16 Apr 2026 19:30:00 +0000

Type Values Removed Values Added
First Time appeared Golang
Golang go
Weaknesses NVD-CWE-Other
CPEs cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*
Vendors & Products Golang
Golang go

Mon, 13 Apr 2026 19:15:00 +0000

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': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

cvssV3_1

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


Thu, 09 Apr 2026 08:30:00 +0000

Type Values Removed Values Added
First Time appeared Gotoolchain
Gotoolchain cmd/compile
Vendors & Products Gotoolchain
Gotoolchain cmd/compile

Thu, 09 Apr 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-733
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


Wed, 08 Apr 2026 01:45:00 +0000

Type Values Removed Values Added
Description Arithmetic over induction variables in loops were not correctly checked for underflow or overflow. As a result, the compiler would allow for invalid indexing to occur at runtime, potentially leading to memory corruption.
Title Missing bound checks can lead to memory corruption in safe Go in cmd/compile
References

Subscriptions

Golang Go
Gotoolchain Cmd/compile
cve-icon MITRE

Status: PUBLISHED

Assigner: Go

Published:

Updated: 2026-04-13T18:20:17.933Z

Reserved: 2026-02-17T19:57:28.435Z

Link: CVE-2026-27143

cve-icon Vulnrichment

Updated: 2026-04-13T17:50:15.313Z

cve-icon NVD

Status : Analyzed

Published: 2026-04-08T02:16:03.017

Modified: 2026-04-16T19:20:02.250

Link: CVE-2026-27143

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-04-08T01:06:57Z

Links: CVE-2026-27143 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-04-18T09:45:25Z

Weaknesses