Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.5%top 62%

CVE-2025-61732: CWE-94: Improper Control of Generation of Code ('Code Injection') in Go toolchain cmd/cgo

0
High
Published: 04/01/2026 (04/01/2026, 09:48:10 UTC)
Source: GCVE Database
Vendor/Project: Red Hat Product Security
Product: Red Hat

Description

CVE-2025-61732 is a high-severity vulnerability in the Go toolchain's cmd/cgo component, where a parsing discrepancy between Go and C/C++ comments allows code injection into the resulting cgo binary. This vulnerability affects Red Hat OpenShift Container Platform 4.19 and related products. Red Hat has issued security advisories and updates, including OpenShift Container Platform 4.19.27, to address this issue. Users are advised to upgrade to the fixed versions as per Red Hat's guidance.

CVSS v3.1

Score 8.6high

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

Affected software

redhat/openshift-container-platform
pkg:rpm/redhat/openshift-container-platform
Affected versions
<4.19.27 >=4.19.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/30/2026, 22:26:50 UTC

Technical Analysis

CVE-2025-61732 is a code injection vulnerability (CWE-94) in the Go toolchain's cmd/cgo component caused by inconsistent parsing of comments between Go and C/C++. This discrepancy enables malicious code to be smuggled into the compiled cgo binary, potentially leading to complete compromise of confidentiality, integrity, and availability. The vulnerability has a CVSS 3.1 base score of 8.6 (high severity) with local attack vector, low attack complexity, no privileges required, user interaction required, scope changed, and high impact on confidentiality, integrity, and availability. Red Hat OpenShift Container Platform 4.19 and related container images are affected. Red Hat has released OpenShift Container Platform 4.19.27 with security updates to fix this vulnerability. The vendor advisory RHSA-2026:5878 provides detailed upgrade instructions and image digests for affected architectures.

Potential Impact

Successful exploitation of this vulnerability allows an attacker to inject arbitrary code into the cgo binary, resulting in full compromise of confidentiality, integrity, and availability of the affected system. The vulnerability requires local access with user interaction but no privileges, and it affects the Red Hat OpenShift Container Platform 4.19 and associated container images. The impact is rated high with a CVSS score of 8.6.

Mitigation Recommendations

Red Hat has released security updates in OpenShift Container Platform 4.19.27 to address CVE-2025-61732. Users should upgrade to this version or later as soon as it is available in their release channel. Detailed upgrade instructions are provided by Red Hat at https://docs.redhat.com/en/documentation/openshift_container_platform/4.19/html-single/updating_clusters/index#updating-cluster-cli. No alternative mitigations are indicated in the vendor advisory; applying the official update is the recommended remediation.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Csaf Category
csaf_security_advisory
Csaf Version
2.0
Publisher
Red Hat Product Security
Advisory Id
RHSA-2026:5878
Cve Count
1
Additional Cves
[]
Cvss Version
null

Threat ID: 6a55ff9c68715ace432f67b4

Added to database: 07/14/2026, 09:21:32 UTC

Last enriched: 07/30/2026, 22:26:50 UTC

Last updated: 07/31/2026, 19:22:56 UTC

Views: 34

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses