VulnerabilityCVE-2025-61731WID-SEC-W-2026-0129:CVE-2025-61731WID-SEC-W-2026-1618:CVE-2025-61731WID-SEC-W-2026-1730:CVE-2025-61731
Arbitrary file write using cgo pkg-config directive in cmd/go
Not on CISA KEV
Summary
Building a malicious file with cmd/go can cause can cause a write to an attacker-controlled file with partial control of the file content. The "#cgo pkg-config:" directive in a Go source file provides command-line arguments to provide to the Go pkg-config command. An attacker can provide a
See the full record, free
- Every source, score and reference in one place
- Timeline and related records
- Watch an entry and get an alert when it changes
Sources and credits
- BSI CERT-Bund Source: BSI CERT-Bund
- CISA Vulnrichment Source: CISA Vulnrichment
- CVE List Source: CVE Program (cve.org)