6 matches found
CVE-2026-97039
A flaw was found in cmd/go. This vulnerability allows an attacker to achieve arbitrary code execution when a user or automated system compiles an untrusted Go package. Due to insufficient validation of package configuration directives cgo pkg-config:, an attacker can supply crafted directives tha...
CVE-2026-97039
Building a malicious package that uses "cgo pkg-config:" directives could load untrusted pkg-config ".pc" files or inject unvalidated compiler and linker flags. The pkg-config flag allowlist previously permitted "--with-path=" and "--personality=", allowed "--define-variable=" values beginning wi...
Google Go command injection vulnerability
Versions of Google Go prior to 1.26.11 and versions 1.27.0-0 through 1.27.4 contain a command injection vulnerability. This vulnerability arises when “cgo pkg-config:” directives are used to build malicious packages; the pkg-config allow list permits values such as “--with-path=”, “--personality=...
ALPINE-CVE-2025-61731
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...
AZL-98568 CVE-2025-61731 affecting package golang 1.27.1-1
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...
CVE-2025-61731 Arbitrary file write using cgo pkg-config directive in cmd/go
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...