IsItPatchedInstant security status for any software version
← All products

CVE-2023-29405

CRITICAL severity · CVSS 9.8 · Injection
9.8CVSS CRITICAL

Summary

The go command may execute arbitrary code at build time when using cgo. This may occur when running "go get" on a malicious module, or when running any other command which builds untrusted code. This is can by triggered by linker flags, specified via a "#cgo LDFLAGS" directive. Flags containing embedded spaces are mishandled, allowing disallowed flags to be smuggled through the LDFLAGS sanitization by including them in the argument of another flag. This only affects usage of the gccgo compiler.

Impact & exploitability

Attack vectorNetwork
Attack complexityLow
Privileges requiredNone
User interactionNone
Confidentiality impactHigh
Integrity impactHigh
Availability impactHigh
Exploit probability (EPSS)0%

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products we track (1)

Go

Recommendation

Apply the vendor fix promptly. Open any affected product above for its exact safe version.

Official patch: https://go.dev/cl/501224 ↗

Last checked: Wed, 10 Jun 2026 22:18:30 UTC