GO-2026-4433

Potential code smuggling via doc comments in cmd/cgo

At a glance

Published
Updated
CVE
CVE-2025-61732
Aliases
BIT-golang-2025-61732

Description

A discrepancy between how Go and C/C++ comments were parsed allowed for code smuggling into the resulting cgo binary.

Affected packages

PackageVersions
Go · toolchainintroduced 0, fixed 1.24.13, introduced 1.25.0-0, fixed 1.25.7

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — Go Vulnerability Database