In very select cases, it is possible to smuggle C code, that is otherwise ignored by the Go compiler, into generated files due to semantic differences in how the Go compiler and the C compiler parse comment strings.
Since this issue does not otherwise expand the capabilities of generating Go and C files using Cgo, we are treating this as a PUBLIC track issue per the Go Security Policy.
Thank you to RyotaK (https://ryotak.net) of GMO Flatt Security Inc. for reporting this issue.
This is CVE-2025-61732.
cc @golang/compiler