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.
Metrics
CVSS 3.1 7.5/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:NAffected software
| Vendor | Product | Versions |
|---|---|---|
| Go toolchain | cmd/go | >= 1.24.0-rc.2, < 1.24.0-rc.3 |
References
Timeline
- Published
- Feb 6, 2025
- Last modified
- Jun 17, 2026
- NVD status
- Deferred