Loading advisory.
Loading advisory.
Arbitrary code execution during build on Darwin in cmd/go
On Darwin, building a Go module which contains CGO can trigger arbitrary code execution when using the Apple version of ld, due to usage of the -lto_library flag in a "#cgo LDFLAGS" directive.
Published 2024-05-08 15:17 UTC · Modified 2026-02-04 02:31 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|
| toolchain | Go | < 1.21.10 >= 1.22.0-0, < 1.22.3 | 1.21.10, 1.22.3 | No single command for Go. Update to 1.21.10, 1.22.3 in your build file. |
|---|
Exploit code or a detection template for this CVE is published by the sources below. This is not a report of use against real systems (that is what CISA KEV records) and it does not change the tier.
EPSS went from 0.008 on 2026-11-24 to 0.005 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.008 | first score | v2026.06.15 |
| 2026-11-26 | 0.005 | 0.008 | v2026.06.15 |