CVE-2025-22867
highpriority · track · 0EPSS 0.006 · 51 %ileDEEUUSEPSS · scored 2026-10-26
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.
remediations
Vendor fix, mitigation, or workaround guidance, as published by each source.
A vendor fix is available.
- Fixedgovulncheck-vulndb-0.0.20250207T224745-150000.1.32.1.noarch as component of SUSE Linux Enterprise Module for Package Hub 15 SP6suse_csaf
To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
- Fixedgovulncheck-vulndb-0.0.20250207T224745-150000.1.32.1.noarch as component of openSUSE Leap 15.6suse_csaf
To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 6.8–7.5
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (16)
Products and version ranges known to be affected.
- Red Hat Enterprise Linux Apache Camel 1all versionscert_bundDEcpe:/o:redhat:enterprise_linux:apache_camel_1
- Red Hat Enterprise Linux Multicluster Engine for Kubernetesall versionscert_bundDEcpe:/o:redhat:enterprise_linux:multicluster_engine_for_kubernetes
advisories (4)
Vendor and ecosystem advisories describing this.
- SUSE-SU-2025:0429-1Security update for govulncheck-vulndb2025-02-11csaf · suse_csafDE
Security update for govulncheck-vulndb
- WID-SEC-W-2025-0283Golang Go: Mehrere SchwachstellenDeutsch2025-02-05csaf · cert_bundDE
Ein lokaler Angreifer kann mehrere Schwachstellen in Golang Go ausnutzen, um Informationen offenzulegen, oder Code auszuführen.
- BIT-golang-2025-228672025-02-08vendor · osvUS
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.
- GO-2025-3428Arbitrary code execution during build on darwin in cmd/go2025-02-06vendor · osvUS
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.
also known as (5)
Other names and identifiers for this entity.
- CNNVD-202502-543cnnvd
- EUVD-2025-3035enisa_euvd
- GHSA-664g-9vm2-r26fenisa_euvd
- BIT-golang-2025-22867osv
- GO-2025-3428osv
sources
Which sources assert this record, and when.
references (12)
External citations — patches, advisories, analysis.
- https://go.dev/cl/646996cnnvd
- https://go.dev/issue/71476cnnvd
- https://groups.google.com/g/golang-dev/c/TYzikTgHK6Ycnnvd
- https://pkg.go.dev/vuln/GO-2025-3428cnnvd
- https://go.dev/cl/646996enisa_euvd
- https://go.dev/issue/71476enisa_euvd
- https://groups.google.com/g/golang-dev/c/TYzikTgHK6Yenisa_euvd
- https://pkg.go.dev/vuln/GO-2025-3428enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan