ADVISORIES

Vulnerability

CVE-2025-22867

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.

6 advisories report this vulnerability, across 3 ecosystems.

High severity All openSUSE 4SUSE 3Go 1

Advisories

  • GO-2025-3428

    Arbitrary code execution during build on darwin in cmd/go

    CVE-2025-22867 Go Updated 8 February 2025
  • SUSE-SU-2025:0429-1

    Security update for govulncheck-vulndb

    CVE-2022-47930CVE-2024-10846CVE-2024-11741CVE-2024-13484 SUSEopenSUSE Updated 5 February 2026
  • SUSE-SU-2025:0431-1

    Security update for go1.24

    CVE-2025-22866CVE-2025-22867 SUSEopenSUSE Updated 4 February 2026
  • SUSEVEX-CVE-2025-22867

    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…

    Moderate CVE-2025-22867 SUSE Updated 12 November 2026
  • openSUSE-SU-2025:14735-1

    go1.24-1.24rc3-1.1 on GA media

    CVE-2025-22866CVE-2025-22867 openSUSE Updated 4 February 2026
  • openSUSE-SU-2025:14754-1

    govulncheck-vulndb-0.0.20250207T224745-1.1 on GA media

    CVE-2022-47930CVE-2025-22866CVE-2025-22867CVE-2025-24366 openSUSE Updated 4 February 2026

References