CVE-2025-61732: Potential code smuggling via doc comments in cmd/cgo

Published Feb 5, 2026
·
Updated

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

Affected Software

3 affected components
golang/go
Golang Go<1.24.13
Golang Go>=1.25.0<1.25.7

Remediation

Event History

Feb 5, 2026
CVE Published
via MITRE·03:42 AM
Data Sourced
via MITRE·03:42 AM
DescriptionWeakness
Data Sourced
via NVD·04:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via Red Hat·05:01 AM
DescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-61732?

CVE-2025-61732 is classified as a medium severity vulnerability due to the potential for code smuggling.

2

How do I fix CVE-2025-61732?

To address CVE-2025-61732, update to the latest version of Go that resolves the comment parsing discrepancy.

3

What impact does CVE-2025-61732 have on affected software?

CVE-2025-61732 could allow an attacker to introduce malicious code into cgo binaries through improperly parsed comments.

4

Which versions of Go are vulnerable to CVE-2025-61732?

CVE-2025-61732 affects specific versions of Go where the comment parsing mechanism was improperly implemented.

5

Is CVE-2025-61732 related to Go's handling of C/C++ comments?

Yes, CVE-2025-61732 specifically involves a discrepancy in how Go and C/C++ comments are parsed, leading to a code smuggling vulnerability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203