CVE-2025-22867
unknown
CVSS v3
—
CVSS v2
—
VIR risk
—
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.
Predictions
Exploit likelihood
20%
Patch ETA
—
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2025-22867.html
Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2025-22867
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| debian | trixie | fixed | 0 |
| sles | affected | |
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| Go | toolchain | >=1.24.0-rc.2,<1.24.0-rc.3 | 1.24.0-rc.3 |
References
Verify integrity in audit chain (admin only). AS-IS.