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)
EPSS: 0.005 (38.3th percentile) — read the EPSS interpretation.
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.
Affected products
- Golang Go
- Go Toolchain Cmd/cgo — versions 0, 1.25.0-0
Weakness classification (CWE)
References
- security@golang.org (Product, Patch)
- security@golang.org (Issue Tracking, Vendor Advisory)
- security@golang.org (Mailing List, Release Notes)
- security@golang.org (Patch, Vendor Advisory)
- 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
- 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
- 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
- 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
- 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
- 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
Frequently asked questions
- What is CVE-2025-61732?
- CVE-2025-61732 is a high-severity vulnerability in Golang Go, classified under Code Injection. CVSS score: 8.6/10. Published 2026-02-05.
- How severe is CVE-2025-61732?
- High severity. CVSS v3 base score is 8.6 out of 10.