CVE-2025-22867
Last modified
CVE-2025-22867 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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.. EPSS estimates a 0.59% chance of exploitation in the next 30 days.
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/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2025-22867?
How severe is CVE-2025-22867?
How do I fix CVE-2025-22867?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-22861Rejected reason: Not used
- CVE-2025-22862An Authentication Bypass Using an Alternate Path or Channel …6.7
- CVE-2025-22863Rejected reason: Not used
- CVE-2025-22864Rejected reason: Not used
- CVE-2025-22865Using ParsePKCS1PrivateKey to parse a RSA key that is missin…7.5
- CVE-2025-22866Due to the usage of a variable time instruction in the assem…4
- CVE-2025-22868An attacker can pass a malicious malformed token which cause…7.5
- CVE-2025-22869SSH servers which implement file transfer protocols are vuln…7.5
- CVE-2025-2287A local code execution vulnerability exists in the Rockwell …7.8
- CVE-2025-22870Matching of hosts against proxy patterns can improperly trea…4.4
- CVE-2025-22871The net/http package improperly accepts a bare LF as a line …9.1
- CVE-2025-22872The tokenizer incorrectly interprets tags with unquoted attr…6.5
Are you affected by CVE-2025-22867?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
