{"id":"EUVD-2025-206447","revision":"65556c2a82ed4c0ea2f8ed41d1fab8bb","records":[{"revision":"65556c2a82ed4c0ea2f8ed41d1fab8bb","observedAt":"2026-11-11T04:29:39.636+00:00","statement":{"source":"euvd","id":"EUVD-2025-206447","aliases":["CVE-2025-61731"],"title":"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…","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.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","score":8.6,"severity":null}],"references":["https://go.dev/cl/736711","https://go.dev/issue/77100","https://groups.google.com/g/golang-announce/c/Vd2tYVM8eUc","https://pkg.go.dev/vuln/GO-2026-4339"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2025-206447","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Jan 28, 2026, 7:30:30 PM","dateUpdated":"Sep 10, 2026, 12:04:55 PM"},"relatedAdvisories":[{"id":"RHSA-2026:14774","title":"Red Hat Security Advisory: OpenShift Container Platform 4.15.64 bug fix and security update","vulnerabilityIds":["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"]},{"id":"RHSA-2026:5941","title":"Red Hat Security Advisory: golang security update","vulnerabilityIds":["CVE-2025-61731","CVE-2026-25679"]},{"id":"SUSE-SU-2026:20132-1","title":"Security update for go1.25","vulnerabilityIds":["CVE-2025-61726","CVE-2025-61728","CVE-2025-61730","CVE-2025-61731","CVE-2025-68119","CVE-2025-68121"]},{"id":"RHSA-2026:5133","title":"Red Hat Security Advisory: OpenShift Container Platform 4.18.36 bug fix and security update","vulnerabilityIds":["CVE-2025-65637","CVE-2026-22797"]},{"id":"WID-SEC-W-2026-0129","title":"Golang Go: Mehrere Schwachstellen","vulnerabilityIds":["CVE-2025-61726","CVE-2025-61728","CVE-2025-61730","CVE-2025-61731","CVE-2025-68119","CVE-2025-68121"]},{"id":"RHSA-2026:7385","title":"Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update","vulnerabilityIds":["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"]},{"id":"RHSA-2026:7291","title":"Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update","vulnerabilityIds":["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"]},{"id":"SUSE-SU-2026:20122-1","title":"Security update for go1.24","vulnerabilityIds":["CVE-2025-61726","CVE-2025-61728","CVE-2025-61730","CVE-2025-61731","CVE-2025-68119","CVE-2025-68121"]},{"id":"RHSA-2026:21691","title":"Red Hat Security Advisory: OpenShift Container Platform 4.13.67 bug fix and security update","vulnerabilityIds":["CVE-2025-61726","CVE-2025-61728","CVE-2025-61731","CVE-2025-61732","CVE-2025-68121","CVE-2026-25679","CVE-2026-33186"]},{"id":"RHSA-2026:5948","title":"Red Hat Security Advisory: Red Hat OpenShift Service Mesh 3.0.9","vulnerabilityIds":["CVE-2025-61726","CVE-2025-61728","CVE-2025-61731","CVE-2025-61732","CVE-2025-68121","CVE-2026-31837"]},{"id":"RHSA-2026:4434","title":"Red Hat Security Advisory: OpenShift Container Platform 4.19.26 bug fix and security update","vulnerabilityIds":["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"]},{"id":"RHSA-2026:7878","title":"Red Hat Security Advisory: go-toolset:rhel8 security update","vulnerabilityIds":["CVE-2025-61731","CVE-2026-25679"]},{"id":"openSUSE-SU-2026:20619-1","title":"Security update for coredns","vulnerabilityIds":["CVE-2025-61726","CVE-2025-61728","CVE-2025-61731","CVE-2025-68119","CVE-2025-68121","CVE-2026-26017","CVE-2026-26018"]},{"id":"SUSE-SU-2026:20629-1","title":"Security update for go1.24-openssl","vulnerabilityIds":["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"]},{"id":"openSUSE-SU-2026:20085-1","title":"Security update for go1.25","vulnerabilityIds":["CVE-2025-61726","CVE-2025-61728","CVE-2025-61730","CVE-2025-61731","CVE-2025-68119","CVE-2025-68121"]},{"id":"RHSA-2026:5907","title":"Red Hat Security Advisory: OpenShift Container Platform 4.17.52 bug fix and security update","vulnerabilityIds":["CVE-2025-65637","CVE-2025-69873","CVE-2026-22797"]},{"id":"msrc_CVE-2025-61731","title":"Arbitrary file write using cgo pkg-config directive in cmd/go","vulnerabilityIds":["CVE-2025-61731"]},{"id":"openSUSE-SU-2026:10064-1","title":"go1.25-1.25.6-1.1 on GA media","vulnerabilityIds":["CVE-2025-61726","CVE-2025-61728","CVE-2025-61730","CVE-2025-61731","CVE-2025-68119","CVE-2025-68121"]},{"id":"RHSA-2026:7876","title":"Red Hat Security Advisory: go-toolset:rhel8 security update","vulnerabilityIds":["CVE-2025-61731","CVE-2026-25679"]},{"id":"RHSA-2026:7879","title":"Red Hat Security Advisory: go-toolset:rhel8 security update","vulnerabilityIds":["CVE-2025-61731","CVE-2026-25679"]},{"id":"openSUSE-SU-2026:20077-1","title":"Security update for go1.24","vulnerabilityIds":["CVE-2025-61726","CVE-2025-61728","CVE-2025-61730","CVE-2025-61731","CVE-2025-68119","CVE-2025-68121"]},{"id":"RHSA-2026:5944","title":"Red Hat Security Advisory: golang security update","vulnerabilityIds":["CVE-2025-61731","CVE-2026-25679"]},{"id":"RHSA-2026:8448","title":"Red Hat Security Advisory: OpenShift Container Platform 4.18.38 bug fix and security update","vulnerabilityIds":["CVE-2025-61728","CVE-2025-61731","CVE-2025-61732","CVE-2025-68121"]},{"id":"SUSE-SU-2026:0297-1","title":"Security update for go1.25-openssl","vulnerabilityIds":["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"]},{"id":"RHSA-2026:5950","title":"Red Hat Security Advisory: Red Hat OpenShift Service Mesh 3.1.6","vulnerabilityIds":["CVE-2025-61726","CVE-2025-61728","CVE-2025-61731","CVE-2025-61732","CVE-2025-68121","CVE-2026-31837"]},{"id":"RHSA-2026:17598","title":"Red Hat Security Advisory: OpenShift Container Platform 4.17.54 bug fix and security update","vulnerabilityIds":["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"]},{"id":"RHSA-2026:14100","title":"Red Hat Security Advisory: OpenShift Container Platform 4.12.89 bug fix and security update","vulnerabilityIds":["CVE-2025-61726","CVE-2025-61728","CVE-2025-61731","CVE-2025-61732","CVE-2025-68121","CVE-2026-25679"]},{"id":"RHSA-2026:7877","title":"Red Hat Security Advisory: go-toolset:rhel8 security update","vulnerabilityIds":["CVE-2025-61731","CVE-2026-25679"]},{"id":"RHSA-2026:3559","title":"Red Hat Security Advisory: Red Hat OpenShift Service Mesh 2.6.14","vulnerabilityIds":["CVE-2025-61726","CVE-2025-61728","CVE-2025-61731","CVE-2025-61732","CVE-2025-68121"]},{"id":"SUSE-SU-2026:0308-1","title":"Security update for go1.24-openssl","vulnerabilityIds":["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"]},{"id":"SUSE-SU-2026:0298-1","title":"Security update for go1.25-openssl","vulnerabilityIds":["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"]},{"id":"RHSA-2026:15091","title":"Red Hat Security Advisory: OpenShift Container Platform 4.14.65 bug fix and security update","vulnerabilityIds":["CVE-2025-13465","CVE-2025-61726","CVE-2025-61728","CVE-2025-61731","CVE-2025-61732","CVE-2025-69873","CVE-2026-25679","CVE-2026-40175"]},{"id":"RHSA-2026:12282","title":"Red Hat Security Advisory: OpenShift Container Platform 4.12.88 bug fix and security update","vulnerabilityIds":["CVE-2025-22871","CVE-2025-61726","CVE-2025-61728","CVE-2025-61731","CVE-2025-61732","CVE-2025-65637","CVE-2025-68121","CVE-2026-25679"]},{"id":"RHSA-2026:5952","title":"Red Hat Security Advisory: Red Hat OpenShift Service Mesh 3.2.3","vulnerabilityIds":["CVE-2025-61726","CVE-2025-61728","CVE-2025-61731","CVE-2025-61732","CVE-2025-68121","CVE-2026-31837"]},{"id":"RHSA-2026:20088","title":"Red Hat Security Advisory: OpenShift Container Platform 4.16.63 bug fix and security update","vulnerabilityIds":["CVE-2025-13465","CVE-2025-61731","CVE-2026-25679","CVE-2026-29063","CVE-2026-33186"]},{"id":"openSUSE-SU-2026:20301-1","title":"Security update for go1.25-openssl","vulnerabilityIds":["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"]},{"id":"RHSA-2026:3556","title":"Red Hat Security Advisory: Red Hat OpenShift Service Mesh 2.6.14","vulnerabilityIds":["CVE-2025-61726","CVE-2025-61728","CVE-2025-61731","CVE-2025-61732","CVE-2025-68121"]},{"id":"SUSE-SU-2026:0218-1","title":"Security update for go1.25","vulnerabilityIds":["CVE-2025-61726","CVE-2025-61728","CVE-2025-61730","CVE-2025-61731","CVE-2025-68119","CVE-2025-68121"]},{"id":"RHSA-2026:13736","title":"Red Hat Security Advisory: OpenShift Container Platform 4.18.40 bug fix and security update","vulnerabilityIds":["CVE-2025-61731"]},{"id":"RHSA-2026:12118","title":"Red Hat Security Advisory: OpenShift Container Platform 4.18.39 bug fix and security update","vulnerabilityIds":["CVE-2025-61731","CVE-2026-29063","CVE-2026-33186","CVE-2026-35469"]},{"id":"SUSE-SU-2026:0296-1","title":"Security update for go1.24-openssl","vulnerabilityIds":["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"]},{"id":"SUSE-SU-2026:20623-1","title":"Security update for go1.25-openssl","vulnerabilityIds":["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"]},{"id":"RHSA-2026:5943","title":"Red Hat Security Advisory: golang security update","vulnerabilityIds":["CVE-2025-61731","CVE-2026-25679"]},{"id":"openSUSE-SU-2026:20308-1","title":"Security update for go1.24-openssl","vulnerabilityIds":["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"]},{"id":"RHSA-2026:7883","title":"Red Hat Security Advisory: golang security update","vulnerabilityIds":["CVE-2025-61731","CVE-2026-25679"]},{"id":"RHSA-2026:7833","title":"Red Hat Security Advisory: golang security update","vulnerabilityIds":["CVE-2025-61731","CVE-2026-25679"]},{"id":"SUSE-SU-2026:0219-1","title":"Security update for go1.24","vulnerabilityIds":["CVE-2025-61726","CVE-2025-61728","CVE-2025-61730","CVE-2025-61731","CVE-2025-68119","CVE-2025-68121"]},{"id":"RHSA-2026:7834","title":"Red Hat Security Advisory: golang security update","vulnerabilityIds":["CVE-2025-61731","CVE-2026-25679"]},{"id":"RHSA-2026:5942","title":"Red Hat Security Advisory: golang security update","vulnerabilityIds":["CVE-2025-61731","CVE-2026-25679"]},{"id":"RHSA-2026:3855","title":"Red Hat Security Advisory: OpenShift Container Platform 4.20.16 bug fix and security update","vulnerabilityIds":["CVE-2025-61726","CVE-2025-61728","CVE-2025-61731","CVE-2025-61732","CVE-2025-65637","CVE-2025-68121","CVE-2026-22797"]},{"id":"RHSA-2026:6949","title":"Red Hat Security Advisory: go-toolset:rhel8 security update","vulnerabilityIds":["CVE-2025-61731","CVE-2026-25679"]},{"id":"openSUSE-SU-2026:10063-1","title":"go1.24-1.24.12-1.1 on GA media","vulnerabilityIds":["CVE-2025-61726","CVE-2025-61728","CVE-2025-61730","CVE-2025-61731","CVE-2025-68119","CVE-2025-68121"]}],"note":"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."},"key":"euvd:EUVD-2025-206447","identifiers":["EUVD-2025-206447","CVE-2025-61731"]},"retained":false,"historicalAffected":[]}],"coverage":[]}