RCE in Golang Go
CVE-2025-61732
A discrepancy between how Go and C/C++ comments were parsed allowed for code smuggling into the resulting cgo binary.
Vulnerability class: RCE (Remote Code Execution)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.6 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.005, 45.5th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Golang Go
- Go Toolchain Cmd/cgo — versions 0, 1.25.0-0
Weakness classification (CWE)
References
- go.dev/cl/734220 (Product, Patch)
- go.dev/issue/76697 (Issue Tracking, Vendor Advisory)
- groups.google.com/g/golang-announce/c/K09ubi9FQFk (Mailing List, Release Notes)
- pkg.go.dev/vuln/GO-2026-4433 (Patch, Vendor Advisory)
- access.redhat.com/errata/RHSA-2026:10104
- access.redhat.com/errata/RHSA-2026:12282
- access.redhat.com/errata/RHSA-2026:14100
- access.redhat.com/errata/RHSA-2026:14774
- access.redhat.com/errata/RHSA-2026:15091
- access.redhat.com/errata/RHSA-2026:21691