Advisory

GO-2026-4433

Also known as: BIT-golang-2025-61732, CVE-2025-61732

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.

Severity

Not rated by the source.

Dates

Published
2026-02-05 03:10 UTC
Modified
2026-05-15 10:59 UTC

Affected packages and fixes

toolchain

Go · All systems

Affected

  • introduced 0, fixed 1.24.13, introduced 1.25.0-0, fixed 1.25.7 (semver)

Fixed versions

1.24.13, 1.25.7

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Go Vulnerability Database · CC BY 4.0

Sources & licences