Skip to main content
← All vulnerabilities
CVE-2025-61732GO-2026-4433BIT-GOLANG-2025-61732

Potential code smuggling via doc comments in cmd/cgo

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.24.13, 1.25.7
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • cmd/cgo

    fixed in 1.24.13; From 1.25.0-0 · fixed in 1.25.7

  • toolchainGo

    fixed in 1.24.13; From 1.25.0-0 · fixed in 1.25.7

References 4

go.dev

groups.google.com

pkg.go.dev