CVE-2024-24787

mediumpriority · track · 10EPSS 0.008 · 55 %ileexploit · PoCDEEUUS
grimoire priorityP1 · Urgent
Exploitable?
Public exploit
1 exploit · PoC
Likely / severe?
0.77% (55th) EPSS
CVSS 6.4 · medium
Is it mine?
26 products
Check your exposure
Who says so?
4 sources
cnnvd · enisa_euvd · osv · cert_bund

EPSS · scored 2026-10-27

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.

01

cvss

Technical severity, 0–10. One row per scoring source.

6.4
010

base score 0–10 · higher = more severe · hover a vector to decode

v3.16.4mediumCVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:Hsecondary · ENISA EU
v3.16.4mediumCVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:Hsecondaryexploitability 0.5 · impact 5.9
v3.16.1mediumCVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H/E:Psecondary · CVSS-BT (t0sche)
02

ssvc

A stakeholder decision — act, attend, or track — from exploitation and impact.

Exploitation: none · Automatable: no · Technical Impact: totalcoordinatorcisa_ssvcUS
03

weaknesses

The CWE weakness classes this flaw belongs to.

CWE-94USLLM-inferred
04

exploits (1)

Public proof-of-concept and weaponised exploit code.

05

affected products (26)

Products and version ranges known to be affected.

showing 20 of 26
06

advisories (4)

Vendor and ecosystem advisories describing this.

  • WID-SEC-W-2024-1071Golang Go: Mehrere SchwachstellenDeutsch2024-05-07csaf · cert_bundDE

    Ein entfernter anonymer Angreifer kann mehrere Schwachstellen in Golang Go ausnutzen, um beliebigen Code auszuführen oder einen 'Denial of Service'-Zustand zu verursachen.

  • BIT-golang-2024-24787Arbitrary code execution during build on Darwin in cmd/go2024-05-14vendor · 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 -lto_library flag in a "#cgo LDFLAGS" directive.

  • CGA-67wh-9fxr-2w4p2024-06-06vendor · osvUS
  • GO-2024-2825Arbitrary code execution during build on Darwin in cmd/go2024-05-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 -lto_library flag in a "#cgo LDFLAGS" directive.

07

also known as (6)

Other names and identifiers for this entity.

08

sources

Which sources assert this record, and when.

published 2024-05-08modified 2026-06-17
09

references (18)

External citations — patches, advisories, analysis.

scry

Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.

Free scan