Description
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 @executable_path, @loader_path, or @rpath special values in a "#cgo LDFLAGS" directive. This issue only affected go1.24rc2.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Go toolchain | cmd/go | 1.24.0-rc.2 – < 1.24.0-rc.3 | 1.24.0-rc.3 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP6 | go1.24 | 1.24rc3-150000.1.6.1 | SUSE-SU-2025:0431-1 |
| SLES 15 SP6 | govulncheck-vulndb | 0.0.20250207T224745-150000.1.32.1 | SUSE-SU-2025:0429-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | go1.24 | 1.24rc3-1.1 | openSUSE-SU-2025:14735-1 |
| openSUSE Tumbleweed | govulncheck-vulndb | 0.0.20250207T224745-1.1 | openSUSE-SU-2025:14754-1 |
| openSUSE Leap 15.6 | go1.24 | 1.24rc3-150000.1.6.1 | SUSE-SU-2025:0431-1 |
| openSUSE Leap 15.6 | govulncheck-vulndb | 0.0.20250207T224745-150000.1.32.1 | SUSE-SU-2025:0429-1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | toolchain | >= 1.24.0-rc.2, < 1.24.0-rc.3 | 1.24.0-rc.3 | GO-2025-3428 |
Advisories 5
- WID-SEC-2025-0283 Golang Go: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 4, 2026
- SUSE-SU-2025:0429-1 Security update for govulncheck-vulndb SUSE / openSUSE Security Updates · Feb 5, 2026
- openSUSE-SU-2025:14735-1 go1.24-1.24rc3-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2025:14754-1 govulncheck-vulndb-0.0.20250207T224745-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2025:0431-1 Security update for go1.24 SUSE / openSUSE Security Updates · Feb 4, 2026