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
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.8(medium)
- EG Risk
- 35(Track)EG Risk 35/100SSVC: Track
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 computedSeverity78% × 45%Exploitation1% × 40%Automatability0% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 1%
- EPSS %ILE
- 44%
- KEV
- Not listed
Published
January 28, 2026
Last Modified
August 26, 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.
- 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
- RHSA-2026:12282Red Hat Product SecurityHigh
Red Hat Security Advisory: OpenShift Container Platform 4.12.88 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 | Fixed in | Dependents |
|---|---|---|---|
| golang-1.15 | 1.15.15-1 ... 1.15.9-6 (10 versions) | — | — |
Debian:12(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| golang-1.19 | 1.19.10-1 ... 1.19.9-1 (12 versions) | — | — |
Debian:13(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| golang-1.24 | 1.24.12-1 ... 1.24.9-1 (10 versions) | — | — |
Debian:14(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| golang-1.25 | 1.25.0-1, 1.25.0-2, 1.25.1-1, 1.25.2-1, 1.25.3-1 | 1.25.6-1 | — |
Go(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| toolchain | — | 1.25.6 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Additional Vendor Advisories
(13)
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
Data Freshness Timeline
(refreshed 15× in last 7d / 99× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. 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. Most recent first.
Showing the most recent 100 of 211 total refreshes for this CVE.
- 2026-08-30 19:16 UTCEPSS rescore
- 2026-08-30 01:21 UTCEPSS rescore
- 2026-08-28 21:40 UTCEPSS rescore
- 2026-08-27 14:24 UTCEPSS rescore
- 2026-08-26 16:12 UTCEG score recompute
- 2026-08-26 16:12 UTCVendor advisory
- 2026-08-26 16:12 UTCGHSA enrichment
- 2026-08-26 14:45 UTCEPSS rescore
- 2026-08-26 12:23 UTCEG score recompute
- 2026-08-26 12:23 UTCVendor advisory
- 2026-08-26 12:23 UTCGHSA enrichment
- 2026-08-25 13:48 UTCEPSS rescore
- 2026-08-25 12:23 UTCEG score recompute
- 2026-08-25 12:23 UTCVendor advisory
- 2026-08-25 12:22 UTCGHSA enrichment
- 2026-08-24 14:16 UTCEPSS rescore
- 2026-08-24 13:32 UTCVendor advisory
- 2026-08-24 13:32 UTCGHSA enrichment
- 2026-08-24 12:28 UTCEG score recompute
- 2026-08-24 12:28 UTCVendor advisory
- 2026-08-24 12:28 UTCGHSA enrichment
- 2026-08-23 00:18 UTCEPSS rescore
- 2026-08-21 23:48 UTCEPSS rescore
- 2026-08-20 22:55 UTCEPSS rescore
- 2026-08-19 17:03 UTCEPSS rescore
Show 75 moreShow fewer
- 2026-08-19 12:28 UTCVendor advisory
- 2026-08-19 12:28 UTCGHSA enrichment
- 2026-08-19 12:12 UTCEG score recompute
- 2026-08-19 12:12 UTCVendor advisory
- 2026-08-19 12:12 UTCGHSA enrichment
- 2026-08-18 13:47 UTCEPSS rescore
- 2026-08-18 12:24 UTCEG score recompute
- 2026-08-18 12:24 UTCVendor advisory
- 2026-08-18 12:23 UTCGHSA enrichment
- 2026-08-17 13:46 UTCEPSS rescore
- 2026-08-17 12:22 UTCVendor advisory
- 2026-08-17 12:22 UTCGHSA enrichment
- 2026-08-17 12:14 UTCEG score recompute
- 2026-08-17 12:14 UTCVendor advisory
- 2026-08-17 12:14 UTCGHSA enrichment
- 2026-08-16 14:55 UTCEPSS rescore
- 2026-08-16 02:13 UTCEPSS rescore
- 2026-08-15 01:30 UTCEPSS rescore
- 2026-08-15 01:29 UTCEPSS rescore
- 2026-08-15 00:21 UTCVendor advisory
- 2026-08-15 00:21 UTCGHSA enrichment
- 2026-08-14 11:59 UTCEG score recompute
- 2026-08-14 11:59 UTCVendor advisory
- 2026-08-14 11:59 UTCGHSA enrichment
- 2026-08-13 21:59 UTCEPSS rescore
- 2026-08-13 04:05 UTCEG score recompute
- 2026-08-13 04:05 UTCVendor advisory
- 2026-08-13 04:05 UTCGHSA enrichment
- 2026-08-12 13:50 UTCEPSS rescore
- 2026-08-11 13:42 UTCEPSS rescore
- 2026-08-10 23:59 UTCEPSS rescore
- 2026-08-10 13:23 UTCVendor advisory
- 2026-08-10 13:22 UTCGHSA enrichment
- 2026-08-10 12:28 UTCVendor advisory
- 2026-08-10 12:27 UTCGHSA enrichment
- 2026-08-10 10:17 UTCVendor advisory
- 2026-08-10 10:17 UTCGHSA enrichment
- 2026-08-09 16:37 UTCEG score recompute
- 2026-08-09 16:37 UTCVendor advisory
- 2026-08-09 16:37 UTCGHSA enrichment
- 2026-08-09 13:46 UTCEPSS rescore
- 2026-08-09 13:46 UTCEPSS rescore
- 2026-08-08 16:36 UTCEPSS rescore
- 2026-08-07 23:16 UTCEG score recompute
- 2026-08-07 23:16 UTCVendor advisory
- 2026-08-07 23:16 UTCGHSA enrichment
- 2026-08-07 16:26 UTCEPSS rescore
- 2026-08-06 13:46 UTCEPSS rescore
- 2026-08-06 12:34 UTCVendor advisory
- 2026-08-06 12:34 UTCGHSA enrichment
- 2026-08-06 04:47 UTCEG score recompute
- 2026-08-06 04:47 UTCVendor advisory
- 2026-08-06 04:46 UTCGHSA enrichment
- 2026-08-05 19:17 UTCEPSS rescore
- 2026-08-05 19:17 UTCEPSS rescore
- 2026-08-05 13:54 UTCVendor advisory
- 2026-08-05 13:53 UTCGHSA enrichment
- 2026-08-05 12:46 UTCEG score recompute
- 2026-08-05 12:46 UTCVendor advisory
- 2026-08-05 12:45 UTCGHSA enrichment
- 2026-08-04 15:09 UTCEPSS rescore
- 2026-08-04 12:36 UTCEG score recompute
- 2026-08-04 12:36 UTCVendor advisory
- 2026-08-04 12:36 UTCGHSA enrichment
- 2026-08-04 10:37 UTCEPSS rescore
- 2026-08-03 13:44 UTCVendor advisory
- 2026-08-03 13:44 UTCGHSA enrichment
- 2026-08-03 12:50 UTCEG score recompute
- 2026-08-03 12:50 UTCVendor advisory
- 2026-08-03 12:50 UTCGHSA enrichment
- 2026-08-03 10:35 UTCEPSS rescore
- 2026-08-02 21:55 UTCEG score recompute
- 2026-08-02 21:55 UTCVendor advisory
- 2026-08-02 21:55 UTCGHSA enrichment
- 2026-08-02 02:26 UTCEPSS rescore
Related CVEs(same vendor + same CWE)
Same vendor
10 shownredhat
- CVE-2001-0825EG 10.0HIGH
- CVE-2001-1009EG 10.0EPSS p93HIGH
- CVE-2001-0554EG 10.0EPSS p98HIGH
- CVE-2001-1162EG 10.0EPSS p96HIGH
- CVE-2001-0414EG 10.0EPSS p100HIGH
- CVE-2001-0191EG 10.0EPSS p92HIGH
- CVE-2001-0301EG 10.0EPSS p91HIGH
- CVE-2001-0197EG 10.0EPSS p96HIGH
- CVE-2001-0233EG 10.0EPSS p96HIGH
- CVE-2001-0010EG 10.0EPSS p98HIGH
Same CWE
10 shownCWE-88
- CVE-2007-0882EG 10.0EPSS p100HIGH
- CVE-2004-0480EG 10.0EPSS p95HIGH
- CVE-1999-0113EG 10.0EPSS p97HIGH
- CVE-2018-3856EG 9.9CRITICAL
- CVE-2020-28026EG 9.8EPSS p95CRITICAL
- CVE-2020-21224EG 9.8EPSS p98CRITICAL
- CVE-2020-25494EG 9.8EPSS p98CRITICAL
- CVE-2020-15692EG 9.8EPSS p90CRITICAL
- CVE-2020-12641EG 9.8 KEVEPSS p100CRITICAL
- CVE-2019-12148EG 9.8CRITICAL
Frequently asked(5)
What is CVE-2025-61731?
When was CVE-2025-61731 disclosed?
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.