cve.bz

CVE-2026-39817 golang go: Out-of-bounds Write

5.9 mediumEPSS 0.2%Fix available

Medium (5.9) in golang go. EPSS 0.2% estimated probability of exploitation activity in the next 30 days. Fixed in toolchain 1.25.10, 1.26.3.

On this page
The "go tool pack" subcommand (usually used only by the compiler as an internal tool with known-good inputs) does not sanitize output filenames. Extracting a malicious archive file with the "pack" subcommand can write files to arbitrary locations on the filesystem.

Severity

CVSS 3.1

5.9 medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 6th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-05-08. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-787 Out-of-bounds Write
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-39817 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-39817?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-39817?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-39817 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Go toolchain cmd/gobefore 1.25.10
Go toolchain cmd/gofrom 1.26.0-0 before 1.26.3

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GO-2026-4979Gotoolchain<1.25.10
>=1.26.0-0 <1.26.3
1.25.10, 1.26.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12golang-1.19no fix listedDEBIAN-CVE-2026-39817
Debian13golang-1.24no fix listedDEBIAN-CVE-2026-39817
Debian14golang-1.261.26.3-1DEBIAN-CVE-2026-39817
Ubuntu14.04:LTSgolang-1.10no fix listedUBUNTU-CVE-2026-39817
Ubuntu16.04:LTSgolang-1.6, golang-1.10no fix listedUBUNTU-CVE-2026-39817
Ubuntu18.04:LTSgolang-1.8, golang-1.9, golang-1.10no fix listedUBUNTU-CVE-2026-39817
Ubuntu20.04:LTSgolang-1.13, golang-1.14, golang-1.18 and 3 moreno fix listedUBUNTU-CVE-2026-39817
Ubuntu22.04:LTSgolang-1.17, golang-1.18, golang-1.20 and 5 moreno fix listedUBUNTU-CVE-2026-39817
Ubuntu24.04:LTSgolang-1.21, golang-1.22, golang-1.23 and 2 moreno fix listedUBUNTU-CVE-2026-39817
Ubuntu25.10, 26.04:LTSgolang-1.23, golang-1.24, golang-1.25no fix listedUBUNTU-CVE-2026-39817
UbuntuPro:16.04:LTSgolang-1.13, golang-1.18no fix listedUBUNTU-CVE-2026-39817
UbuntuPro:18.04:LTSgolang-1.13, golang-1.16, golang-1.18no fix listedUBUNTU-CVE-2026-39817
UbuntuPro:20.04:LTSgolang-1.16no fix listedUBUNTU-CVE-2026-39817
UbuntuPro:22.04:LTSgolang-1.13no fix listedUBUNTU-CVE-2026-39817
Red Hatenterprise_linux:8::appstreamdelve, delve-debuginfo, delve-debugsource0:1.25.2-1.module+el8.10.0+23746+9db33b5eRHSA-2026:22112
Red Hatenterprise_linux:8::appstreamgolang, go-toolset, golang-bin and 5 more0:1.25.10-1.module+el8.10.0+24308+5c4a16b7RHSA-2026:22112
Red Hatenterprise_linux:9::appstreamgolang, go-toolset, golang-bin and 5 more0:1.26.3-1.el9_8RHSA-2026:22121
Red Hatenterprise_linux:10.2golang, go-toolset, golang-bin and 5 more0:1.26.3-4.el10_2RHSA-2026:22120
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0go1.25-openssl1.25.12-160000.1.1SUSE-SU-2026:22638-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0go1.26-openssl1.26.4-160000.1.1SUSE-SU-2026:22572-1
openSUSELeap 16.0go1.25-openssl1.25.12-160000.1.1openSUSE-SU-2026:21319-1
openSUSELeap 16.0go1.26-openssl1.26.4-160000.1.1openSUSE-SU-2026:21254-1
openSUSELeap 16.0govulncheck-vulndb0.0.20260723T184607-160000.1.1openSUSE-SU-2026:21483-1
openSUSETumbleweedgo1.251.25.10-1.1openSUSE-SU-2026:10723-1
openSUSETumbleweedgo1.261.26.3-1.1openSUSE-SU-2026:10741-1
AlmaLinux8delve1.25.2-1.module_el8.10.0+4074+24330916ALSA-2026:22112
AlmaLinux8golang, go-toolset, golang-bin and 5 more1.25.10-1.module_el8.10.0+4187+c45165c4ALSA-2026:22112
AlmaLinux9golang, go-toolset, golang-bin and 5 more1.26.3-1.el9_8ALSA-2026:22121
Rocky Linux8delve0:1.25.2-1.module+el8.10.0+40035+ee0a7047RLSA-2026:22112
Rocky Linux8golang0:1.25.10-1.module+el8.10.0+40200+0fd0f175RLSA-2026:22112
Rocky Linux9golang0:1.26.3-1.el9_8RLSA-2026:22121
Rocky Linux10golang0:1.26.3-4.el10_2RLSA-2026:22120
Alpinev3.23go1.25.10-r0ALPINE-CVE-2026-39817
Alpinev3.24go1.26.3-r0ALPINE-CVE-2026-39817
Alpinev3.24rclone1.74.1-r0ALPINE-CVE-2026-39817
Azure Linux3golangno fix listedAZL-98892
Alpaquita23, 25go1.25.10-r0BELL-CVE-2026-39817
Alpaquitastreamgo1.26.3-r0BELL-CVE-2026-39817
BellSoft Hardened Containers23, 25go1.25.10-r0BELL-CVE-2026-39817
BellSoft Hardened Containersstreamgo1.26.3-r0BELL-CVE-2026-39817

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita · BellSoft Hardened Containers.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This vulnerability is evaluated as having Moderate severity because the pack tool in the Go toolchain is an internal utility primarily invoked by the compiler during standard builds rather than as a general-purpose archive unpacker. Exploiting this issue requires local user interaction, specifically convincing a user or build pipeline to unpack an untrusted archive directly with this helper. While successful exploitation can result in unauthorized file modification on the host, the tool is not exposed as a network service or routinely used for unpacking external archives in Red Hat environments.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10golang-0:1.26.3-4.el10_2Fixed 2026-06-01RHSA-2026:22120
Red Hat Enterprise Linux 10.0 Extended Update Supportgolang-0:1.26.5-1.el10_0Fixed 2026-08-03RHSA-2026:49702
Red Hat Enterprise Linux 8go-toolset:rhel8-8100020260518131104.a3795deeFixed 2026-06-01RHSA-2026:22112
Red Hat Enterprise Linux 9golang-0:1.26.3-1.el9_8Fixed 2026-06-01RHSA-2026:22121
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutionsgolang-0:1.26.5-1.el9_2Fixed 2026-08-31RHSA-2026:61253
Red Hat Enterprise Linux 9.4 Update Services for SAP Solutionsgolang-0:1.26.5-1.el9_4Fixed 2026-08-20RHSA-2026:57649
Red Hat Enterprise Linux 9.6 Extended Update Supportgolang-0:1.26.5-1.el9_6Fixed 2026-08-03RHSA-2026:49712
multicluster engine for Kubernetes 2.11multicluster-engine/hypershift-addon-rhel9-operator:1786912006Fixed 2026-08-19RHSA-2026:57194
OpenShift API for Data Protection 1.6oadp/oadp-velero-rhel9:1784058822Fixed 2026-07-22RHSA-2026:43692
Red Hat Hardened Imagesgolang1-26-main-1.26.8-0.1.hum1Fixed 2026-09-02RHSA-2026:62391
Multicluster Engine for Kubernetesmulticluster-engine/addon-manager-rhel9Under investigation
Multicluster Engine for Kubernetesmulticluster-engine/backplane-rhel9-operatorUnder investigation
Multicluster Engine for Kubernetesmulticluster-engine/clusterlifecycle-state-metrics-rhel9Under investigation
Multicluster Engine for Kubernetesmulticluster-engine/maestro-rhel9Under investigation
Multicluster Engine for Kubernetesmulticluster-engine/managedcluster-import-controller-rhel9Under investigation
Multicluster Engine for Kubernetesmulticluster-engine/multicloud-manager-rhel9Under investigation
Multicluster Engine for Kubernetesmulticluster-engine/placement-rhel9Under investigation
Multicluster Engine for Kubernetesmulticluster-engine/registration-operator-rhel9Under investigation
Multicluster Engine for Kubernetesmulticluster-engine/work-rhel9Under investigation
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/acm-governance-policy-addon-controller-rhel9Under investigation
7 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-39817.

References

Check your stackJSON