Vulnerability details

CVE-2025-61732

Go toolchain cmd/cgoRed Hat Enterprise Linux 9Red Hat OpenShift Virtualization 4

Potential code smuggling via doc comments in cmd/cgo

CVSS 3.1
7.4High

Official description

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

CVSS scores

ScoreVersionSourceVector
8.6High 3.1 CISA ADP / Vulnrichment (CISA-ADP) CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
7.4High 3.1 CVEProject cvelistV5 (CNA) (redhat-SADP) CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

Affected products

VendorProductVersionsSource
Go toolchain cmd/cgo v < 1.24.13 CVEProject cvelistV5 (CNA)
Go toolchain cmd/cgo 1.25.0-0 ≤ v < 1.25.7 CVEProject cvelistV5 (CNA)
Red Hat Red Hat Enterprise Linux 9 All CVEProject cvelistV5 (CNA)
Red Hat Red Hat OpenShift Virtualization 4 All CVEProject cvelistV5 (CNA)

References and advisories

38
Kolun on Telegram @kolunsec Exploited CVEs, key news and a daily digest Alerts for this product's next CVEsFollow the product to get new vulnerabilities on Telegram.

Details

Published
2026-02-05
Last updated
2026-09-10
State
Published
Assigner (CNA)
Go

Exploit prediction (EPSS)

0.53%
Probability of exploitation in 30 days
45%
Percentile (among all CVEs)

SSVC assessment (CISA)

Automatable
No
Exploitation
None
Technical impact
Total

Weaknesses (CWE)

  • CWE-94
    Improper Control of Generation of Code ('Code Injection')