Public mode

No access to your tenant or devices. Every item links to its source. What this means

Sources need attention Customize Public modeDiscuss ChangeIntel on Discord

Arbitrary file write using cgo pkg-config directive in cmd/go

cve-program · severity unknownEUVD CVSS 3.1 8.6 CVSS 3.1 · 134c704f-9b21-4f2e-91b3-4a467353bcc0 · Secondary 7.8 HIGHCVSS 3.1 · 0b0ca135-0b70-47e7-9f44-1890c2a1c46c · Secondary 8.6 HIGHosv · severity unknownFixed by toolchain 1.24.12Fixed by toolchain 1.25.6KEV status unknown

cve-program · CVE-2025-61731

Published

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.

Read the publisher's advisory

euvd · EUVD-2025-206447

Published

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.

Read the publisher's advisory

nvd · CVE-2025-61731

Published

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.

Read the publisher's advisory

osv · GO-2026-4339

Published

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.

Read the publisher's advisory

Affected versions, risk and source history

Exploitation and risk

Source status

CISA KEV lists vulnerabilities known to be exploited. FIRST EPSS estimates the likelihood of exploitation in the next 30 days. An unavailable score does not mean zero risk.

Which CVEs have scores here?

This view includes predictions for CVE identifiers explicitly listed in public NuGet advisories. Microsoft release pages have their own prediction coverage. Check source status for the scope and latest checks.

No exploitation or prediction data is available here for these CVEs. This does not mean they are safe or unlikely to be exploited.

cve-program · CVE-2025-61731

Published

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 "--log-file" argument to this directive, causing pkg-config to write to an attacker-controlled location.

Source published
28 Jan 2026 19:30:30 UTC
Source modified
10 Sep 2026 12:04:55 UTC
Saved here
23 Oct 2026 15:48:27 UTC
Source terms
CVE Program Terms of Use

Original source record · Cite this exact observation · Complete original publisher JSON

Source: cve-program · CVE Program Terms of Use. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.

euvd · EUVD-2025-206447

Published

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 th…

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.

Additional publisher context

EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON.

Original publisher date fields

datePublished: Jan 28, 2026, 7:30:30 PM

dateUpdated: Sep 10, 2026, 12:04:55 PM

52 related source bulletins · separate from aliases

RHSA-2026:14774: Red Hat Security Advisory: OpenShift Container Platform 4.15.64 bug fix and security update

CVE-2025-13465 · CVE-2025-61726 · CVE-2025-61728 · CVE-2025-61731 · CVE-2025-61732 · CVE-2025-65637 · CVE-2025-69873 · CVE-2026-25679 · CVE-2026-40175

RHSA-2026:5941: Red Hat Security Advisory: golang security update

CVE-2025-61731 · CVE-2026-25679

SUSE-SU-2026:20132-1: Security update for go1.25

CVE-2025-61726 · CVE-2025-61728 · CVE-2025-61730 · CVE-2025-61731 · CVE-2025-68119 · CVE-2025-68121

RHSA-2026:5133: Red Hat Security Advisory: OpenShift Container Platform 4.18.36 bug fix and security update

CVE-2025-65637 · CVE-2026-22797

WID-SEC-W-2026-0129: Golang Go: Mehrere Schwachstellen

CVE-2025-61726 · CVE-2025-61728 · CVE-2025-61730 · CVE-2025-61731 · CVE-2025-68119 · CVE-2025-68121

RHSA-2026:7385: Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update

CVE-2025-22873 · CVE-2025-47910 · CVE-2025-47911 · CVE-2025-47912 · CVE-2025-47914 · CVE-2025-58181 · CVE-2025-58183 · CVE-2025-58185 · CVE-2025-58186 · CVE-2025-58187 · CVE-2025-58188 · CVE-2025-58189 · CVE-2025-58190 · CVE-2025-61723 · CVE-2025-61724 · CVE-2025-61725 · CVE-2025-61726 · CVE-2025-61727 · CVE-2025-61728 · CVE-2025-61729 · CVE-2025-61730 · CVE-2025-61731 · CVE-2025-61732 · CVE-2025-68119 · CVE-2025-68121 · CVE-2026-25679 · CVE-2026-27139 · CVE-2026-27141 · CVE-2026-27143 · CVE-2026-27144 · CVE-2026-32281 · CVE-2026-32282 · CVE-2026-32283 · CVE-2026-32288 · CVE-2026-32289 · CVE-2026-33809 · CVE-2026-33813 · CVE-2026-42503

