Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2025-22867

published high CVSS 3.1 · 7.5

Arbitrary code execution during build on darwin in cmd/go

Published
06 Feb 2025, 17:09:56 UTC
Updated
06 Feb 2025, 21:23:25 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Go toolchain — cmd/go1.24.0-rc.2 to < 1.24.0-rc.3 · Other versions: unaffected · Platforms: darwin Affected Not stated Go
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
SUSE / openSUSE SLE-15-SP6 go1.24aarch64 Advisory build 1.24rc3-150000.1.6.1 SUSE-SU-2025:0431-1
SUSE / openSUSE SLE-15-SP6 go1.24ppc64le Advisory build 1.24rc3-150000.1.6.1 SUSE-SU-2025:0431-1
SUSE / openSUSE SLE-15-SP6 go1.24s390x Advisory build 1.24rc3-150000.1.6.1 SUSE-SU-2025:0431-1
SUSE / openSUSE SLE-15-SP6 go1.24x86_64 Advisory build 1.24rc3-150000.1.6.1 SUSE-SU-2025:0431-1
SUSE / openSUSE SLE-15-SP6 go1.24-docaarch64 Advisory build 1.24rc3-150000.1.6.1 SUSE-SU-2025:0431-1
Show 41 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
SUSE / openSUSE SLE-15-SP6 go1.24-docppc64le Advisory build 1.24rc3-150000.1.6.1 SUSE-SU-2025:0431-1
SUSE / openSUSE SLE-15-SP6 go1.24-docs390x Advisory build 1.24rc3-150000.1.6.1 SUSE-SU-2025:0431-1
SUSE / openSUSE SLE-15-SP6 go1.24-docx86_64 Advisory build 1.24rc3-150000.1.6.1 SUSE-SU-2025:0431-1
SUSE / openSUSE SLE-15-SP6 go1.24-raceaarch64 Advisory build 1.24rc3-150000.1.6.1 SUSE-SU-2025:0431-1
SUSE / openSUSE SLE-15-SP6 go1.24-raceppc64le Advisory build 1.24rc3-150000.1.6.1 SUSE-SU-2025:0431-1
SUSE / openSUSE SLE-15-SP6 go1.24-races390x Advisory build 1.24rc3-150000.1.6.1 SUSE-SU-2025:0431-1
SUSE / openSUSE SLE-15-SP6 go1.24-racex86_64 Advisory build 1.24rc3-150000.1.6.1 SUSE-SU-2025:0431-1
SUSE / openSUSE SLE-15-SP6 govulncheck-vulndbnoarch Advisory build 0.0.20250207T224745-150000.1.32.1 SUSE-SU-2025:0429-1
SUSE / openSUSE openSUSE-Leap-15.6 go1.24aarch64 Advisory build 1.24rc3-150000.1.6.1 SUSE-SU-2025:0431-1
SUSE / openSUSE openSUSE-Leap-15.6 go1.24ppc64le Advisory build 1.24rc3-150000.1.6.1 SUSE-SU-2025:0431-1
SUSE / openSUSE openSUSE-Leap-15.6 go1.24s390x Advisory build 1.24rc3-150000.1.6.1 SUSE-SU-2025:0431-1
SUSE / openSUSE openSUSE-Leap-15.6 go1.24x86_64 Advisory build 1.24rc3-150000.1.6.1 SUSE-SU-2025:0431-1
SUSE / openSUSE openSUSE-Leap-15.6 go1.24-docaarch64 Advisory build 1.24rc3-150000.1.6.1 SUSE-SU-2025:0431-1
SUSE / openSUSE openSUSE-Leap-15.6 go1.24-docppc64le Advisory build 1.24rc3-150000.1.6.1 SUSE-SU-2025:0431-1
SUSE / openSUSE openSUSE-Leap-15.6 go1.24-docs390x Advisory build 1.24rc3-150000.1.6.1 SUSE-SU-2025:0431-1
SUSE / openSUSE openSUSE-Leap-15.6 go1.24-docx86_64 Advisory build 1.24rc3-150000.1.6.1 SUSE-SU-2025:0431-1
SUSE / openSUSE openSUSE-Leap-15.6 go1.24-raceaarch64 Advisory build 1.24rc3-150000.1.6.1 SUSE-SU-2025:0431-1
SUSE / openSUSE openSUSE-Leap-15.6 go1.24-raceppc64le Advisory build 1.24rc3-150000.1.6.1 SUSE-SU-2025:0431-1
SUSE / openSUSE openSUSE-Leap-15.6 go1.24-races390x Advisory build 1.24rc3-150000.1.6.1 SUSE-SU-2025:0431-1
SUSE / openSUSE openSUSE-Leap-15.6 go1.24-racex86_64 Advisory build 1.24rc3-150000.1.6.1 SUSE-SU-2025:0431-1
SUSE / openSUSE openSUSE-Leap-15.6 govulncheck-vulndbnoarch Advisory build 0.0.20250207T224745-150000.1.32.1 SUSE-SU-2025:0429-1
SUSE / openSUSE openSUSE-Tumbleweed go1.24aarch64 Advisory build 1.24rc3-1.1 OPENSUSE-SU-2025:14735-1
SUSE / openSUSE openSUSE-Tumbleweed go1.24ppc64le Advisory build 1.24rc3-1.1 OPENSUSE-SU-2025:14735-1
SUSE / openSUSE openSUSE-Tumbleweed go1.24s390x Advisory build 1.24rc3-1.1 OPENSUSE-SU-2025:14735-1
SUSE / openSUSE openSUSE-Tumbleweed go1.24x86_64 Advisory build 1.24rc3-1.1 OPENSUSE-SU-2025:14735-1
SUSE / openSUSE openSUSE-Tumbleweed go1.24-docaarch64 Advisory build 1.24rc3-1.1 OPENSUSE-SU-2025:14735-1
SUSE / openSUSE openSUSE-Tumbleweed go1.24-docppc64le Advisory build 1.24rc3-1.1 OPENSUSE-SU-2025:14735-1
SUSE / openSUSE openSUSE-Tumbleweed go1.24-docs390x Advisory build 1.24rc3-1.1 OPENSUSE-SU-2025:14735-1
SUSE / openSUSE openSUSE-Tumbleweed go1.24-docx86_64 Advisory build 1.24rc3-1.1 OPENSUSE-SU-2025:14735-1
SUSE / openSUSE openSUSE-Tumbleweed go1.24-libstdaarch64 Advisory build 1.24rc3-1.1 OPENSUSE-SU-2025:14735-1
SUSE / openSUSE openSUSE-Tumbleweed go1.24-libstdppc64le Advisory build 1.24rc3-1.1 OPENSUSE-SU-2025:14735-1
SUSE / openSUSE openSUSE-Tumbleweed go1.24-libstds390x Advisory build 1.24rc3-1.1 OPENSUSE-SU-2025:14735-1
SUSE / openSUSE openSUSE-Tumbleweed go1.24-libstdx86_64 Advisory build 1.24rc3-1.1 OPENSUSE-SU-2025:14735-1
SUSE / openSUSE openSUSE-Tumbleweed go1.24-raceaarch64 Advisory build 1.24rc3-1.1 OPENSUSE-SU-2025:14735-1
SUSE / openSUSE openSUSE-Tumbleweed go1.24-raceppc64le Advisory build 1.24rc3-1.1 OPENSUSE-SU-2025:14735-1
SUSE / openSUSE openSUSE-Tumbleweed go1.24-races390x Advisory build 1.24rc3-1.1 OPENSUSE-SU-2025:14735-1
SUSE / openSUSE openSUSE-Tumbleweed go1.24-racex86_64 Advisory build 1.24rc3-1.1 OPENSUSE-SU-2025:14735-1
SUSE / openSUSE openSUSE-Tumbleweed govulncheck-vulndbaarch64 Advisory build 0.0.20250207T224745-1.1 OPENSUSE-SU-2025:14754-1
SUSE / openSUSE openSUSE-Tumbleweed govulncheck-vulndbppc64le Advisory build 0.0.20250207T224745-1.1 OPENSUSE-SU-2025:14754-1
SUSE / openSUSE openSUSE-Tumbleweed govulncheck-vulndbs390x Advisory build 0.0.20250207T224745-1.1 OPENSUSE-SU-2025:14754-1
SUSE / openSUSE openSUSE-Tumbleweed govulncheck-vulndbx86_64 Advisory build 0.0.20250207T224745-1.1 OPENSUSE-SU-2025:14754-1

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.

en · Go · cna

Vendor advisories explicitly linked to this CVE.

6

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.5 / 10
Severity
high
Provider
CISA-ADP · adp
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Go toolchain cmd/go 1.24.0-rc.2 to < 1.24.0-rc.3 (affected · semver)Default: unaffected Go · cna

Weaknesses

1
  • CWE-77 CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection') (Go · cna)

References

4

Provider assertions

2

Go · cna

Arbitrary code execution during build on darwin in cmd/go

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.1
Searchable
yes
Content hash
08858b8e0e0152c4f79b903bc320e22312548cffe758d51386b5f034f115d36d
Ingested
23 Sep 2026, 08:40:21 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected