CVE-2025-58183
golang: archive/tar: Unbounded allocation when parsing GNU sparse map
Overview
Description
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.
Source: OX vulnerability database
Severity
4.3 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- Low
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
Affected packages · 2
Operating systems · 1,498 fixes
Azure Linux 1 release · 4 packages
| Release | Package | Fixed in |
|---|---|---|
| 3.0 | skopeo | 0:1.14.4-7.azl3 |
| 3.0 | containerized-data-importer | 0:1.57.0-17.azl3 |
| 3.0 | gh | 0:2.62.0-10.azl3 |
| 3.0 | moby-engine | 0:25.0.3-14.azl3 |
Oracle Linux 2 releases · 24 packages
| Release | Package | Fixed in |
|---|---|---|
| 8 | udica | 0.2.6-21.module+el8.10.0+90731+0506229e |
| 8 | fuse-overlayfs | 1.13-1.module+el8.10.0+90731+0506229e |
| 8 | crun | 1.14.3-2.module+el8.10.0+90731+0506229e |
| 8 | oci-seccomp-bpf-hook | 1.2.10-1.module+el8.10.0+90731+0506229e |
| 8 | slirp4netns | 1.2.3-1.module+el8.10.0+90731+0506229e |
| 8 | delve | 1.25.2-1.0.1.module+el8.10.0+90715+2d4d8dfd |
25 more rows
Photon OS 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 5.0 | go | 1.24.13-1.ph5 |
Red Hat 5 releases · 36 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | cri-o +65 | affected | — |
| 8 | openshift-service-mesh-istio-cni-rhel8 +6 | affected | — |
| 8 | weldr-client | wont fix | — |
| 8 | cri-o | 0:1.31.13-6.rhaos4.18.git7ed6156.el8 | RHSA-2026:2071 |
| 8 | osbuild-composer +2 | 0:101.4-2.el8_10 | RHSA-2026:1380 |
| 8 | osbuild-composer +2 | 0:28.7-4.el8_4 | RHSA-2026:0987 |
185 more rows
SUSE Linux Enterprise 5 releases · 4 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 15.4 | go1-24-openssl +2 | 1.24.12-150000.1.18.1 | SUSE-SU-2026:0296-1 |
| 15.4 | go1-24 +2 | 1.24.9-150000.1.42.1 | SUSE-SU-2025:3682-1 |
| 15.4 | go1-25 +2 | 1.25.2-150000.1.14.1 | SUSE-SU-2025:03547-1 |
| 15.4 | go1-25-openssl +2 | 1.25.6-150000.1.9.1 | SUSE-SU-2026:0297-1 |
| 15.5 | go1-24-openssl +2 | 1.24.12-150000.1.18.1 | SUSE-SU-2026:0296-1 |
| 15.5 | go1-24 +2 | 1.24.9-150000.1.42.1 | SUSE-SU-2025:3682-1 |
14 more rows
alma 4 releases · 10 packages
| Release | Package | Fixed in |
|---|---|---|
| 10 | golang-docs +3 | 1.25.3-1.el10_1.alma.1 |
| 10 | podman-docker | 7:5.6.0-8.el10_1 |
| 8 | osbuild-composer +2 | 101.4-2.el8_10.alma.1 |
| 8 | grafana +1 | 9.2.10-26.el8_10 |
| 8 (go-toolset:rhel8) | delve | 1.25.2-1.module_el8.10.0+4074+24330916 |
| 8 (go-toolset:rhel8) | go-toolset +7 | 1.25.3-2.module_el8.10.0+4074+24330916 |
8 more rows
alpine 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | go | 1.24.8-r0 |
| 3.23 | go | 1.25.2-r0 |
| 3.24 | go | 1.25.2-r0 |
| edge | go | 1.25.2-r0 |
amazon linux 1 release · 15 packages
| Release | Package | Fixed in |
|---|---|---|
| 2023 | oci-add-hooks +2 | 0-0.1.20200504git268e3bb.amzn2023.0.6 |
| 2023 | golist +2 | 0.10.1-11.amzn2023.0.5 |
| 2023 | amazon-ecr-credential-helper | 0.10.1-3.amzn2023 |
| 2023 | soci-snapshotter | 0.11.1-1.amzn2023.0.3 |
| 2023 | runfinch-finch | 1.10.0-1.amzn2023.0.5 |
| 2023 | ecs-init | 1.101.0-1.amzn2023 |
9 more rows
chainguard 1 release · 561 packages
| Release | Package | Fixed in |
|---|---|---|
| gke-gcloud-auth-plugin +14 | not affected | |
| qemu-guesthelper | 0.0.1-r5 | |
| kube-vip-cloud-provider-0-0-10 | 0.0.10-r5 | |
| stakater-reloader-0-0-119 | 0.0.119-r25 | |
| kube-vip-cloud-provider | 0.0.12-r5 | |
| stakater-reloader-0-0-128 | 0.0.128-r24 |
555 more rows
debian 4 releases · 4 packages
| Release | Package | Fixed in |
|---|---|---|
| 11 | golang-1-15 | affected |
| 12 | golang-1-19 | affected |
| 13 | golang-1-23 +1 | affected |
| 14 | golang-1-24 | 1.24.8-1 |
echo 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| golang-1-19 | affected | |
| golang-1-24 | 1.24.8 |
minimos 1 release · 214 packages
| Release | Package | Fixed in |
|---|---|---|
| pombump | 0.0.16-r0 | |
| cargobump | 0.1.0-r1 | |
| grype | 0.101.1-r0 | |
| falcoctl +1 | 0.11.4-r1 | |
| kserve-modelmesh-runtime-adapter +2 | 0.12.0-r2 | |
| kserve-rest-proxy-fips | 0.12.0-r3 |
208 more rows
openSUSE 1 release · 5 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | govulncheck-vulndb | 0.0.20251029T215107-1.1 | openSUSE-SU-2025:15695-1 |
| Tumbleweed | regclient +3 | 0.10.0-1.1 | openSUSE-SU-2025:15723-1 |
| Tumbleweed | opentofu | 1.10.7-1.1 | openSUSE-SU-2025:15711-1 |
| Tumbleweed | go1-24 +3 | 1.24.8-1.1 | openSUSE-SU-2025:15608-1 |
| Tumbleweed | go1-25 +3 | 1.25.2-1.1 | openSUSE-SU-2025:15609-1 |
openSUSE Leap 1 release · 4 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 16.0 | go1-24 +3 | 1.24.11-160000.1.1 | openSUSE-SU-2025:20158-1 |
| 16.0 | go1-24-openssl +2 | 1.24.13-160000.1.1 | openSUSE-SU-2026:20308-1 |
| 16.0 | go1-25 +3 | 1.25.5-160000.1.1 | openSUSE-SU-2025:20157-1 |
| 16.0 | go1-25-openssl +2 | 1.25.7-160000.1.1 | openSUSE-SU-2026:20301-1 |
rocky 5 releases · 25 packages
| Release | Package | Fixed in |
|---|---|---|
| 10 | delve | 1.25.2-1.el10_1 |
| 10 | go-toolset +7 | 1.25.3-1.el10_1 |
| 10 | grafana +1 | 10.2.6-21.el10_1 |
| 10 | osbuild-composer +2 | 149-4.el10_1.rocky.0.8 |
| 10 | skopeo +1 | 2:1.20.0-2.el10_1 |
| 10 | buildah +1 | 2:1.41.6-1.el10_1 |
155 more rows
root.io debian 2 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 12 | rootio-golang-1-19 | affected |
| 13 | golang-1-24 +1 | 1.24.4-1.root.io.8 |
seal Red Hat 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 8 | cups +1 | 1:2.2.6-51.el8_8.2+sp999 |
| 9 | cups +1 | 1:2.3.3op2-16.el9+sp999 |
| 9 | cups +1 | 1:2.3.3op2-16.el9_2.1+sp999 |
| 9 | cups +1 | 1:2.3.3op2-31.el9_5+sp999 |
wolfi 1 release · 261 packages
| Release | Package | Fixed in |
|---|---|---|
| gke-gcloud-auth-plugin +8 | not affected | |
| kube-vip-cloud-provider | 0.0.12-r5 | |
| dagdotdev | 0.0.17-r3 | |
| wireguard-go | 0.0.20250522-r5 | |
| local-path-provisioner | 0.0.32-r2 | |
| sbom-scorecard | 0.0.7-r24 |
255 more rows
References
- www.openwall.com http://www.openwall.com/lists/oss-security/2025/10/08/1
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:1380
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:1381
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:3122
- access.redhat.com https://access.redhat.com/security/cve/CVE-2025-58183
- bugzilla.redhat.com https://bugzilla.redhat.com/2407258
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2407258
- creativecommons.org https://creativecommons.org/licenses/by/4.0/
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-58183
- errata.almalinux.org https://errata.almalinux.org/9/ALSA-2026-1381.html
Show all 19 references
- errata.rockylinux.org https://errata.rockylinux.org/RLSA-2026:1380
- go.dev https://go.dev/cl/709861
- go.dev https://go.dev/issue/75677
- groups.google.com https://groups.google.com/g/golang-announce/c/4Emdl2iQ_bI
- linux.oracle.com https://linux.oracle.com/cve/CVE-2025-58183.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2026-50076.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2025-58183
- pkg.go.dev https://pkg.go.dev/vuln/GO-2025-4014
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2025-58183
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.