GO-2026-4433

Source
https://pkg.go.dev/vuln/GO-2026-4433
Import Source
https://vuln.go.dev/ID/GO-2026-4433.json
JSON Data
https://api.test.osv.dev/v1/vulns/GO-2026-4433
Aliases
Related
Published
2026-02-05T03:10:52Z
Modified
2026-02-17T10:29:03.327693Z
Summary
Potential code smuggling via doc comments in cmd/cgo
Details

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

Database specific
{
    "url": "https://pkg.go.dev/vuln/GO-2026-4433",
    "review_status": "REVIEWED"
}
References
Credits
    • RyotaK (https://ryotak.net) of GMO Flatt Security Inc.

Affected packages

Go / toolchain

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.24.13
Introduced
1.25.0-0
Fixed
1.25.7

Ecosystem specific

{
    "imports": [
        {
            "path": "cmd/cgo"
        }
    ]
}

Database specific

source
"https://vuln.go.dev/ID/GO-2026-4433.json"