RHSA-2026:7291: Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update

CVE-2025-22873 · CVE-2025-47910 · CVE-2025-47911 · CVE-2025-47912 · CVE-2025-47914 · CVE-2025-58181 · CVE-2025-58183 · CVE-2025-58185 · CVE-2025-58186 · CVE-2025-58187 · CVE-2025-58188 · CVE-2025-58189 · CVE-2025-58190 · CVE-2025-61723 · CVE-2025-61724 · CVE-2025-61725 · CVE-2025-61726 · CVE-2025-61727 · CVE-2025-61728 · CVE-2025-61729 · CVE-2025-61730 · CVE-2025-61731 · CVE-2025-61732 · CVE-2025-68119 · CVE-2025-68121 · CVE-2026-25679 · CVE-2026-27137 · CVE-2026-27138 · CVE-2026-27139 · CVE-2026-27141 · CVE-2026-27142 · CVE-2026-27143 · CVE-2026-27144 · CVE-2026-32281 · CVE-2026-32282 · CVE-2026-32283 · CVE-2026-32288 · CVE-2026-32289 · CVE-2026-33809 · CVE-2026-33810

SUSE-SU-2026:20122-1: Security update for go1.24

CVE-2025-61726 · CVE-2025-61728 · CVE-2025-61730 · CVE-2025-61731 · CVE-2025-68119 · CVE-2025-68121

RHSA-2026:21691: Red Hat Security Advisory: OpenShift Container Platform 4.13.67 bug fix and security update

CVE-2025-61726 · CVE-2025-61728 · CVE-2025-61731 · CVE-2025-61732 · CVE-2025-68121 · CVE-2026-25679 · CVE-2026-33186

RHSA-2026:5948: Red Hat Security Advisory: Red Hat OpenShift Service Mesh 3.0.9

CVE-2025-61726 · CVE-2025-61728 · CVE-2025-61731 · CVE-2025-61732 · CVE-2025-68121 · CVE-2026-31837

RHSA-2026:4434: Red Hat Security Advisory: OpenShift Container Platform 4.19.26 bug fix and security update

CVE-2025-47907 · CVE-2025-58183 · CVE-2025-61726 · CVE-2025-61728 · CVE-2025-61729 · CVE-2025-61731 · CVE-2025-61732 · CVE-2025-65637 · CVE-2026-22797

RHSA-2026:7878: Red Hat Security Advisory: go-toolset:rhel8 security update

CVE-2025-61731 · CVE-2026-25679

openSUSE-SU-2026:20619-1: Security update for coredns

CVE-2025-61726 · CVE-2025-61728 · CVE-2025-61731 · CVE-2025-68119 · CVE-2025-68121 · CVE-2026-26017 · CVE-2026-26018

SUSE-SU-2026:20629-1: Security update for go1.24-openssl

CVE-2025-47912 · CVE-2025-58183 · CVE-2025-58185 · CVE-2025-58186 · CVE-2025-58187 · CVE-2025-58188 · CVE-2025-58189 · CVE-2025-61723 · CVE-2025-61724 · CVE-2025-61725 · CVE-2025-61726 · CVE-2025-61727 · CVE-2025-61728 · CVE-2025-61729 · CVE-2025-61730 · CVE-2025-61731 · CVE-2025-61732 · CVE-2025-68119 · CVE-2025-68121

openSUSE-SU-2026:20085-1: Security update for go1.25

CVE-2025-61726 · CVE-2025-61728 · CVE-2025-61730 · CVE-2025-61731 · CVE-2025-68119 · CVE-2025-68121

RHSA-2026:5907: Red Hat Security Advisory: OpenShift Container Platform 4.17.52 bug fix and security update

CVE-2025-65637 · CVE-2025-69873 · CVE-2026-22797

msrc_CVE-2025-61731: Arbitrary file write using cgo pkg-config directive in cmd/go

CVE-2025-61731

openSUSE-SU-2026:10064-1: go1.25-1.25.6-1.1 on GA media

