CVE-2025-22867

unknown
Published 2025-02-06 · Modified 2025-02-08
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 Authored 2026-05-27

Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2025-22867.html

vendor Authored 2026-05-27

Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2025-22867

OS impact

OSVersionStatusFixed in
debian debiantrixiefixed0
suse slesaffected

Package impact

EcosystemPackageVulnerableFixed
golang Gotoolchain>=1.24.0-rc.2,<1.24.0-rc.31.24.0-rc.3

References

Verify integrity in audit chain (admin only). AS-IS.