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.
CVE-2025-61731
“—” beside the score: it is equal to the CVSS score beside it.
Score 7.8 from GitHub Security Advisory (severity: HIGH) published 2026-01-28. CISA-ADP (Vulnrichment) CVSS v3.1 baseline 7.8; sources differ by 0.0.
- High severity, but no confirmed exploitation yet
A fix is available — apply it.
- CVSS v3
- 7.8
- EG Score
- 7.8HIGHmedium confidence
- EG Risk
- 35EG Risk 35/100
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computed (value × EchelonGraph’s weight)Severity78% × 45%The EG Score, 7.8 of 10.Exploitation0.6% × 40%FIRST EPSS: the 30-day exploitation probability when EchelonGraph scored this CVE.Automatability0% × 15%CISA's SSVC Automatable value: no (Vulnrichment).SSVC (CISA's decision table, applied by EchelonGraph): Track at low or medium mission impact; Track* at high (mission-essential systems).Exploitation none (CISA Vulnrichment) · Automatable no (CISA Vulnrichment) · Technical impact total (CISA Vulnrichment). All three are CISA's SSVC values (Vulnrichment). EchelonGraph applied CISA's decision table to them; CISA publishes SSVC inputs and the table, not a decision for each CVE.Action: A fix is available. Apply it within your standard update timelines. - EPSS PROB
- 0.6%
- EPSS %ILE
- 48th
- KEV
- Not listed
SSVC (CISA's decision table, applied by EchelonGraph)Track at low or medium mission impact; Track* at high (mission-essential systems).
A fix is available. Apply it within your standard update timelines.
Exploitation none (CISA Vulnrichment) · Automatable no (CISA Vulnrichment) · Technical impact total (CISA Vulnrichment). All three are CISA's SSVC values (Vulnrichment). EchelonGraph applied CISA's decision table to them; CISA publishes SSVC inputs and the table, not a decision for each CVE. Mission impact is CISA's Mission & Well-being decision point, and only you can judge it. CISA's table makes it high when Mission Prevalence is Essential — the vulnerable component "directly provides capabilities that constitute at least one MEF for at least one entity" (MEF: mission essential function) — or when Public Well-Being Impact is Irreversible: "multiple fatalities are likely", the cyber-physical system "is likely lost or destroyed", "extreme or serious externalities" are imposed on other parties, or social systems such as elections or the financial grid "are destabilized and potentially collapse". CISA's decision table
BOD 26-04 (CISA's remediation timeline, Table 1)14 days if the affected system is publicly exposed; Fix on system upgrade if it is not.
In CISA KEV no (CISA's KEV catalog) · Automatable no (CISA Vulnrichment) · Technical impact total (CISA Vulnrichment). Whether your system is publicly exposed is yours to answer. BOD 26-04 binds US Federal Civilian Executive Branch agencies; for anyone else it is CISA's published timeline, a reference rather than an obligation. The directive · how EchelonGraph applies it
Published
January 28, 2026
Last Modified
September 10, 2026
Advisory Details (10)
Auto-updated Jul 1, 2026cmd/go: bypass of flag sanitization can lead to arbitrary code execution (CVE-2025-61731) · Issue #77100 · golang/go · GitHub
https://go.dev/issue/77100Vendor Advisories for CVE-2025-61731(20)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
- CVE-2025-61731Microsoft Security Response Center (MSRC)High
Arbitrary file write using cgo pkg-config directive in cmd/go
- RHSA-2026:21691Red Hat Product SecurityHigh
Red Hat Security Advisory: OpenShift Container Platform 4.13.67 bug fix and security update
- RHSA-2026:20088Red Hat Product SecurityHigh
Red Hat Security Advisory: OpenShift Container Platform 4.16.63 bug fix and security update
- RHSA-2026:17598Red Hat Product SecurityHigh
Red Hat Security Advisory: OpenShift Container Platform 4.17.54 bug fix and security update
- RHSA-2026:14774Red Hat Product SecurityHigh
Red Hat Security Advisory: OpenShift Container Platform 4.15.64 bug fix and security update
- RHSA-2026:15091Red Hat Product SecurityHigh
Red Hat Security Advisory: OpenShift Container Platform 4.14.65 bug fix and security update
- RHSA-2026:14100Red Hat Product SecurityHigh
Red Hat Security Advisory: OpenShift Container Platform 4.12.89 bug fix and security update
- RHSA-2026:13736Red Hat Product SecurityHigh
Red Hat Security Advisory: OpenShift Container Platform 4.18.40 bug fix and security update
- +12 more
Patch Availability(30)
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(5 across 5 ecosystems)
Debian:11(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| golang-1.15 | 1.15.15-1 ... 1.15.9-6 (10 versions) |
| — |
Debian:12(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| golang-1.19 | 1.19.10-1 ... 1.19.9-1 (12 versions) |
| — |
Debian:13(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| golang-1.24 | 1.24.12-1 ... 1.24.9-1 (10 versions) |
| — |
Debian:14(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| golang-1.25 | 1.25.0-1, 1.25.0-2, 1.25.1-1, 1.25.2-1, 1.25.3-1 |
| — |
Go(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| toolchain | — |
| — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Additional Vendor Advisories
(14)
Vendors that published advisories for this CVE beyond the curated set above. Broader coverage but minimal per-row detail — click through for the original advisory.
- Red HatRHSA-2026:3556IMPORTANT2026-01-28
RHSA-2026:3556 — Important
- Red HatRHSA-2026:3559IMPORTANT2026-01-28
RHSA-2026:3559 — Important
- Red HatRHSA-2026:3855IMPORTANT2026-01-28
RHSA-2026:3855 — Important
- Red HatRHSA-2026:4434IMPORTANT2026-01-28
RHSA-2026:4434 — Important
- Red HatRHSA-2026:5133IMPORTANT2026-01-28
RHSA-2026:5133 — Important
- Red HatRHSA-2026:5907IMPORTANT2026-01-28
RHSA-2026:5907 — Important
- Red HatRHSA-2026:5941IMPORTANT2026-01-28
RHSA-2026:5941 — Important
- Red HatRHSA-2026:5942IMPORTANT2026-01-28
RHSA-2026:5942 — Important
- Red HatRHSA-2026:5943IMPORTANT2026-01-28
RHSA-2026:5943 — Important
- Red HatRHSA-2026:5944IMPORTANT2026-01-28
RHSA-2026:5944 — Important
- Red HatRHSA-2026:5948IMPORTANT2026-01-28
RHSA-2026:5948 — Important
- Red HatRHSA-2026:5950IMPORTANT2026-01-28
RHSA-2026:5950 — Important
- Red HatRHSA-2026:5952IMPORTANT2026-01-28
RHSA-2026:5952 — Important
- Red HatRHSA-2026:6949IMPORTANT2026-01-28
RHSA-2026:6949 — Important
Data Freshness Timeline
(refreshed 11× in last 7d / 30× in last 30d)
Each row is a time one of our pipelines fetched, updated or re-scored this CVE. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. An arrow marks a change the record states ("CVSS v3 → 9.1"); EPSS and GHSA rows show the values recorded at that time, not what changed (EPSS values are rounded; hover one for the exact figures). Most recent first.
Showing the most recent 97 of 263 refreshes on record for this CVE.
A repeat, a row identical to one the same pipeline wrote less than 10 seconds earlier, is not a separate refresh and is not counted. 3 repeat rows among the latest 100 are merged into the row they repeat. The 166 oldest rows on record are not shown and were not checked, so the counts can still include repeats.
- 2026-10-15 16:31 UTCEPSS rescoreEPSS 0.6% · 48th percentile
- 2026-10-14 16:31 UTCEPSS rescoreEPSS 0.6% · 48th percentile
- 2026-10-13 16:33 UTCEPSS rescoreEPSS 0.6% · 48th percentile
- 2026-10-12 16:52 UTCEG score recompute
- 2026-10-12 16:33 UTCEPSS rescoreEPSS 0.6% · 48th percentile
- 2026-10-11 20:26 UTCEG score recompute
- 2026-10-11 18:38 UTCEG score recompute
- 2026-10-11 15:13 UTCEG score recompute
- 2026-10-11 13:47 UTCEPSS rescoreEPSS 0.6% · 48th percentile
- 2026-10-10 19:59 UTCEPSS rescoreEPSS 0.6% · 48th percentile
- 2026-10-09 20:06 UTCEPSS rescoreEPSS 0.6% · 48th percentile
- 2026-10-08 17:10 UTCEPSS rescoreEPSS 0.6% · 48th percentile
- 2026-10-07 23:47 UTCEPSS rescoreEPSS 0.6% · 48th percentile
- 2026-10-06 15:17 UTCEPSS rescoreEPSS 0.6% · 47th percentile
- 2026-10-05 17:42 UTCEPSS rescoreEPSS 0.6% · 47th percentile
- 2026-10-04 23:21 UTCEPSS rescoreEPSS 0.6% · 47th percentile
- 2026-10-03 14:25 UTCEPSS rescoreEPSS 0.6% · 47th percentile
- 2026-10-01 19:49 UTCEPSS rescoreEPSS 0.6% · 47th percentile
- 2026-09-30 15:02 UTCEPSS rescoreEPSS 0.6% · 47th percentile
- 2026-09-29 19:33 UTCOSV refresh
- 2026-09-29 15:20 UTCEPSS rescoreEPSS 0.6% · 47th percentile
- 2026-09-28 13:50 UTCEPSS rescoreEPSS 0.6% · 47th percentile
- 2026-09-26 15:58 UTCEPSS rescoreEPSS 0.6% · 47th percentile
- 2026-09-24 14:02 UTCEPSS rescoreEPSS 0.6% · 44th percentile
- 2026-09-23 13:47 UTCEPSS rescoreEPSS 0.6% · 45th percentile
Show 72 moreShow fewer
- 2026-09-20 20:15 UTCEPSS rescoreEPSS 0.6% · 45th percentile
- 2026-09-19 15:42 UTCEPSS rescoreEPSS 0.6% · 45th percentile
- 2026-09-18 19:27 UTCEPSS rescoreEPSS 0.6% · 45th percentile
- 2026-09-17 19:30 UTCEPSS rescoreEPSS 0.6% · 45th percentile
- 2026-09-16 14:07 UTCEPSS rescoreEPSS 0.6% · 45th percentile
- 2026-09-15 03:10 UTCEPSS rescoreEPSS 0.6% · 44th percentile
- 2026-09-13 16:46 UTCEPSS rescoreEPSS 0.6% · 44th percentile
- 2026-09-12 15:00 UTCEPSS rescoreEPSS 0.6% · 44th percentile
- 2026-09-11 14:52 UTCEPSS rescoreEPSS 0.6% · 44th percentile
- 2026-09-11 09:36 UTCEPSS rescoreEPSS 0.6% · 44th percentile
- 2026-09-10 13:23 UTCVendor advisory
- 2026-09-10 13:23 UTCGHSA enrichmentGHSA-xvqr-69v8-f3gv · GitHub severity HIGH · GitHub CVSS 7.8
- 2026-09-10 12:28 UTCEG score recompute
- 2026-09-10 12:28 UTCVendor advisory
- 2026-09-10 12:28 UTCGHSA enrichmentGHSA-xvqr-69v8-f3gv · GitHub severity HIGH · GitHub CVSS 7.8
- 2026-09-10 09:34 UTCEPSS rescoreEPSS 0.6% · 44th percentile
- 2026-09-09 12:41 UTCEG score recompute
- 2026-09-09 12:41 UTCVendor advisory
- 2026-09-09 12:41 UTCGHSA enrichmentGHSA-xvqr-69v8-f3gv · GitHub severity HIGH · GitHub CVSS 7.8
- 2026-09-08 22:00 UTCEPSS rescoreEPSS 0.6% · 44th percentile
- 2026-09-07 16:00 UTCEPSS rescoreEPSS 0.6% · 44th percentile
- 2026-09-07 14:05 UTCEG score recompute
- 2026-09-07 14:05 UTCVendor advisory
- 2026-09-07 14:04 UTCGHSA enrichmentGHSA-xvqr-69v8-f3gv · GitHub severity HIGH · GitHub CVSS 7.8
- 2026-09-06 13:47 UTCEPSS rescoreEPSS 0.6% · 44th percentile
- 2026-09-04 05:06 UTCEPSS rescoreEPSS 0.6% · 44th percentile
- 2026-09-02 14:11 UTCEPSS rescoreEPSS 0.6% · 44th percentile
- 2026-09-01 13:53 UTCEPSS rescoreEPSS 0.6% · 43rd percentile
- 2026-08-30 19:16 UTCEPSS rescoreEPSS 0.6% · 43rd percentile
- 2026-08-30 01:21 UTCEPSS rescoreEPSS 0.6% · 43rd percentile
- 2026-08-28 21:40 UTCEPSS rescoreEPSS 0.6% · 43rd percentile
- 2026-08-27 14:24 UTCEPSS rescoreEPSS 0.6% · 43rd percentile
- 2026-08-26 16:12 UTCEG score recompute
- 2026-08-26 16:12 UTCVendor advisory
- 2026-08-26 16:12 UTCGHSA enrichmentGHSA-xvqr-69v8-f3gv · GitHub severity HIGH · GitHub CVSS 7.8
- 2026-08-26 14:45 UTCEPSS rescoreEPSS 0.5% · 42nd percentile
- 2026-08-26 12:23 UTCEG score recompute
- 2026-08-26 12:23 UTCVendor advisory
- 2026-08-26 12:23 UTCGHSA enrichmentGHSA-xvqr-69v8-f3gv · GitHub severity HIGH · GitHub CVSS 7.8
- 2026-08-25 13:48 UTCEPSS rescoreEPSS 0.5% · 42nd percentile
- 2026-08-25 12:23 UTCEG score recompute
- 2026-08-25 12:23 UTCVendor advisory
- 2026-08-25 12:22 UTCGHSA enrichmentGHSA-xvqr-69v8-f3gv · GitHub severity HIGH · GitHub CVSS 7.8
- 2026-08-24 14:16 UTCEPSS rescoreEPSS 0.5% · 42nd percentile
- 2026-08-24 13:32 UTCVendor advisory
- 2026-08-24 13:32 UTCGHSA enrichmentGHSA-xvqr-69v8-f3gv · GitHub severity HIGH · GitHub CVSS 7.8
- 2026-08-24 12:28 UTCEG score recompute
- 2026-08-24 12:28 UTCVendor advisory
- 2026-08-24 12:28 UTCGHSA enrichmentGHSA-xvqr-69v8-f3gv · GitHub severity HIGH · GitHub CVSS 7.8
- 2026-08-23 00:18 UTCEPSS rescoreEPSS 0.5% · 42nd percentile
- 2026-08-21 23:48 UTCEPSS rescoreEPSS 0.5% · 42nd percentile
- 2026-08-20 22:55 UTCEPSS rescoreEPSS 0.5% · 42nd percentile
- 2026-08-19 17:03 UTCEPSS rescoreEPSS 0.5% · 42nd percentile
- 2026-08-19 12:28 UTCVendor advisory
- 2026-08-19 12:28 UTCGHSA enrichmentGHSA-xvqr-69v8-f3gv · GitHub severity HIGH · GitHub CVSS 7.8
- 2026-08-19 12:12 UTCEG score recompute
- 2026-08-19 12:12 UTCVendor advisory
- 2026-08-19 12:12 UTCGHSA enrichmentGHSA-xvqr-69v8-f3gv · GitHub severity HIGH · GitHub CVSS 7.8
- 2026-08-18 13:47 UTCEPSS rescoreEPSS 0.5% · 42nd percentile
- 2026-08-18 12:24 UTCEG score recompute
- 2026-08-18 12:24 UTCVendor advisory
- 2026-08-18 12:23 UTCGHSA enrichmentGHSA-xvqr-69v8-f3gv · GitHub severity HIGH · GitHub CVSS 7.8
- 2026-08-17 13:46 UTCEPSS rescoreEPSS 0.5% · 42nd percentile
- 2026-08-17 12:22 UTCVendor advisory
- 2026-08-17 12:22 UTCGHSA enrichmentGHSA-xvqr-69v8-f3gv · GitHub severity HIGH · GitHub CVSS 7.8
- 2026-08-17 12:14 UTCEG score recompute
- 2026-08-17 12:14 UTCVendor advisory
- 2026-08-17 12:14 UTCGHSA enrichmentGHSA-xvqr-69v8-f3gv · GitHub severity HIGH · GitHub CVSS 7.8
- 2026-08-16 14:55 UTCEPSS rescoreEPSS 0.5% · 42nd percentile
- 2026-08-16 02:13 UTCEPSS rescoreEPSS 0.5% · 42nd percentile
- 2026-08-15 01:29 UTCEPSS rescoreEPSS 0.5% · 42nd percentile
- 2026-08-15 00:21 UTCVendor advisory
Related CVEs(same product + same vendor + same CWE)
Same product
10 shownGo:toolchain
Same vendor
10 shownredhat:RHSA-2026:12282 · redhat:RHSA-2026:3855 · redhat:RHSA-2026:12118
Frequently asked(5)
What is CVE-2025-61731?
When was the CVE record for CVE-2025-61731 published?
Is CVE-2025-61731 actively exploited?
What is the CVSS score of CVE-2025-61731?
How do I remediate CVE-2025-61731?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2025-61731
Is Your Infrastructure Affected by CVE-2025-61731?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.