CVE-2025-61726 · CVE-2025-61728 · CVE-2025-61730 · CVE-2025-61731 · CVE-2025-68119 · CVE-2025-68121

RHSA-2026:7876: Red Hat Security Advisory: go-toolset:rhel8 security update

CVE-2025-61731 · CVE-2026-25679

RHSA-2026:7879: Red Hat Security Advisory: go-toolset:rhel8 security update

CVE-2025-61731 · CVE-2026-25679

openSUSE-SU-2026:20077-1: Security update for go1.24

CVE-2025-61726 · CVE-2025-61728 · CVE-2025-61730 · CVE-2025-61731 · CVE-2025-68119 · CVE-2025-68121

RHSA-2026:5944: Red Hat Security Advisory: golang security update

CVE-2025-61731 · CVE-2026-25679

RHSA-2026:8448: Red Hat Security Advisory: OpenShift Container Platform 4.18.38 bug fix and security update

CVE-2025-61728 · CVE-2025-61731 · CVE-2025-61732 · CVE-2025-68121

SUSE-SU-2026:0297-1: Security update for go1.25-openssl

CVE-2025-4674 · CVE-2025-47906 · CVE-2025-47907 · CVE-2025-47910 · CVE-2025-47912 · CVE-2025-58183 · CVE-2025-58185 · CVE-2025-58186 · CVE-2025-58187 · CVE-2025-58188 · CVE-2025-58189 · CVE-2025-61723 · CVE-2025-61724 · CVE-2025-61725 · CVE-2025-61726 · CVE-2025-61727 · CVE-2025-61728 · CVE-2025-61729 · CVE-2025-61730 · CVE-2025-61731 · CVE-2025-68119 · CVE-2025-68121

RHSA-2026:5950: Red Hat Security Advisory: Red Hat OpenShift Service Mesh 3.1.6

CVE-2025-61726 · CVE-2025-61728 · CVE-2025-61731 · CVE-2025-61732 · CVE-2025-68121 · CVE-2026-31837

RHSA-2026:17598: Red Hat Security Advisory: OpenShift Container Platform 4.17.54 bug fix and security update

CVE-2025-61726 · CVE-2025-61728 · CVE-2025-61731 · CVE-2025-61732 · CVE-2025-65637 · CVE-2025-68121 · CVE-2026-4800 · CVE-2026-25679 · CVE-2026-29063 · CVE-2026-33186 · CVE-2026-34986 · CVE-2026-35469

RHSA-2026:14100: Red Hat Security Advisory: OpenShift Container Platform 4.12.89 bug fix and security update

CVE-2025-61726 · CVE-2025-61728 · CVE-2025-61731 · CVE-2025-61732 · CVE-2025-68121 · CVE-2026-25679

RHSA-2026:7877: Red Hat Security Advisory: go-toolset:rhel8 security update

CVE-2025-61731 · CVE-2026-25679

RHSA-2026:3559: Red Hat Security Advisory: Red Hat OpenShift Service Mesh 2.6.14

CVE-2025-61726 · CVE-2025-61728 · CVE-2025-61731 · CVE-2025-61732 · CVE-2025-68121

SUSE-SU-2026:0308-1: Security update for go1.24-openssl

CVE-2025-47912 · CVE-2025-58183 · CVE-2025-58185 · CVE-2025-58186 · CVE-2025-58187 · CVE-2025-58188 · CVE-2025-58189 · CVE-2025-61723 · CVE-2025-61724 · CVE-2025-61725 · CVE-2025-61726 · CVE-2025-61727 · CVE-2025-61728 · CVE-2025-61729 · CVE-2025-61730 · CVE-2025-61731 · CVE-2025-68119 · CVE-2025-68121

SUSE-SU-2026:0298-1: Security update for go1.25-openssl

CVE-2025-4674 · CVE-2025-47906 · CVE-2025-47907 · CVE-2025-47910 · CVE-2025-47912 · CVE-2025-58183 · CVE-2025-58185 · CVE-2025-58186 · CVE-2025-58187 · CVE-2025-58188 · CVE-2025-58189 · CVE-2025-61723 · CVE-2025-61724 · CVE-2025-61725 · CVE-2025-61726 · CVE-2025-61727 · CVE-2025-61728 · CVE-2025-61729 · CVE-2025-61730 · CVE-2025-61731 · CVE-2025-68119 · CVE-2025-68121

