CVE-2025-22867
Fixed in a distro release EPSS <1%CVSS 7.5
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.
Products: Go toolchain cmd/go
Fixed upstream
| Ecosystem | Package | Fixed in |
|---|---|---|
| Go | toolchain | 1.24.0-rc.3 |
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| SUSE Linux Enterprise Module for Development Tools 15 SP6 | go1.24 | 1.24rc3-150000.1.6.1 |
| SUSE Linux Enterprise Module for Package Hub 15 SP6 | govulncheck-vulndb | 0.0.20250207T224745-150000.1.32.1 |
| openSUSE Leap 15.6 | go1.24 | 1.24rc3-150000.1.6.1 |
| openSUSE Leap 15.6 | govulncheck-vulndb | 0.0.20250207T224745-150000.1.32.1 |
| openSUSE Tumbleweed | go1.24 | 1.24rc3-1.1 |
| openSUSE Tumbleweed | govulncheck-vulndb | 0.0.20250207T224745-1.1 |