All CVEs / Go standard library
CVE-2025-58183Go standard library archive/tar
Medium 4.3 No auth needed
Follow: this CVE · Go standard library · Go standard library archive/tar We alert you by email or Slack (account required).
- Priority
- 41
- CVSS 3.1
- 4.3
- EPSS
- —
- Auth required
- No
- Published
- Oct 29, 2025
- Updated
- Oct 8, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
What happens
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.
What to do
- Apply the vendor's security update for archive/tar.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | stdlib |
< 1.24.8 |
1.24.8 |
go get stdlib@v1.24.8 |
| Go | stdlib |
≥ 1.25.0 < 1.25.2 |
1.25.2 |
go get stdlib@v1.25.2 |
Per OSV / GitHub Advisories (GO-2025-4014). Check the version in your lockfile before upgrading.
Affected products
- Go standard library · archive/tar
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- Red Hat Security Advisory: container-tools:rhel8 security, bug fix, and enhancement update · Red Hat · RHSA-2026:102902 · Nov 25, 2026 High
- Red Hat Security Advisory: container-tools:rhel8 security update · Red Hat · RHSA-2026:4693 · Nov 23, 2026 High
- cri-o-1.36.7-1.1 on GA media · SUSE · openSUSE-SU-2026:12626-1 · Nov 20, 2026 Critical
- Red Hat Security Advisory: Red Hat Ceph Storage 8.1 security and bug fix update · Red Hat · RHSA-2026:2711 · Aug 5, 2026 High
- Security update for govulncheck-vulndb · SUSE · openSUSE-SU-2026:21483-1 · Jul 30, 2026 Critical
- Security update for go1.24-openssl · SUSE · SUSE-SU-2026:20629-1 · Mar 3, 2026 Critical
Also: Red Hat (+67), SUSE (+11)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.