RHSA-2026:15091: Red Hat Security Advisory: OpenShift Container Platform 4.14.65 bug fix and security update

CVE-2025-13465 · CVE-2025-61726 · CVE-2025-61728 · CVE-2025-61731 · CVE-2025-61732 · CVE-2025-69873 · CVE-2026-25679 · CVE-2026-40175

RHSA-2026:12282: Red Hat Security Advisory: OpenShift Container Platform 4.12.88 bug fix and security update

CVE-2025-22871 · CVE-2025-61726 · CVE-2025-61728 · CVE-2025-61731 · CVE-2025-61732 · CVE-2025-65637 · CVE-2025-68121 · CVE-2026-25679

RHSA-2026:5952: Red Hat Security Advisory: Red Hat OpenShift Service Mesh 3.2.3

CVE-2025-61726 · CVE-2025-61728 · CVE-2025-61731 · CVE-2025-61732 · CVE-2025-68121 · CVE-2026-31837

RHSA-2026:20088: Red Hat Security Advisory: OpenShift Container Platform 4.16.63 bug fix and security update

CVE-2025-13465 · CVE-2025-61731 · CVE-2026-25679 · CVE-2026-29063 · CVE-2026-33186

openSUSE-SU-2026:20301-1: Security update for go1.25-openssl

CVE-2025-47912 · CVE-2025-58183 · CVE-2025-58185 · CVE-2025-58186 · CVE-2025-58187 · CVE-2025-58188 · CVE-2025-58189 · CVE-2025-61723 · CVE-2025-61724 · CVE-2025-61725 · CVE-2025-61726 · CVE-2025-61727 · CVE-2025-61728 · CVE-2025-61729 · CVE-2025-61730 · CVE-2025-61731 · CVE-2025-68119 · CVE-2025-68121

RHSA-2026:3556: Red Hat Security Advisory: Red Hat OpenShift Service Mesh 2.6.14

CVE-2025-61726 · CVE-2025-61728 · CVE-2025-61731 · CVE-2025-61732 · CVE-2025-68121

SUSE-SU-2026:0218-1: Security update for go1.25

CVE-2025-61726 · CVE-2025-61728 · CVE-2025-61730 · CVE-2025-61731 · CVE-2025-68119 · CVE-2025-68121

RHSA-2026:13736: Red Hat Security Advisory: OpenShift Container Platform 4.18.40 bug fix and security update

CVE-2025-61731

RHSA-2026:12118: Red Hat Security Advisory: OpenShift Container Platform 4.18.39 bug fix and security update

CVE-2025-61731 · CVE-2026-29063 · CVE-2026-33186 · CVE-2026-35469

SUSE-SU-2026:0296-1: Security update for go1.24-openssl

CVE-2025-47912 · CVE-2025-58183 · CVE-2025-58185 · CVE-2025-58186 · CVE-2025-58187 · CVE-2025-58188 · CVE-2025-58189 · CVE-2025-61723 · CVE-2025-61724 · CVE-2025-61725 · CVE-2025-61726 · CVE-2025-61727 · CVE-2025-61728 · CVE-2025-61729 · CVE-2025-61730 · CVE-2025-61731 · CVE-2025-68119 · CVE-2025-68121

SUSE-SU-2026:20623-1: Security update for go1.25-openssl

CVE-2025-47912 · CVE-2025-58183 · CVE-2025-58185 · CVE-2025-58186 · CVE-2025-58187 · CVE-2025-58188 · CVE-2025-58189 · CVE-2025-61723 · CVE-2025-61724 · CVE-2025-61725 · CVE-2025-61726 · CVE-2025-61727 · CVE-2025-61728 · CVE-2025-61729 · CVE-2025-61730 · CVE-2025-61731 · CVE-2025-68119 · CVE-2025-68121

RHSA-2026:5943: Red Hat Security Advisory: golang security update

CVE-2025-61731 · CVE-2026-25679

openSUSE-SU-2026:20308-1: Security update for go1.24-openssl

