Skip to main content

Cmd Compile CVE-2026-27143

| EUVDEUVD-2026-20004 CRITICAL
2026-04-08 Go GHSA-cfp9-33rc-j74f
Critical
Disputed · 9.8 NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Provide specially crafted code to compiler
  2. Delivery
    Arithmetic operation triggers integer underflow in loop
  3. Exploit
    Generate invalid array index
  4. Execution
    Corrupt memory via out-of-bounds access
  5. Impact
    Execute arbitrary code

Vulnerability Assessment

Exploitation Conditions

Exploitation requires the target to compile Go source code containing malicious loop arithmetic patterns using vulnerable cmd/compile versions 1.25.0-1.25.8 or 1.26.0-1.26.1. The attack does not exploit deployed Go applications directly; instead, it weaponizes the compilation process itself. Specific prerequisites include: developers must download or depend on attacker-controlled Go source files (via direct imports, transitive dependencies in go.mod, or code copy-paste from

Impact

CVSS 9.8 (Critical) with vector AV:N/AC:L/PR:N/UI:N suggests maximum exploitability, but this rating conflates attack surface semantics. The 'network vector' applies to distributing malicious source code (e.g., via open-source repositories, dependencies), not exploiting deployed services. Actual exploitation requires victim developers to download and compile attacker-controlled Go code using affected compiler versions 1.25.0-1.25.8 or 1.26.0-1.26.1. EPSS 0.01% (1st percentile) correctly reflects minimal real-world exploitation activity, as the attack requires social engineering or supply-chain insertion rather than automated scanning. No CISA KEV listing and no public POC existence further support low immediate risk. SSVC framework assessment: Exploitation status is 'none' (no observed activity), not 'automatable' (requires human compile action), technical impact is 'total' (memory corruption enables RCE in compiled binaries). Decision priority: 'Scheduled' patching for development environments rather than emergency response. Risk concentrates in CI/CD pipelines, enterprise build servers, and developer workstations using vulnerable Go versions to compile untrusted code. Standard software development without external code review faces minimal exposure.

Exploit ScenarioDerived

Attacker publishes a malicious Go library to a public repository (GitHub, pkg.go.dev) containing source code with specially crafted loop constructs designed to trigger the compiler's induction variable overflow flaw. A developer using Go 1.26.1 imports this dependency (go get attacker.com/malicious-lib) and compiles their application. During compilation, cmd/compile generates invalid array indexing instructions that pass bounds checks but overflow at runtime. When the compiled application executes the vulnerable code path (e.g., processing user input through the malicious library function), out-of-bounds memory access occurs, allowing the attacker to corrupt heap structures, hijack control flow, and achieve remote code execution in the context of the running application. No public POC exists at time of analysis.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 15, 2026

Integer overflow in Go compiler's loop optimization (cmd/compile 1.25.x < 1.25.9, 1.26.x < 1.26.2) allows remote code execution through crafted source code that triggers invalid array indexing at runtime. Attack vector is network-accessible (AV:N) with no authentication required (PR:N), enabling attackers to compile malicious Go programs that exploit compiler-generated memory corruption vulnerabilities. EPSS score of 0.01% (1st percentile) indicates low observed exploitation probability despite

Earlier versions of this analysis (1)
v1 Apr 15, 2026 - 12:25 CVSS 9.8

Integer overflow in Go compiler's loop optimization (cmd/compile 1.25.x < 1.25.9, 1.26.x < 1.26.2) allows remote code execution through crafted source code that triggers invalid array indexing at runtime. Attack vector is network-accessible (AV:N) with no authentication required (PR:N), enabling attackers to compile malicious Go programs that exploit compiler-generated memory corruption vulnerabilities. EPSS score of 0.01% (1st percentile) indicates low observed exploitation probability despite critical CVSS 9.8 rating. No CISA KEV listing or public exploit identified at time of analysis, suggesting theoretical risk rather than active threat.

RemediationAI

Upgrade Go toolchain to patched versions 1.25.9 or later for the 1.25 branch, or 1.26.2 or later for the 1.26 branch as specified in https://groups.google.com/g/golang-announce/c/0uYbvbPZRWU. Verify installed version with 'go version' command and update via package manager (apt install golang-1.25.9, brew upgrade go) or direct download from https://go.dev/dl/. Update CI/CD pipeline configurations (Dockerfile FROM golang:1.26.2, GitHub Actions go-version: 1.25.9, GitLab CI image: golang:1.26.2) to prevent using vulnerable compiler versions. No runtime workaround exists as the flaw is in compiler code generation; previously compiled binaries from vulnerable toolchains may contain exploitable code and should be recompiled with patched versions if they process untrusted input. Review Go module dependencies via 'go list -m all' and consult https://pkg.go.dev/vuln/GO-2026-4868 for supply-chain impact assessment.

Affected VersionsENISA

cmd/compile 1.26.0-0 <1.26.2
cmd/compile 0 <1.25.9

Affected Packages

go toolchain fix: 1.25.9, 1.26.2
euvd cmd_compile fix: 1.25.9, 1.26.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in go, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

This vulnerability resides in Go's cmd/compile toolchain component, specifically in the compiler's optimization passes that handle arithmetic operations over loop induction variables. Induction variables are iteration counters or derived values that change predictably across loop iterations (e.g., i++, array[i*2]). The compiler performs static analysis to optimize these patterns but failed to properly validate integer bounds, allowing signed/unsigned integer overflow or underflow conditions to pass unchecked into compiled binaries. When the flawed compiled code executes, out-of-bounds array indexing occurs, enabling memory corruption primitive attacks. The CPE identifier cpe:2.3:a:go_toolchain:cmd/compile confirms this affects the compiler itself during build-time rather than runtime libraries. Without assigned CWE classification, the vulnerability appears to combine characteristics of CWE-190 (Integer Overflow) and CWE-119 (Improper Memory Buffer Restriction). This is a supply-chain attack surface: adversaries must convince targets to compile malicious Go source code using vulnerable compiler versions, rather than directly exploiting running applications.

Know when Cmd Compile gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Sources disagree (Medium–Critical)
NVD PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
SUSE CRITICAL
Red Hat 8.1 MEDIUM

vuln.today treats the vendor’s rating as authoritative. A higher third-party CVSS (e.g. CISA-ADP) is shown for transparency but does not drive the headline severity.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

3
CVSS changed
Apr 13, 2026 - 19:37 NVD
9.8 (CRITICAL)
Patch released
Apr 08, 2026 - 02:30 nvd
Patch available
CVE Published
Apr 08, 2026 - 01:06 nvd
N/A

DescriptionNVD

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.

Executive ViewAI

Why It Matters

CVE-2026-27143 is a critical integer overflow vulnerability in the Go compiler (versions 1.25.x before 1.25.9 and 1.26.x before 1.26.2) that enables remote code execution when compiling attacker-controlled Go source code. Organizations using Go for internal development or processing untrusted code submissions face direct risk of compromise, while the extremely low EPSS score (0.01%) indicates this remains a theoretical threat with minimal observed exploitation to date.

Business Impact: High
Compensating Controls

Apply vendor patch. Interim mitigations if patching is delayed: restrict Go compiler access to trusted development teams only; disable compilation of external or user-submitted Go source code in CI/CD pipelines; isolate compiler infrastructure on segregated networks; implement code review controls before any compilation of non-internal code.

Threat Intelligence Overview

EPSS Score
0.0%
Top 99% exploitable
Threat Intel
1
1 source
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment NEWS Vendor VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Total

Priority Score

49
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +49
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Vendor StatusVendor

SUSE

Severity: Critical
Product Status
SUSE Linux Enterprise Desktop 15 SP7 SUSE Linux Enterprise High Performance Computing 15 SP7 SUSE Linux Enterprise Module for Development Tools 15 SP7 SUSE Linux Enterprise Server 15 SP7 SUSE Linux Enterprise Server for SAP Applications 15 SP7 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS Fixed
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS Fixed
SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS Fixed
SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS Fixed

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy