{"cve":"CVE-2025-22867","nvd":{"published":"2025-02-06T18:15:32.543","modified":"2026-06-17T08:50:39.083","status":"Deferred","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5},"cwes":[],"references":["https://go.dev/cl/646996","https://go.dev/issue/71476","https://groups.google.com/g/golang-dev/c/TYzikTgHK6Y","https://pkg.go.dev/vuln/GO-2025-3428"],"products":[],"source":"nvd","synced_at":"2026-10-19T21:59:18.731010617+00:00"},"epss":{"cve":"CVE-2025-22867","score":0.00645,"percentile":0.5092,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GO-2025-3428","url":"https://osv.dev/vulnerability/GO-2025-3428","summary":"Arbitrary code execution during build on darwin in cmd/go","modified":"2025-02-08T08:11:39.466262Z","packages":[{"ecosystem":"Go","name":"toolchain","purl":"pkg:golang/toolchain","ranges":[">=1.24.0-rc.2 <1.24.0-rc.3"],"fixed":["1.24.0-rc.3"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}