CVE-2025-47912 · CVE-2025-58183 · CVE-2025-58185 · CVE-2025-58186 · CVE-2025-58187 · CVE-2025-58188 · CVE-2025-58189 · CVE-2025-61723 · CVE-2025-61724 · CVE-2025-61725 · CVE-2025-61726 · CVE-2025-61727 · CVE-2025-61728 · CVE-2025-61729 · CVE-2025-61730 · CVE-2025-61731 · CVE-2025-61732 · CVE-2025-68119 · CVE-2025-68121

RHSA-2026:7883: Red Hat Security Advisory: golang security update

CVE-2025-61731 · CVE-2026-25679

RHSA-2026:7833: Red Hat Security Advisory: golang security update

CVE-2025-61731 · CVE-2026-25679

SUSE-SU-2026:0219-1: Security update for go1.24

CVE-2025-61726 · CVE-2025-61728 · CVE-2025-61730 · CVE-2025-61731 · CVE-2025-68119 · CVE-2025-68121

RHSA-2026:7834: Red Hat Security Advisory: golang security update

CVE-2025-61731 · CVE-2026-25679

RHSA-2026:5942: Red Hat Security Advisory: golang security update

CVE-2025-61731 · CVE-2026-25679

RHSA-2026:3855: Red Hat Security Advisory: OpenShift Container Platform 4.20.16 bug fix and security update

CVE-2025-61726 · CVE-2025-61728 · CVE-2025-61731 · CVE-2025-61732 · CVE-2025-65637 · CVE-2025-68121 · CVE-2026-22797

RHSA-2026:6949: Red Hat Security Advisory: go-toolset:rhel8 security update

CVE-2025-61731 · CVE-2026-25679

openSUSE-SU-2026:10063-1: go1.24-1.24.12-1.1 on GA media

CVE-2025-61726 · CVE-2025-61728 · CVE-2025-61730 · CVE-2025-61731 · CVE-2025-68119 · CVE-2025-68121

Source published
Jan 28, 2026, 7:30:30 PM (timezone not stated)
Source modified
Sep 10, 2026, 12:04:55 PM (timezone not stated)
Saved here
13 Nov 2026 05:20:48 UTC
Source terms
ENISA EUVD · source terms and attribution apply

Original source record · Cite this exact observation · Complete original publisher JSON

Source: euvd · ENISA EUVD · source terms and attribution apply. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.

EUVD CVSS 3.1 · 8.6 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

nvd · CVE-2025-61731

Published

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 th…

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.

Additional publisher context

NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.

Source analysis status: Modified

Weakness classifications: NVD-CWE-noinfo · CWE-88

Original publisher date fields

published: 2026-01-28T20:16:10.073

lastModified: 2026-09-10T13:17:10.037

1 source CPE criteria · context only
  • cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*

The original JSON retains the logical configuration operators, exclusions and version bounds.

Source published
28 Jan 2026 20:16:10 UTC
Source modified
10 Sep 2026 13:17:10 UTC
Saved here
25 Oct 2026 03:17:27 UTC
Source terms
NIST NVD usage terms; underlying source attribution retained

Original source record · Cite this exact observation · Complete original publisher JSON

Source: nvd · NIST NVD usage terms; underlying source attribution retained. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.

CVSS 3.1 · 134c704f-9b21-4f2e-91b3-4a467353bcc0 · Secondary · 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CVSS 3.1 · 0b0ca135-0b70-47e7-9f44-1890c2a1c46c · Secondary · 8.6 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

osv · GO-2026-4339

Published

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 "--log-file" argument to this directive, causing pkg-config to write to an attacker-controlled location.

Source published
28 Jan 2026 19:07:59 UTC
Source modified
5 Aug 2026 10:56:57 UTC
Saved here
24 Oct 2026 13:19:41 UTC
Source terms
OSV · upstream source license applies

Original source record · Cite this exact observation · Complete original publisher JSON

Source: osv · OSV · upstream source license applies. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.

ChangeIntel

An IT change radar: releases, security, known issues, retirements, documentation changes, and service status from public sources. Every item links to supporting evidence; dates and statuses can change after they are read.

Sources read 15 Nov 04:55 UTC · 250 of 275 readable · 246 fully read · documentation 468/469 current