Skip to main content
EPSS 0.5%top 57%

Red Hat Security Advisory: golang security update

0
Medium
Published: 11/20/2025 (11/20/2025, 15:48:22 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): * os/exec: Unexpected paths returned from LookPath in os/exec (CVE-2025-47906) * golang: archive/tar: Unbounded allocation when parsing GNU sparse map (CVE-2025-58183) 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
>=1.21.13 <1.21.14Red HatRed Hat Enterprise LinuxRed Hat Enterprise Linux AppStream EUS (v.9.4)aarch64go-toolset-0:1.21.13-12.el9_4.aarch64Red Hat Enterprise Linux AppStream EUS (v.9.6)go-filesystem-0:3.6.0-11.el9_6.aarch64Red Hat Update InfrastructureRed Hat Update Infrastructure 5amd64registry.redhat.io/rhui5/cds-rhel9@sha256:a71cf22ac5a6c6488f6fd261b37ed423fb7f8ae21716d57542cb964908e5dff6_amd64

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/14/2026, 22:23:40 UTC

Technical Analysis

This advisory covers two security fixes in the golang packages provided by Red Hat for the Go programming language compiler. CVE-2025-47906 addresses a flaw in the os/exec package where unexpected paths could be returned from the LookPath function. CVE-2025-58183 fixes an unbounded memory allocation vulnerability in the archive/tar package when parsing GNU sparse map files. The vulnerabilities are rated as moderate in severity by Red Hat Product Security. The update is available for Red Hat Enterprise Linux 9.4 Extended Update Support across multiple architectures including x86_64, s390x, ppc64le, and aarch64. The advisory references Red Hat's errata RHSA-2025:21856 and provides updated golang packages to resolve these issues.

Potential Impact

The vulnerabilities could potentially cause unexpected behavior in path resolution in os/exec and unbounded memory allocation in archive/tar during sparse map parsing. Red Hat rates the security impact as moderate. There are no known exploits in the wild at this time. The issues affect the golang compiler packages distributed with Red Hat Enterprise Linux 9.4 Extended Update Support, potentially impacting applications built or run with these packages.

Mitigation Recommendations

Red Hat has released updated golang packages for Red Hat Enterprise Linux 9.4 Extended Update Support that address these vulnerabilities. Users should apply the official Red Hat update as described in advisory RHSA-2025:21856 to remediate these issues. For detailed update instructions, refer to https://access.redhat.com/articles/11258. 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-2025:21856
Cve Count
2
Additional Cves
["CVE-2025-58183"]

Threat ID: 6a160975e29bf47b5063f74b

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

Last enriched: 08/14/2026, 22:23:40 UTC

Last updated: 09/10/2026, 19:36:50 UTC

Views: 64

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