{"id":"AZL-78935","summary":"CVE-2025-61731 affecting package golang 1.25.7-1","details":"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 \"--log-file\" argument to this directive, causing pkg-config to write to an attacker-controlled location.","modified":"2026-04-01T05:23:19.113657Z","published":"2026-01-28T20:16:10Z","upstream":["CVE-2025-61731"],"references":[{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-61731"}],"affected":[{"package":{"name":"golang","ecosystem":"Azure Linux:3","purl":"pkg:rpm/azure-linux/golang"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"1.25.7-1"}]}],"database_specific":{"source":"https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-78935.json"}}],"schema_version":"1.7.5"}