Skip to main content
CVE-2025-61731VulnerabilityPublished Updated

Red Hat Security Advisory: golang security update

Affects Red Hat golangSource GCVE Database

0
Compare

Mentioned vulnerabilities

Authoritative record:CVE-2025-61731· High 7.8

Not known to be exploited · CVSS 7.8 High : upgrade Red Hat go to 1.25.6 or 1.24.12 soon.

Data as of 30 Oct 2026, 11:52 UTC

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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 28 Jan 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: 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 30 Oct 2026.

What to do

Upgrade cmd/go to 1.25.6 or 1.24.12.

Affected software

ProductAffectedFixed in
Go toolchaincmd/goAffected
  • >=1.25.0 <1.25.6
Fixed in
  • 1.25.6
Go toolchaincmd/goAffected
  • <1.24.12
Fixed in
  • 1.24.12
Gocmd/gopkg:golang/cmd/goOther threatsAffected
  • <1.24.12
  • >=1.25.0 <1.25.6
Fixed in
  • 1.24.12
  • 1.25.6

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

AI-suggested

Red Hat has released updated golang packages for Red Hat Enterprise Linux 8.6 and 9.2 that fix these vulnerabilities. Users should apply these official updates as detailed in Red Hat advisory RHSA-2026:7833 and RHSA-2026:7876. Refer to https://access.redhat.com/articles/11258 for update instructions. No additional mitigation steps are indicated beyond applying these patches.

Description

The golang packages provide the Go programming language compiler. Security Fix(es): * cmd/go: cmd/go: Arbitrary file write via malicious pkg-config directive (CVE-2025-61731) * net/url: Incorrect parsing of IPv6 host literals in net/url (CVE-2026-25679) For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

References

Community reviews

Loading reviews…