CVE-2025-61732: Go cgo - Code Injection
- Cve: CVE-2025-61732
- Name: Go cgo - Code Injection
- Description: A discrepancy between how Go and C/C++ comments were parsed allowed for code smuggling into the resulting cgo binary.
- Impact: Attackers can inject code into the cgo binary, potentially leading to arbitrary code execution.
- Remediation: Update to the latest version of Go that addresses this issue.
- Vulnerability type: code_injection
- Vulnerability impact: remote_code_execution
- Requirements: Attacker needs to provide crafted source code
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.6
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
- Epss score: 0.00531
- Epss percentile: 0.45774
- Assignee: [email protected]
- Published at: 2026-02-05T04:15:50Z
- Age in days: 292
- Modified at: 2026-09-10T13:17:16Z
- Patch available: yes
- References total: 38
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-61732
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirement type, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-94 | Improper Control of Generation of Code |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| golang:go | >= 1.25.0, < 1.25.7; < 1.24.13 | no | nvd | /v1/products/golang/go |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| golang/go | fix | yes | /v1/repositories/golang/go |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Exposed hosts: 1852470
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports