# cmd/cgo (Go) vulnerabilities

3 known vulnerabilities (1 critical, 1 high), with the versions each affects and the releases that fix them.

## At a glance

- Latest release: not known (cve.now hasn't read this package's releases)
- Newest unaffected release: not known without release data
- Registry: https://pkg.go.dev/cmd/cgo

## Advisories (3)

### [CVE-2025-61732](https://cve.now/CVE-2025-61732): Potential code smuggling via doc comments in cmd/cgo

- Severity: High 8.6
- Published: Feb 5, 2026
- Affected: fixed in 1.24.13; from 1.25.0-0, fixed in 1.25.7.

### [CVE-2023-29405](https://cve.now/CVE-2023-29405): Improper sanitization of LDFLAGS with embedded spaces in go command with cgo in cmd/go

- Severity: Critical 9.8
- Published: Jun 8, 2023
- Affected: fixed in 1.19.10; from 1.20.0-0, fixed in 1.20.5.

### [CVE-2020-28366](https://cve.now/CVE-2020-28366): Arbitrary code execution in go command with cgo in cmd/go and cmd/cgo

- Severity: Unrated
- Published: Nov 18, 2020
- Affected: fixed in 1.14.12; from 1.15.0-0, fixed in 1.15.5.

---

Source: cve.now
Built by [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
Page: https://cve.now/packages/go/cmd/cgo
Site guide for agents: https://cve.now/llms.txt
Uses NVD data; not endorsed by NVD.
