Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

CVE-2025-61731 Details

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.

Metrics

CVSS 3.x Severity and Vector Strings:

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.

URLSource(s)Tag(s)
https://access.redhat.com/errata/RHSA-2026:12118 redhat-SADP
https://access.redhat.com/errata/RHSA-2026:12282 redhat-SADP
https://access.redhat.com/errata/RHSA-2026:13736 redhat-SADP
https://access.redhat.com/errata/RHSA-2026:14100 redhat-SADP
https://access.redhat.com/errata/RHSA-2026:14774 redhat-SADP

see all 38 references

Weakness Enumeration

CWE-IDCWE NameSource
NVD-CWE-noinfoInsufficient Information to Classify Weakness[email protected]
CWE-88Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')redhat-SADP

Affected Products

ProductVersions
golang go
< 1.24.12
>= 1.25.0, < 1.25.6

CPE

  • cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*

Remediation

  • No remediation found in references.

Change History

22 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2025-61731
NVD Published Date:
Jan 28, 2026
NVD Last Modified:
Sep 10, 2026
Source:
[email protected]
CVE-2025-61731 Details - Not Deferred