Red Hat Security Advisory: golang security update
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.
AI Analysis
Technical Summary
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.
Red Hat Security Advisory: golang security update
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
AI-Powered Analysis
Machine-generated threat intelligence
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.
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.