CVE-2026-27143
Go vulnerability analysis and mitigation

Overview

CVE-2026-27143 is a memory corruption vulnerability in the Go programming language's compiler (cmd/compile) caused by improper arithmetic bounds checking on loop induction variables. When arithmetic over induction variables in loops is not correctly checked for underflow or overflow, the compiler permits invalid memory indexing at runtime, potentially leading to memory corruption. It affects Go versions before 1.25.9 and versions 1.26.0 through 1.26.1 (before 1.26.2). Disclosed on April 8, 2026, it carries a CVSS v3.1 base score of 9.8 (Critical) (GitHub Advisory, Red Hat Bugzilla).

Technical details

The root cause is classified under CWE-119 (Improper Restriction of Operations within the Bounds of a Memory Buffer). The Go compiler's bound check elimination optimization fails to correctly validate arithmetic performed on loop induction variables, allowing integer underflow or overflow conditions to go unchecked. This results in the compiler generating code that permits out-of-bounds memory access at runtime in programs compiled with the affected toolchain. The flaw is network-exploitable with no authentication or user interaction required, as any application compiled with a vulnerable Go version and exposed to attacker-controlled input could trigger the invalid indexing. The upstream fix is tracked in Go issue #78333 and code review CL 763765 (GitHub Advisory, Go Vuln DB).

Impact

Successful exploitation can result in memory corruption, data loss, unauthorized data disclosure, and potential arbitrary code execution in applications compiled with the vulnerable Go toolchain. All three security pillars are affected at high severity: confidentiality (sensitive data exposure), integrity (data modification), and availability (application crash or instability). Any Go-compiled application that processes attacker-influenced loop indices and is exposed over a network is at risk, with the potential for lateral movement if the compromised application has elevated privileges or access to internal systems (GitHub Advisory, Red Hat Bugzilla).

Exploitability

As of the time of reporting, there is no confirmed evidence of active in-the-wild exploitation, and no weaponized exploit kit has been publicly identified. A blog post referencing a proof-of-concept or remediation walkthrough exists at portallinuxferramentas.blogspot.com, though its technical depth is unverified. The EPSS score is approximately 0.022% (6th percentile), indicating a low near-term exploitation probability. CVE-2026-27143 does not appear in the CISA Known Exploited Vulnerabilities (KEV) catalog at this time (GitHub Advisory, Go Vuln DB).

Exploitation steps

  1. Identify vulnerable targets: Enumerate network-exposed services or applications compiled with Go versions prior to 1.25.9 or between 1.26.0 and 1.26.1 using banner grabbing, version disclosure endpoints, or supply chain analysis.
  2. Analyze application logic: Identify code paths in the target application where loop induction variables are influenced by attacker-controlled input (e.g., user-supplied array indices, lengths, or offsets).
  3. Craft malicious input: Supply input values designed to trigger integer underflow or overflow in loop arithmetic, causing the compiler-generated bounds check to be bypassed at runtime.
  4. Trigger invalid memory access: Send the crafted input to the target application over the network, causing out-of-bounds memory reads or writes due to the missing bounds validation in the compiled binary.
  5. Achieve objective: Depending on the application and memory layout, the attacker may achieve information disclosure (reading adjacent memory), data corruption (overwriting memory), or potentially arbitrary code execution (GitHub Advisory, Go Vuln DB).

Indicators of compromise

  • Logs: Unexpected application panics or crashes with stack traces referencing out-of-bounds slice/array access in Go runtime logs; repeated runtime errors such as index out of range in application logs from services compiled with affected Go versions.
  • Process: Abnormal process termination (segmentation faults or Go runtime panics) in Go-compiled services; unexpected child processes spawned by Go application processes.
  • Network: Unusual or malformed input patterns in HTTP/TCP request logs targeting endpoints that perform loop-based data processing; repeated connection attempts with varying payload sizes suggesting fuzzing activity.
  • File System: Presence of Go binaries compiled with vulnerable toolchain versions (identifiable via go version <binary> or strings output showing go1.25.x where x < 9, or go1.26.0/go1.26.1).

Mitigation and workarounds

The Go project has released patched versions Go 1.25.9 and Go 1.26.2 that correctly validate arithmetic on loop induction variables. All organizations should upgrade their Go toolchain to one of these versions and recompile all affected applications — simply updating the runtime is insufficient, as the flaw is introduced at compile time. Prioritize recompilation of applications handling sensitive data or exposed to network access. Red Hat has issued errata for RHEL 8 (RHSA-2026:10704), RHEL 9 (RHSA-2026:10219), and RHEL 10 (RHSA-2026:10217), among others. OpenSUSE, Amazon Linux 2, Amazon Linux 2023, and other distributions have also released updated packages (Red Hat Bugzilla, Go Vuln DB).

Community reactions

The Go security team disclosed the vulnerability via the golang-announce mailing list and the Go vulnerability database (GO-2026-4868). The OpenSSF/oss-security mailing list carried discussion of the issue. Multiple Linux distribution vendors (Red Hat, SUSE, Amazon, openSUSE) responded promptly with security advisories and updated packages. The Kubernetes and cloud-native community noted the issue in weekly digests such as Last Week in Kubernetes Development (LWKD). Scanner vendors including Tenable (Nessus) and Qualys rapidly added detection plugins (golang-announce, oss-sec).

Additional resources


SourceThis report was generated using AI

Related Go vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2023-54365HIGH8.7
  • Go logoGo
  • trigger-dev
NoYesJun 23, 2026
CVE-2026-39822HIGH7.8
  • Go logoGo
  • timestamp-authority-fips
NoYesJul 08, 2026
CVE-2026-42504HIGH7.5
  • Go logoGo
  • buildah-tests
NoYesJun 02, 2026
CVE-2026-42505MEDIUM5.3
  • Go logoGo
  • gomplate-4
NoYesJul 08, 2026
CVE-2026-42507MEDIUM5.3
  • Go logoGo
  • libcap
NoYesJun 02, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management