golang cmd/cgo
cpe:2.3:a:golang:go:*:*:*:*:*:*:*
- < go1.24.13
- >= go1.25.0-0, < go1.25.7
A vulnerability exists in the Go programming language's Cgo tool, specifically in versions of Go prior to 1.24.13 and between 1.25.0 and 1.25.6. This vulnerability arises from a difference in how Go and C/C++ comment syntax is interpreted, which can be exploited to inject C code into the Cgo binary. The smuggled code is typically ignored by the Go compiler but can still be executed under certain conditions.
Exploitation of this vulnerability allows for the injection of C code into the Cgo binary, which could be executed, potentially leading to arbitrary code execution.
Users can upgrade to Go versions 1.25.7 or 1.24.13, both of which include the necessary fix. Instructions for downloading these versions are available on the Go website.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.