Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2025-61732

Опубликовано: 05 фев. 2026
Источник: redhat
CVSS3: 7.4
EPSS Низкий

Описание

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

A flaw was found in Go's 'cgo tool'. This vulnerability arises from a discrepancy in how Go and C/C++ comments are parsed, which allows for malicious code to be hidden within comments and then "smuggled" into the compiled cgo binary. An attacker could exploit this to embed and execute arbitrary code, potentially leading to significant system compromise.

Отчет

This is an Important vulnerability in the cmd/cgo component of the Go toolchain. A parsing discrepancy between Go and C/C++ comments could allow for code smuggling into the resulting cgo binary. This primarily affects systems where untrusted Go modules utilizing cgo are built, impacting Red Hat Enterprise Linux and OpenShift Container Platform.

Меры по смягчению последствий

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
Exploit Intelligenceexploit-intelligence/vulnerability-analysis-rhel9Affected
Migration Toolkit for Applications 8mta/mta-go-external-provider-rhel9Affected
OpenShift Service Mesh 2openshift-golang-builder-containerAffected
OpenShift Service Mesh 3openshift-golang-builder-containerAffected
Red Hat Enterprise Linux 10rhel10/go-toolsetAffected
Red Hat Enterprise Linux 8rhel8/go-toolsetAffected
Red Hat Enterprise Linux 9go-toolsetAffected
Red Hat Enterprise Linux 9rhel9/go-toolsetAffected
Red Hat OpenShift Container Platform 4openshift4/ose-operator-sdk-rhel9Affected
Red Hat OpenShift Virtualization 4openshift-golang-builder-containerAffected

Показывать по

Дополнительная информация

Статус:

Important
Дефект:
CWE-94
https://bugzilla.redhat.com/show_bug.cgi?id=2437016cmd/cgo: Go cgo: Code smuggling due to comment parsing discrepancy

EPSS

Процентиль: 45%
0.00531
Низкий

7.4 High

CVSS3

Связанные уязвимости

CVSS3: 8.6
ubuntu
9 месяцев назад

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

CVSS3: 8.6
nvd
9 месяцев назад

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

msrc
2 месяца назад

Potential code smuggling via doc comments in cmd/cgo

CVSS3: 8.6
debian
9 месяцев назад

A discrepancy between how Go and C/C++ comments were parsed allowed fo ...

CVSS3: 8.6
github
9 месяцев назад

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

EPSS

Процентиль: 45%
0.00531
Низкий

7.4 High

CVSS3

Уязвимость CVE-2025-61732 в Red Hat CVE — exploitDog