Protection mechanism failure in Go programming language - CVE-2026-27140
Published: July 31, 2026
Vulnerability identifier: #VU140601
CSH Severity: High
CVSS v4 BT: 8.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber]
CVE-ID: CVE-2026-27140
CWE-ID: CWE-693
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code.
The vulnerability exists due to a trust layer bypass in cmd/go when processing SWIG file names containing 'cgo' and crafted payloads at build time. A remote attacker can supply a specially crafted SWIG file to execute arbitrary code.
Affected software
Go programming language
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise Server 15 SP4
SUSE Linux Enterprise Server 15 SP6
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise Real Time 15
Anolis OS
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for x86_64
Development Tools Module
openEuler
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
golang
golang-devel
golang-help
golang (Red Hat package)
delve
golang-tests
golang-src
golang-misc
golang-docs
golang-race
golang-bin
go-toolset
go1.25-openssl-debuginfo
go1.25-openssl-race
go1.25-openssl
go1.25-openssl-doc
go1.25
go1.25-race
go1.25-doc
go1.26-openssl
go1.26-openssl-race
go1.26-openssl-doc
go1.26-doc
go1.26
go1.26-race
Red Hat OpenShift Container Platform
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise Server 15 SP4
SUSE Linux Enterprise Server 15 SP6
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise Real Time 15
Anolis OS
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for x86_64
Development Tools Module
openEuler
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
golang
golang-devel
golang-help
golang (Red Hat package)
delve
golang-tests
golang-src
golang-misc
golang-docs
golang-race
golang-bin
go-toolset
go1.25-openssl-debuginfo
go1.25-openssl-race
go1.25-openssl
go1.25-openssl-doc
go1.25
go1.25-race
go1.25-doc
go1.26-openssl
go1.26-openssl-race
go1.26-openssl-doc
go1.26-doc
go1.26
go1.26-race
Red Hat OpenShift Container Platform
How to mitigate CVE-2026-27140
Install security update from vendor's website.
Go programming language - addressed in versions 1.25.9, 1.26.2
golang - addressed in versions 1.15.7-61, 1.17.3-49, 1.21.4-44, 1.21.4-45, 1.21.4-48
golang-devel - addressed in versions 1.15.7-61, 1.17.3-49, 1.21.4-44, 1.21.4-45, 1.21.4-48
golang-help - addressed in versions 1.15.7-61, 1.17.3-49, 1.21.4-44, 1.21.4-45, 1.21.4-48
golang (Red Hat package) - addressed in versions 1.17.13-12.el9_0, 1.19.13-25.el9_2, 1.21.13-16.el9_4, 1.25.9-1.el9_6, 1.25.9-1.el10_0, 1.25.9-3.el10_1
delve - update to 1.25.2-1.0.2
golang-tests - update to 1.25.9-1.0.1
golang-src - update to 1.25.9-1.0.1
golang-misc - update to 1.25.9-1.0.1
golang-docs - update to 1.25.9-1.0.1
golang-race - update to 1.25.9-1.0.1
golang-bin - update to 1.25.9-1.0.1
golang - update to 1.25.9-1.0.1
go-toolset - update to 1.25.9-1.0.1
go1.25-openssl-debuginfo - update to 1.25.9-150000.1.21.1
go1.25-openssl-race - update to 1.25.9-150000.1.21.1
go1.25-openssl - update to 1.25.9-150000.1.21.1
go1.25-openssl-doc - update to 1.25.9-150000.1.21.1
go1.25 - update to 1.25.9-150000.1.35.1
go1.25-race - update to 1.25.9-150000.1.35.1
go1.25-doc - update to 1.25.9-150000.1.35.1
go1.26-openssl - update to 1.26.2-150000.1.6.1
go1.26-openssl-race - update to 1.26.2-150000.1.6.1
go1.26-openssl-doc - update to 1.26.2-150000.1.6.1
go1.26-doc - update to 1.26.2-150000.1.9.1
go1.26 - update to 1.26.2-150000.1.9.1
go1.26-race - update to 1.26.2-150000.1.9.1
Red Hat OpenShift Container Platform - update to 4.17.55
golang - addressed in versions 1.15.7-61, 1.17.3-49, 1.21.4-44, 1.21.4-45, 1.21.4-48
golang-devel - addressed in versions 1.15.7-61, 1.17.3-49, 1.21.4-44, 1.21.4-45, 1.21.4-48
golang-help - addressed in versions 1.15.7-61, 1.17.3-49, 1.21.4-44, 1.21.4-45, 1.21.4-48
golang (Red Hat package) - addressed in versions 1.17.13-12.el9_0, 1.19.13-25.el9_2, 1.21.13-16.el9_4, 1.25.9-1.el9_6, 1.25.9-1.el10_0, 1.25.9-3.el10_1
delve - update to 1.25.2-1.0.2
golang-tests - update to 1.25.9-1.0.1
golang-src - update to 1.25.9-1.0.1
golang-misc - update to 1.25.9-1.0.1
golang-docs - update to 1.25.9-1.0.1
golang-race - update to 1.25.9-1.0.1
golang-bin - update to 1.25.9-1.0.1
golang - update to 1.25.9-1.0.1
go-toolset - update to 1.25.9-1.0.1
go1.25-openssl-debuginfo - update to 1.25.9-150000.1.21.1
go1.25-openssl-race - update to 1.25.9-150000.1.21.1
go1.25-openssl - update to 1.25.9-150000.1.21.1
go1.25-openssl-doc - update to 1.25.9-150000.1.21.1
go1.25 - update to 1.25.9-150000.1.35.1
go1.25-race - update to 1.25.9-150000.1.35.1
go1.25-doc - update to 1.25.9-150000.1.35.1
go1.26-openssl - update to 1.26.2-150000.1.6.1
go1.26-openssl-race - update to 1.26.2-150000.1.6.1
go1.26-openssl-doc - update to 1.26.2-150000.1.6.1
go1.26-doc - update to 1.26.2-150000.1.9.1
go1.26 - update to 1.26.2-150000.1.9.1
go1.26-race - update to 1.26.2-150000.1.9.1
Red Hat OpenShift Container Platform - update to 4.17.55
External References
Related Security Bulletins
- Multiple vulnerabilities in Go programming language
- openEuler 22.03 LTS SP4 update for golang
- openEuler 20.03 LTS SP4 update for golang
- openEuler 24.03 LTS SP3 update for golang
- openEuler 24.03 LTS SP1 update for golang
- openEuler 24.03 LTS update for golang
- Red Hat Enterprise Linux 10 update for golang
- Red Hat Enterprise Linux 9 update for golang
- Red Hat Enterprise Linux 10 update for golang
- Red Hat Enterprise Linux 9 update for golang
- Red Hat Enterprise Linux 9 update for golang
- Red Hat Enterprise Linux 9 update for golang
- Multiple vulnerabilities in Red Hat OpenShift Container Platform 4.17
- SUSE update for go1.26
- SUSE update for go1.25
- SUSE update for go1.26-openssl
- SUSE update for go1.25-openssl
- Anolis OS update for go-toolset:an8 module