We found results for “”
CVE-2025-61731
Good to know:
Date: January 28, 2026
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.
Severity Score
Related Resources (7)
Severity Score
Top Fix
Upgrade Version
Upgrade to version https://github.com/golang/go.git - go1.26rc2;https://github.com/golang/go.git - go1.25.6;https://github.com/golang/go.git - go1.24.12
CVSS v3.1
| Base Score: |
|
|---|---|
| Attack Vector (AV): | LOCAL |
| Attack Complexity (AC): | LOW |
| Privileges Required (PR): | LOW |
| User Interaction (UI): | NONE |
| Scope (S): | UNCHANGED |
| Confidentiality (C): | HIGH |
| Integrity (I): | HIGH |
| Availability (A): | HIGH |
Vulnerabilities
Projects
Contact Us


