Skip to main content
CVE-2025-61732VulnerabilityPublished Updated

CVE-2025-61732: Go toolchain cmd/cgo · Code Injection

Affects Go toolchain cmd/cgoSource CVE Database V5

0

Not known to be exploited · CVSS 8.6 High : upgrade to 1.25.7 or 1.24.13 soon.

Data as of 26 Oct 2026, 06:26 UTC

CVSS 3.1 base score
8.6High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.5% chance of exploitation in 30 days – higher than 45% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 1.25.7, 1.24.13, 1.25.0
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 5 Feb 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.

What to do

Upgrade cmd/cgo to 1.25.7 or 1.24.13; github.com/golang/go/cmd/cgo to 1.25.0.

Affected software

ProductAffectedFixed in
Go toolchaincmd/cgoAffected
  • <1.24.13
  • >=1.25.0-0 <1.25.7
Fixed in
  • 1.25.7
  • 1.24.13
Gocmd/cgopkg:golang/cmd/cgoOther threatsAffected
  • <1.24.13
  • >=1.25.0-0 <1.25.7
Fixed in
  • 1.24.13
  • 1.25.7
Gogithub.com/golang/go/cmd/cgopkg:golang/github.com/golang/go/cmd/cgoOther threatsAffected
  • <1.25.0
Fixed in
  • 1.25.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A security update fixing this vulnerability is available in golang version 1.25.7 and later. Users of affected Red Hat Enterprise Linux and OpenShift Container Platform versions should apply the provided patches promptly. Refer to the Red Hat advisory RHSA-2026:3192 for detailed update instructions. No alternative mitigations are specified by the vendor; applying the official fix is the recommended action.

Description

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

References

Community reviews

Loading reviews…