CVE-2025-61732
JSON

8.6high

Potential code smuggling via doc comments in cmd/cgo

Severity
8.6high CVSS:3.1 by CISA-ADP
Exploit likelihood
0.67% (higher than 47% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Go
Also known as
GO-2026-4433BIT-GOLANG-2025-61732

Description

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

Affected

Product or packageVersionsReported by
cmd/cgobefore 1.24.13, from 1.25.0-0 before 1.25.7CVE List
golangNot specified
Not affected: from 0:1.25.7-1.el10_1 before *, from 0:1.25.7-1.el10_0 before *, from 0:1.25.7-1.el9_7 before *, from 0:1.17.13-10.el9_0 before *, from 0:1.19.13-23.el9_2 before *, from 0:1.21.13-14.el9_4 before *
CVE List
go-toolset:rhel8Not specified
Not affected: from 8100020260212045823.a3795dee before *, from 8020020260227115231.02f7cb7a before *, from 8040020260227112052.5081a262 before *, from 8060020260227122329.97d7f71f before *, from 8080020260227110256.6b4b45d8 before *
CVE List
golang1-26-mainNot specified
Not affected: from 1.26.2-1.hum1 before *
CVE List
golang1-25-mainNot specified
Not affected: from 1.25.9-1.hum1 before *
CVE List
openshift4/cloud-network-config-controller-rhel8Not specified
Not affected: from 1777002694 before *, from 1779864120 before *, from 1777996897 before *
CVE List
openshift4/egress-router-cni-rhel8Not specified
Not affected: from 1777001625 before *, from 1779864235 before *, from 1777997332 before *
CVE List
openshift4/kubevirt-csi-driver-rhel8Not specified
Not affected: from 1777001562 before *, from 1779864128 before *, from 1777997462 before *
CVE List
openshift4/network-tools-rhel8Not specified
Not affected: from 1777002936 before *, from 1779313037 before *, from 1778172521 before *
CVE List
openshift4/oc-mirror-plugin-rhel8Not specified
Not affected: from 1777042122 before *, from 1779889676 before *, from 1777997277 before *
CVE List
openshift4/openshift-route-controller-manager-rhel8Not specified
Not affected: from 1777001567 before *, from 1779889641 before *, from 1777996424 before *
CVE List
openshift4/ose-agent-installer-api-server-rhel8Not specified
Not affected: from 1777002279 before *, from 1778765353 before *, from 1777998220 before *
CVE List

All scores

CISA-ADP8.6high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
redhat-SADP7.4high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Bitnami Vulnerability Databasehigh rating

Classification

CWE-94

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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

NVD (es)

Una discrepancia entre cómo se analizaban los comentarios de Go y C/C++ permitió el contrabando de código en el binario cgo resultante.

References

https://go.dev/cl/734220fix, patch, product
https://go.dev/issue/76697advisory, issue-tracking, report, vendor-advisory
https://groups.google.com/g/golang-announce/c/K09ubi9FQFkdiscussion, mailing-list, release-notes, web
https://pkg.go.dev/vuln/GO-2026-4433advisory, patch, vendor-advisory
https://access.redhat.com/security/cve/CVE-2025-61732vdb-entry, web
https://bugzilla.redhat.com/show_bug.cgi?id=2437016issue-tracking, web
https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-61732.jsonweb
https://access.redhat.com/errata/RHSA-2026:3192vendor-advisory, web
https://access.redhat.com/errata/RHSA-2026:2706vendor-advisory, web
https://access.redhat.com/errata/RHSA-2026:2708vendor-advisory, web
https://access.redhat.com/errata/RHSA-2026:3468vendor-advisory, web
https://access.redhat.com/errata/RHSA-2026:3470vendor-advisory, web

Related

Sources

SourceRecordLicence
CVE ListCVE-2025-61732 changed 2026-09-10CVE Terms of Use
Go Vulnerability DatabaseGO-2026-4433 changed 2026-05-15CC-BY-4.0
NVDCVE-2025-61732 changed 2026-09-10Public domain
Bitnami Vulnerability DatabaseBIT-GOLANG-2025-61732 changed 2026-09-10Apache-2.0