cve.bz

CVE-2025-58183 go standard library archive/tar

4.3 mediumEPSS 0.4%Fix available

Medium (4.3) in go standard library archive/tar. EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in stdlib 1.24.8, 1.25.2.

On this page
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.

Severity

CVSS 3.1

4.3 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 39th percentile. Scored 2026-11-22. 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 2025-10-30. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-58183 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-58183?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-58183?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-2025-58183 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 standard library archive/tarbefore 1.24.8
Go standard library archive/tarfrom 1.25.0 before 1.25.2

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GO-2025-4014Gostdlib<1.24.8
>=1.25.0 <1.25.2
1.24.8, 1.25.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12golang-1.19no fix listedDEBIAN-CVE-2025-58183
Debian13golang-1.24no fix listedDEBIAN-CVE-2025-58183
Ubuntu14.04:LTSgolang-1.10no fix listedUBUNTU-CVE-2025-58183
Ubuntu16.04:LTSgolang-1.6, golang-1.10no fix listedUBUNTU-CVE-2025-58183
Ubuntu18.04:LTSgolang-1.8, golang-1.9, golang-1.10no fix listedUBUNTU-CVE-2025-58183
Ubuntu20.04:LTSgolang-1.13, golang-1.14, golang-1.18 and 3 moreno fix listedUBUNTU-CVE-2025-58183
Ubuntu22.04:LTSgolang-1.17, golang-1.18, golang-1.20 and 5 moreno fix listedUBUNTU-CVE-2025-58183
Ubuntu24.04:LTSgolang-1.21, golang-1.22, golang-1.23 and 2 moreno fix listedUBUNTU-CVE-2025-58183
Ubuntu25.10, 26.04:LTSgolang-1.23, golang-1.24, golang-1.25no fix listedUBUNTU-CVE-2025-58183
UbuntuPro:16.04:LTSgolang-1.13, golang-1.18no fix listedUBUNTU-CVE-2025-58183
UbuntuPro:18.04:LTSgolang-1.13, golang-1.16, golang-1.18no fix listedUBUNTU-CVE-2025-58183
UbuntuPro:20.04:LTSgolang-1.16no fix listedUBUNTU-CVE-2025-58183
UbuntuPro:22.04:LTSgolang-1.13no fix listedUBUNTU-CVE-2025-58183
Red Hatceph_storage:8.1::el9ceph, cephadm, librbd1 and 56 more2:19.2.1-331.el9cpRHSA-2026:2711
Red Hatceph_storage:8.1::el9thrift, thrift-qt, perl-thrift and 9 more0:0.20.0-4.el9cpRHSA-2026:2711
Red Hatenterprise_linux:8::appstreamaardvark-dns2:1.10.1-2.module+el8.10.0+23772+e5018371RHSA-2025:23374
Red Hatenterprise_linux:8::appstreambuildah, buildah-tests, buildah-debuginfo and 2 more2:1.33.12-3.module+el8.10.0+23772+e5018371RHSA-2025:23374
Red Hatenterprise_linux:8::appstreamcockpit-podman0:84.1-1.module+el8.10.0+23772+e5018371RHSA-2025:23374
Red Hatenterprise_linux:8::appstreamconmon, conmon-debuginfo, conmon-debugsource3:2.1.10-1.module+el8.10.0+23772+e5018371RHSA-2025:23374
Red Hatenterprise_linux:8::appstreamcontainer-selinux2:2.229.0-2.module+el8.10.0+23772+e5018371RHSA-2025:23374
Red Hatenterprise_linux:8::appstreamcontainernetworking-plugins, containernetworking-plugins-debuginfo, containernetworking-plugins-debugsource1:1.4.0-6.module+el8.10.0+23772+e5018371RHSA-2025:23374
Red Hatenterprise_linux:8::appstreamcontainers-common2:1-82.module+el8.10.0+23772+e5018371RHSA-2025:23374
Red Hatenterprise_linux:8::appstreamcrit, criu, criu-libs and 5 more0:3.18-5.module+el8.10.0+23772+e5018371RHSA-2025:23374
Red Hatenterprise_linux:8::appstreamcrun, crun-debuginfo, crun-debugsource0:1.14.3-2.module+el8.10.0+23772+e5018371RHSA-2025:23374
Red Hatenterprise_linux:8::appstreamdelve, delve-debuginfo, delve-debugsource0:1.25.2-1.module+el8.10.0+23746+9db33b5eRHSA-2025:22668
173 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 11 morego1.241.24.9-150000.1.42.1SUSE-SU-2025:3682-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 11 morego1.251.25.2-150000.1.14.1SUSE-SU-2025:03547-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 5 morego1.24-openssl1.24.12-150000.1.18.1SUSE-SU-2026:0296-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 5 morego1.25-openssl1.25.6-150000.1.9.1SUSE-SU-2026:0297-1
SUSELinux Enterprise Module for Development Tools 15 SP7, Linux Enterprise Server 15 SP6-LTSS, Linux Enterprise Server for SAP Applications 15 SP6go1.24-openssl1.24.12-150600.13.15.1SUSE-SU-2026:0308-1
SUSELinux Enterprise Module for Development Tools 15 SP7, Linux Enterprise Server 15 SP6-LTSS, Linux Enterprise Server for SAP Applications 15 SP6go1.25-openssl1.25.6-150600.13.9.1SUSE-SU-2026:0298-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0go1.241.24.11-160000.1.1SUSE-SU-2025:21193-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0go1.24-openssl1.24.13-160000.1.1SUSE-SU-2026:20629-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0go1.251.25.5-160000.1.1SUSE-SU-2025:21192-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0go1.25-openssl1.25.7-160000.1.1SUSE-SU-2026:20623-1
openSUSELeap 15.6go1.241.24.9-150000.1.42.1SUSE-SU-2025:3682-1
openSUSELeap 15.6go1.24-openssl1.24.12-150600.13.15.1SUSE-SU-2026:0308-1
openSUSELeap 15.6go1.251.25.2-150000.1.14.1SUSE-SU-2025:03547-1
openSUSELeap 15.6go1.25-openssl1.25.6-150600.13.9.1SUSE-SU-2026:0298-1
openSUSELeap 16.0go1.241.24.11-160000.1.1openSUSE-SU-2025:20158-1
openSUSELeap 16.0go1.24-openssl1.24.13-160000.1.1openSUSE-SU-2026:20308-1
openSUSELeap 16.0go1.251.25.5-160000.1.1openSUSE-SU-2025:20157-1
openSUSELeap 16.0go1.25-openssl1.25.7-160000.1.1openSUSE-SU-2026:20301-1
openSUSELeap 16.0govulncheck-vulndb0.0.20260723T184607-160000.1.1openSUSE-SU-2026:21483-1
openSUSETumbleweedcri-o1.36.7-1.1openSUSE-SU-2026:12626-1
openSUSETumbleweedgo1.241.24.8-1.1openSUSE-SU-2025:15608-1
openSUSETumbleweedgo1.251.25.2-1.1openSUSE-SU-2025:15609-1
3 more for openSUSE in the JSON and on openSUSE's page.
AlmaLinux8delve1.25.2-1.module_el8.10.0+4074+24330916ALSA-2025:22668
AlmaLinux8golang, go-toolset, golang-bin and 5 more1.25.3-2.module_el8.10.0+4074+24330916ALSA-2025:22668
AlmaLinux8grafana, grafana-selinux9.2.10-26.el8_10ALSA-2025:23948
AlmaLinux8osbuild-composer, osbuild-composer-core, osbuild-composer-worker101.4-2.el8_10.alma.1ALSA-2026:1380
AlmaLinux9buildah, buildah-tests2:1.41.6-1.el9_7ALSA-2025:22011
AlmaLinux9delve1.25.2-1.el9_7ALSA-2025:21815
AlmaLinux9golang, go-toolset, golang-bin and 5 more1.25.3-1.el9_7ALSA-2025:21815
AlmaLinux9grafana, grafana-selinux10.2.6-17.el9_7ALSA-2025:23087
AlmaLinux9image-builder31-2.el9_7ALSA-2026:1377
AlmaLinux9osbuild-composer, osbuild-composer-core, osbuild-composer-worker149-3.el9_7.alma.3ALSA-2026:1381
AlmaLinux9podman, podman-tests, podman-docker and 2 more6:5.6.0-9.el9_7ALSA-2025:23325
AlmaLinux9skopeo, skopeo-tests2:1.20.0-2.el9_7ALSA-2025:23326
7 more for AlmaLinux in the JSON.
Rocky Linux8aardvark-dns2:1.10.1-2.module+el8.10.0+1874+ce489889RLSA-2025:23374
Rocky Linux8aardvark-dns2:1.10.1-2.module+el8.10.0+1880+8e896d1bRLSA-2025:23374
Rocky Linux8aardvark-dns2:1.10.1-2.module+el8.10.0+1896+b18fa106RLSA-2025:23374
Rocky Linux8aardvark-dns2:1.10.1-2.module+el8.10.0+1948+4b5cd4a9RLSA-2025:23374
Rocky Linux8aardvark-dns2:1.10.1-2.module+el8.10.0+2001+6a33db9fRLSA-2025:23374
Rocky Linux8aardvark-dns2:1.10.1-2.module+el8.10.0+40047+0c0a73f4RLSA-2025:23374
Rocky Linux8cockpit-podman0:84.1-1.module+el8.10.0+1815+5fe7415eRLSA-2025:23374
Rocky Linux8cockpit-podman0:84.1-1.module+el8.10.0+1825+623b0c20RLSA-2025:23374
Rocky Linux8cockpit-podman0:84.1-1.module+el8.10.0+1843+6892ab28RLSA-2025:23374
Rocky Linux8cockpit-podman0:84.1-1.module+el8.10.0+1872+2e18eb19RLSA-2025:23374
Rocky Linux8cockpit-podman0:84.1-1.module+el8.10.0+1874+ce489889RLSA-2025:23374
Rocky Linux8cockpit-podman0:84.1-1.module+el8.10.0+1880+8e896d1bRLSA-2025:23374
46 more for Rocky Linux in the JSON.

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. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

