CVE-2025-22867 – Apple ld Arbritary Code Execution in Darwin Go Module

The following table lists the changes that have been made to the
CVE-2025-22867 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution
of a vulnerability, and for identifying the most recent changes that may
impact the vulnerability’s severity, exploitability, or other characteristics.

  • New CVE Received
    by [email protected]

    Feb. 06, 2025

    Action Type Old Value New Value
    Added 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.
    Added Reference https://go.dev/cl/646996
    Added Reference https://go.dev/issue/71476
    Added Reference https://groups.google.com/g/golang-dev/c/TYzikTgHK6Y
    Added Reference https://pkg.go.dev/vuln/GO-2025-3428
Share the Post:

Related Posts