Skip to main content
EPSS 0.6%top 55%

Red Hat Security Advisory: golang security update

0
High
Published: 04/13/2026 (04/13/2026, 10:25:23 UTC)
Source: GCVE Database
Vendor/Project: Red Hat Product Security
Product: Red Hat

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.

Affected software

Affected versions
=0=1.25.0>=1.21.13 <1.25.8Red HatRed Hat Enterprise LinuxRed Hat Enterprise Linux AppStream EUS (v.9.4)aarch64go-toolset-0:1.21.13-15.el9_4.aarch6401.25.0Red Hat OpenShift Container PlatformRed Hat OpenShift Container Platform 4.18amd64registry.redhat.io/openshift4/driver-toolkit-rhel9@sha256:fb6b3ecd469791591461952e73013eb25861d339bd1f0219df414e585ce7465c_amd64Red Hat Enterprise Linux AppStream (v. 10)go-toolset-0:1.25.8-1.el10_1.aarch64Red Hat Enterprise Linux AppStream (v. 9)go-toolset-0:1.25.8-1.el9_7.aarch64Red Hat Enterprise Linux AppStream EUS (v.9.6)go-toolset-0:1.25.8-1.el9_6.aarch64Red Hat Enterprise Linux AppStream AUS (v.8.6)Red Hat Enterprise Linux AppStream E4S (v.8.6)Red Hat Enterprise Linux AppStream TUS (v.8.6)Red Hat Enterprise Linux AppStream E4S (v.8.8)Red Hat Enterprise Linux AppStream TUS (v.8.8)srcRed Hat Enterprise Linux AppStream AUS (v. 8.2)delve-0:1.3.2-3.module+el8.2.0+5581+896cb53e.src::go-toolset:rhel8Red Hat Enterprise Linux AppStream AUS (v.8.4)Red Hat Enterprise Linux AppStream EUS EXTENSION (v.8.4)Red Hat Enterprise Linux AppStream E4S (v.9.0)golang-0:1.17.13-11.el9_0.src

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/14/2026, 23:54:56 UTC

Technical Analysis

The golang packages in Red Hat Enterprise Linux contain two security vulnerabilities. CVE-2025-61731 allows arbitrary file write through a malicious pkg-config directive in the cmd/go tool. CVE-2026-25679 involves incorrect parsing of IPv6 host literals in the net/url package. Both issues have been addressed in updated golang packages provided by Red Hat. The advisory covers multiple Red Hat Enterprise Linux versions including 8.6, 9.4, 9.6, 9.7, and 10, across various architectures such as x86_64, aarch64, s390x, and ppc64le. Detailed patch packages and instructions are available in the Red Hat advisories and articles.

Potential Impact

Successful exploitation of CVE-2025-61731 could allow an attacker to write arbitrary files via a crafted pkg-config directive, potentially leading to code execution or system compromise. CVE-2026-25679 could cause incorrect handling of IPv6 host literals, which may affect applications relying on net/url for URL parsing, potentially leading to unexpected behavior or security issues. Red Hat rates the overall security impact as Important (high). There are no known exploits in the wild at this time.

Mitigation Recommendations

Red Hat has released updated golang packages that fix these vulnerabilities. Users should apply the official patches provided for their specific Red Hat Enterprise Linux versions and architectures as detailed in the Red Hat advisories RHSA-2026:7834 and RHSA-2026:5941. Refer to https://access.redhat.com/articles/11258 for update instructions. Applying these updates will remediate the vulnerabilities. No additional mitigation steps are indicated by the vendor.

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:7834
Cve Count
2
Additional Cves
["CVE-2026-25679"]
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6a16097fe29bf47b5064b2f4

Added to database: 05/26/2026, 20:58:39 UTC

Last enriched: 08/14/2026, 23:54:56 UTC

Last updated: 09/13/2026, 00:47:07 UTC

Views: 124

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.

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