216.73.217.22

CVE-2025-61731

· Published 28/01/2026 20:16 · Modified 29/01/2026 17:16

Labels: CVE-2025-61731 2026-01-28CVE-2025-61731[email protected]

Essential information

Published
28/01/2026 20:16
Modified
29/01/2026 17:16
Author
Creator
CVSS
7.8 HIGH (v3.1)
CISA KEV
No
CWE
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CVSS metrics

Description

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.

NVD status

Status
Awaiting Analysis — CVE has been recently published to the CVE List and has been received by the NVD.
Source
[email protected]
NVD
View on NVD

Affected products (CPE)

ProductCPE
golang / cmd go cpe:2.3:a:golang:cmd_go:*:*:*:*:*:*:*:*
golang / pkg config cpe:2.3:a:golang:pkg_config:*:*:*:*:*:*:*:*

References