To exploit this issue, an attacker needs to be able to process a specially crafted GNU tar pax 1.0 archive with the application using the archive/tar package. Additionally, this issue can cause the Go application to allocate a large amount of memory, eventually leading to an out-of-memory condition and resulting in a denial of service with no other security impact. Due to these reasons, this flaw has been rated with a moderate severity.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Ceph Storage 8.1ceph-2:19.2.1-331.el9cpFixed 2026-02-16RHSA-2026:2711
Red Hat Enterprise Linux 10delve-0:1.25.2-1.el10_1Fixed 2025-11-20RHSA-2025:21816
Red Hat Enterprise Linux 10golang-0:1.25.3-1.el10_1Fixed 2025-11-20RHSA-2025:21816
Red Hat Enterprise Linux 10buildah-2:1.41.6-1.el10_1Fixed 2025-11-25RHSA-2025:22012
Red Hat Enterprise Linux 10grafana-0:10.2.6-21.el10_1Fixed 2025-12-11RHSA-2025:23088
Red Hat Enterprise Linux 10skopeo-2:1.20.0-2.el10_1Fixed 2025-12-18RHSA-2025:23294
Red Hat Enterprise Linux 10podman-7:5.6.0-8.el10_1Fixed 2025-12-18RHSA-2025:23295
Red Hat Enterprise Linux 10osbuild-composer-0:149-4.el10_1Fixed 2026-02-05RHSA-2026:1837
Red Hat Enterprise Linux 10image-builder-0:31-3.el10_1Fixed 2026-02-05RHSA-2026:1838
Red Hat Enterprise Linux 10.0 Extended Update Supportdelve-0:1.25.2-1.el10_0Fixed 2025-11-20RHSA-2025:21779
Assisted Installer for Red Hat OpenShift Container Platform 2rhai/assisted-installer-rhel9Affected
Custom Metric Autoscaler operator for Red Hat Openshiftcustom-metrics-autoscaler/custom-metrics-autoscaler-rhel9Not affected
Deployment Validation Operatordvo/deployment-validation-rhel8-operatorAffected
external secrets operator for Red Hat OpenShift - Tech Previewexternal-secrets-operator/external-secrets-rhel9Will not fix
Gatekeeper 3gatekeeper/gatekeeper-rhel9Affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/logging-loki-rhel9Not affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/lokistack-gateway-rhel9Not affected
Migration Toolkit for Applications 7mta/mta-analyzer-addon-rhel9Affected
Migration Toolkit for Applications 7mta/mta-cli-rhel9Affected
Migration Toolkit for Applications 7mta/mta-discovery-addon-rhel9Affected
604 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-2025-58183.

References

Check your stackJSON