Potential code smuggling via doc comments in cmd/cgo
CVE-2025-61732Published 5 Feb 2026, 03:42 UTC
Real-world risk
3.0/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
8.6
scored by CISA, CVSS 3.1
In plain words
No plain-language summary yet. The original description is below.
Original description (from Go)
A discrepancy between how Go and C/C++ comments were parsed allowed for code smuggling into the resulting cgo binary.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| cmd/cgoNiche | < 1.24.13; >= 1.25.0-0, < 1.25.7 | 1.24.13, 1.25.7 |
What to do
Update to a fixed version: 1.24.13, 1.25.7.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Full compromiseCode execution or full control of the system or application | From the CVSS vector | 1.00 |
| Attacker position | LocalMust already run code or have a shell on the machine | From the CVSS vector | 0.50 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | RoutineA normal action: open a file, visit a page, click a link | From the CVSS vector | 0.70 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.5% chance of exploitation in 30 days (percentile 46), as of 2026-12-05.
The arithmetic
- Prerequisites multiplied together0.350
- Threat T1: Nothing known0.850
- 10 × impact 1 × prerequisites 0.35 × threat 0.852.975
- Rounded to one decimal between 0.1 and 103.0
Exploitation and evidence timeline
- 5 Feb 2026 Published
- 3 Dec 2026 Risk 3.0 (cvss fallback)
Weakness
CWE-94
References
- https://go.dev/cl/734220
- https://go.dev/issue/76697
- https://groups.google.com/g/golang-announce/c/K09ubi9FQFk
- https://pkg.go.dev/vuln/GO-2026-4433
- https://access.redhat.com/security/cve/CVE-2025-61732redhat, vdb-entry
- https://bugzilla.redhat.com/show_bug.cgi?id=2437016issue-tracking, redhat
- https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-61732.jsonx-sadp-csaf-vex
- https://access.redhat.com/errata/RHSA-2026:3192redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:2706redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:2708redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:3468redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:3470redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:3489redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:3471redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:3473redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:3472redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:3469redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:3193redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:2709redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:7385redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:7291redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:12282redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:14100redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:21691redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:15091redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:14774redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:10104redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:17598redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:8448redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:4434redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:5878redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:3855redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:2844redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:3559redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:3556redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:5948redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:5950redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:5952redhat, vendor-advisory
- CVE-2025-61732 on CVE.org