CVE-2025-58183 json
Unbounded allocation when parsing GNU sparse map in archive/tar
published 2025-10-29 12 mo ago modified 2026-10-08 32 d ago also BIT-golang-2025-58183 , EUVD-2025-36731 , GO-2025-4014
- cvss
- 4.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 38%
- public exploits
- 0
- none known
Summary
tar.Reader does not set a maximum size on the number of sparse region data blocks in GNU tar pax 1.0 sparse files. A maliciously-crafted archive containing a large number of sparse regions can cause a Reader to read an unbounded amount of data from the archive into memory. When reading from a compressed source, a small compressed input can result in large allocations.
Patch / fix
- bitnami golang 1.24.8, 1.25.2
- go stdlib 1.24.8, 1.25.2
- Go standard library archive/tar 1.24.8, 1.25.2
- ceph ceph storage 8.1 2:19.2.1-331.el9cp
- thrift ceph storage 8.1 0.20.0-4.el9cp
- cephadm ceph storage 8.1 2:19.2.1-331.el9cp
- librbd1 ceph storage 8.1 2:19.2.1-331.el9cp
- librgw2 ceph storage 8.1 2:19.2.1-331.el9cp
- rbd-nbd ceph storage 8.1 2:19.2.1-331.el9cp
- ceph-mib ceph storage 8.1 2:19.2.1-331.el9cp
- ceph-base ceph storage 8.1 2:19.2.1-331.el9cp
red hat advisories RHSA-2026:2711RHSA-2025:23002RHSA-2025:21816RHSA-2025:23737RHSA-2025:22668RHSA-2026:26541
- go1.24-openssl SLES for SAP applications 16.0, SLES 16.0 1.24.13-160000.1.1
- go1.25-openssl SLES for SAP applications 16.0, SLES 16.0 1.25.7-160000.1.1
- go1.24-openssl SLES for SAP 15 SP6, SLES 15 SP6-LTSS, SLE Module for Development Tools 15 SP7 +1 more 1.24.12-150600.13.15.1
- go1.25-openssl SLES for SAP 15 SP6, SLES 15 SP6-LTSS, SLE Module for Development Tools 15 SP7 +1 more 1.25.6-150600.13.9.1
- go1.25-openssl SLES for SAP 15 SP5, SLES for SAP 15 SP4, SLES 15 SP5-LTSS +5 more 1.25.6-150000.1.9.1
- go1.24-openssl SLES for SAP 15 SP5, SLES for SAP 15 SP4, SLES 15 SP5-LTSS +5 more 1.24.12-150000.1.18.1
- go1.24 SLES for SAP applications 16.0, SLES 16.0 1.24.11-160000.1.1
- go1.25 SLES for SAP applications 16.0, SLES 16.0 1.25.5-160000.1.1
suse advisories SUSE-SU-2026:20629-1SUSE-SU-2026:20623-1SUSE-SU-2026:0308-1SUSE-SU-2026:0298-1SUSE-SU-2026:0297-1SUSE-SU-2026:0296-1
- govulncheck-vulndb openSUSE Leap 16.0 0.0.20260723T184607-160000.1.1
- go1.24-openssl openSUSE Leap 16.0 1.24.13-160000.1.1
- go1.25-openssl openSUSE Leap 16.0 1.25.7-160000.1.1
- go1.24 openSUSE Leap 16.0 1.24.11-160000.1.1
- go1.25 openSUSE Leap 16.0 1.25.5-160000.1.1
- regclient openSUSE Tumbleweed 0.10.0-1.1
- opentofu openSUSE Tumbleweed 1.10.7-1.1
- govulncheck-vulndb openSUSE Tumbleweed 0.0.20251029T215107-1.1
opensuse advisories openSUSE-SU-2026:21483-1openSUSE-SU-2026:20308-1openSUSE-SU-2026:20301-1openSUSE-SU-2025:20158-1openSUSE-SU-2025:20157-1openSUSE-SU-2025:15723-1
- osbuild-composer AlmaLinux 10 149-4.el10_1.alma.3
- osbuild-composer-core AlmaLinux 10 149-4.el10_1.alma.3
- osbuild-composer-worker AlmaLinux 10 149-4.el10_1.alma.3
- image-builder AlmaLinux 10 31-3.el10_1
- image-builder AlmaLinux 9 31-2.el9_7
- osbuild-composer AlmaLinux 8 101.4-2.el8_10.alma.1
- osbuild-composer-core AlmaLinux 8 101.4-2.el8_10.alma.1
- osbuild-composer-worker AlmaLinux 8 101.4-2.el8_10.alma.1
almalinux advisories ALSA-2026:1837ALSA-2026:1838ALSA-2026:1377ALSA-2026:1380ALSA-2026:1381ALSA-2025:23948
- osbuild-composer Rocky Linux 10 149-4.el10_1.rocky.0.8
- image-builder Rocky Linux 10 31-3.el10_1.rocky.0.2
- image-builder Rocky Linux 9 31-2.el9_7.rocky.0.2
- osbuild-composer Rocky Linux 9 149-3.el9_7.rocky.0.8
- osbuild-composer Rocky Linux 8 101.4-2.el8_10.rocky.0.6
- grafana Rocky Linux 8 9.2.10-26.el8_10
- skopeo Rocky Linux 10 2:1.20.0-2.el10_1
- podman Rocky Linux 10 7:5.6.0-8.el10_1
rocky linux advisories RLSA-2026:1837RLSA-2026:1838RLSA-2026:1377RLSA-2026:1381RLSA-2026:1380RLSA-2025:23948
- go Alpine 3.22 1.24.8-r0
- go Alpine 3.24, Alpine 3.23 1.25.2-r0
alpine advisories ALPINE-CVE-2025-58183
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- containerized-data-importer CBL-Mariner 2.0 1.55.0-26
- cri-o CBL-Mariner 2.0 1.22.3-17
- containerized-data-importer Azure Linux 3.0 1.57.0-17
- moby-engine CBL-Mariner 2.0 24.0.9-19
- gh Azure Linux 3.0 2.62.0-10
- skopeo CBL-Mariner 2.0 1.14.2-13
- moby-engine Azure Linux 3.0 25.0.3-14
- skopeo Azure Linux 3.0 1.14.4-7
azure linux advisories AZL-69033AZL-69036AZL-69134AZL-69137AZL-69200AZL-69296
Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT
- go.dev/cl/709861 patch
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-58183 updated cvss 7.5
golang: archive/tar: Unbounded allocation when parsing GNU sparse map
-
Red Hat Assisted Installer for Red Hat OpenShift Container Platform 2 rhai/assisted-installer-rhel9 Red Hat Deployment Validation Operator dvo/deployment-validation-rhel8-operatoraffected: workaround, no fix available
-
Red Hat external secrets operator for Red Hat OpenShift - Tech Preview external-secrets-operator/external-secrets-rhel9affected: workaround, no fix planned “Will not fix”
-
Red Hat Gatekeeper 3 gatekeeper/gatekeeper-rhel9 Red Hat Migration Toolkit for Applications 7 mta/mta-cli-rhel9, mta/mta-hub-rhel9, mta/mta-analyzer-addon-rhel9, mta/mta-discovery-addon-rhel9affected: workaround, no fix available
-
Red Hat Migration Toolkit for Virtualization migration-toolkit-virtualization/mtv-api-rhel9affected: workaround, no fix planned “Will not fix”
-
Red Hat Multicluster Engine for Kubernetes multicluster-engine/work-rhel8, multicluster-engine/must-gather-rhel8, multicluster-engine/cluster-proxy-rhel8, multicluster-engine/hypershift-cli-rhel8, multicluster-engine/hypershift-cli-rhel9, multicluster-engine/assisted-installer-rhel8, +10 moreaffected: workaround, no fix available, no fix planned “Will not fix”
-
Red Hat OpenShift API for Data Protection oadp/oadp-velero-rhel8, oadp/oadp-rhel8-operator, oadp/oadp-mustgather-rhel8, oadp/oadp-velero-plugin-rhel8, oadp/oadp-velero-plugin-for-csi-rhel8, oadp/oadp-velero-plugin-for-csi-rhel9 Red Hat OpenShift Developer Tools and Services helm, openshift4/ose-jenkins, ocp-tools-4/jenkins-rhel8, ocp-tools-4/jenkins-rhel9, ocp-tools-4/jenkins-agent-base-rhel9 Red Hat OpenShift Lightspeed openshift-lightspeed/openshift-mcp-server-rhel9affected: workaround, no fix available
-
Red Hat OpenShift Pipelines openshift-pipelines-client Red Hat OpenShift Serverless openshift-serverless-1/kn-plugin-event-sender-rhel8affected: workaround, no fix planned “Will not fix”
-
Red Hat OpenShift Service Mesh 2 openshift-golang-builder-containeraffected: workaround, no fix available
show 20 moreshow fewer
-
Red Hat 3scale API Management Platform 2 rhcl-1/authorino-rhel9, 3scale-tech-preview/authorino-rhel9affected: workaround, no fix planned “Will not fix”
-
Red Hat Advanced Cluster Management for Kubernetes 2 rhacm2/acm-search-v2-rhel9, rhacm2/acm-must-gather-rhel9, rhacm2/multicloud-integrations-rhel9, rhacm2/multicluster-operators-channel-rhel9, rhacm2/multicluster-operators-subscription-rhel9 Red Hat Ceph Storage 5 rhel8/grafana, rhel9/grafana, rhceph/grafana-rhel9 Red Hat Ceph Storage 6 rhel8/grafana, rhel9/grafana, rhceph/grafana-rhel9 Red Hat Ceph Storage 8 rhel8/grafana, rhel9/grafana, rhceph/rhceph-promtail-rhel9affected: workaround, no fix available
-
Red Hat Certification for Red Hat Enterprise Linux 8 redhat-certification-preflightaffected: workaround, no fix planned “Out of support scope”
-
Red Hat Certification Program for Red Hat Enterprise Linux 9 redhat-certification-preflightaffected: workaround, no fix available
-
Red Hat Connectivity Link 1 rhcl-1/authorino-rhel9, 3scale-tech-preview/authorino-rhel9affected: workaround, no fix available, no fix planned “Will not fix”
-
Red Hat Developer Hub 1 rhdh-orchestrator-dev-preview-beta/controller-rhel9-operator Red Hat Enterprise Linux 8 weldr-client Red Hat Enterprise Linux 9 weldr-clientaffected: workaround, no fix planned “Will not fix”
-
Red Hat Enterprise Linux 10 rhel10/bootc-image-builderaffected: workaround, no fix available
-
Red Hat Enterprise Linux AI (RHEL AI) golangaffected: workaround, no fix planned “Will not fix”
-
Red Hat OpenShift AI (RHOAI) rhoai/odh-rhel9-operatoraffected: workaround, no fix available
-
Red Hat OpenShift Container Platform 4 kata-containers, openshift4/ose-ptp, openshift4/ose-ptp-rhel9, openshift4/ose-helm-operator, openshift4/metallb-rhel9-operator, openshift4/ose-operator-sdk-rhel8, +9 moreaffected: workaround, no fix available, no fix planned “Will not fix”
-
Red Hat Openshift Data Foundation 4 odf4/mcg-cli-rhel9affected: workaround, no fix available
-
Red Hat OpenShift Virtualization 4 kubevirt, openshift-golang-builder-container, kubevirt-tekton-tasks-test-rhel9-container, container-native-virtualization/virt-api-rhel9, container-native-virtualization/virt-cdi-cloner, container-native-virtualization/virt-cdi-cloner-rhel9, +4 moreaffected: workaround, no fix available, no fix planned “Will not fix”
-
Red Hat OpenStack Platform 16.2 rhosp-rhel8/osp-director-agent Red Hat Quay 3 quay/clair-rhel8, quay/quay-builder-rhel8, quay/quay-operator-rhel8 Red Hat Trusted Artifact Signer rhtas/cosign-rhel9affected: workaround, no fix available
-
Red Hat Zero Trust Workload Identity Manager - Tech Preview zero-trust-workload-identity-manager/spiffe-spire-agent-rhel9affected: workaround, no fix planned “Will not fix”
-
Red Hat Builds for Red Hat OpenShift 1.5.2 openshift-builds 1.5.2-1764669053fixed: vendor fix RHSA-2025:22738
-
Red Hat Builds for Red Hat OpenShift 1.6.0 openshift-builds 1.6.1-1764767096fixed: vendor fix RHSA-2025:22743
-
Red Hat Cert Manager support for Red Hat OpenShift release 1.17 cert-manager 1774341716, cert-manager 1774342146fixed: vendor fix RHSA-2026:5645
-
Red Hat multicluster engine for Kubernetes 2.7 multicluster-engine 1773091011, multicluster-engine 1773091077, multicluster-engine 1773091107, multicluster-engine 1773741020, multicluster-engine 1773970968fixed: vendor fix RHSA-2026:5636
-
Red Hat multicluster engine for Kubernetes 2.8 multicluster-engine 1765865949, multicluster-engine 1765865954, multicluster-engine 1765866268, multicluster-engine 1765866768, multicluster-engine 1765872400, multicluster-engine 1767786197, +2 morefixed: vendor fix RHSA-2026:0671
-
Red Hat multicluster engine for Kubernetes 2.9 multicluster-engine 1769693824, multicluster-engine 1769744081, multicluster-engine 1769752462, multicluster-engine 1770680575fixed: vendor fix RHSA-2026:2571
61 more fixed, 58 more not affected in the full advisory
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 12 mo ago
Exploit prediction
0.44% chance of exploitation in the next 30 days, higher than 38% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L |
| CNA | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L |
| OSV | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| bitnami | golang | <1.24.8 >=1.25.0, <1.25.2 |
1.24.8 1.25.2 |
| go | stdlib | <1.24.8 >=1.25.0, <1.25.2 |
1.24.8 1.25.2 |
Affected products
- Go standard library archive/tar
References
Sources
- CVE List CVE-2025-58183
- NVD CVE-2025-58183
- OSV BIT-golang-2025-58183
- OSV GO-2025-4014
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.