ADVISORIES

Vulnerability

CVE-2024-24787

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 -lto_library flag in a "#cgo LDFLAGS" directive.

777 advisories report this vulnerability, across 6 ecosystems.

Advisories in Azure Linux

  • AZL-40428

    CVE-2024-24787 affecting package msft-golang for versions less than 1.22.3

    CVE-2024-24787 Azure Linux Updated 21 April 2026
  • AZL-79058

    CVE-2024-24787 affecting package golang 1.26.11-1

    CVE-2024-24787 Azure Linux Updated 24 November 2026
  • AZL-98835

    CVE-2024-24787 affecting package golang 1.27.1-1

    CVE-2024-24787 Azure Linux Updated 16 September 2026

References