CVE-2025-58183: Unbounded allocation when parsing GNU sparse map in archive/tar

Published Oct 29, 2025
·
Updated

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.

Affected Software

41 affected componentsFixes available
GNU tar
Microsoft azl3 skopeo 1.14.4-6
Microsoft azl3 gcc 13.2.0-7
Microsoft cbl2 tensorflow 2.11.1-2
Microsoft azl3 golang 1.23.12-1
Microsoft azl3 moby-engine 25.0.3-13
Microsoft azl3 gh 2.62.0-9
Microsoft azl3 golang 1.25.3-1
Microsoft cbl2 golang 1.22.7-5
Microsoft cbl2 moby-engine 24.0.9-18
Microsoft cbl2 golang 1.18.8-10
Microsoft azl3 tensorflow 2.16.1-9
Microsoft cbl2 gcc 11.2.0-8
Microsoft cbl2 skopeo 1.14.2-12
Microsoft azl3 libcontainers-common 20240213-3
Microsoft cbl2 containerized-data-importer 1.55.0-25
Microsoft azl3 python-tensorboard 2.16.2-6
Microsoft azl3 containerized-data-importer 1.57.0-16
Microsoft cbl2 msft-golang 1.24.8-1
Microsoft cbl2 libcontainers-common 20210626-7
Microsoft cbl2 cri-o 1.22.3-16
Microsoft cbl2 python-tensorboard 2.11.0-3
Microsoft azl3 skopeo 1.14.4-6
Microsoft azl3 moby-engine 25.0.3-13
Microsoft cbl2 moby-engine 24.0.9-18
Microsoft azl3 gh 2.62.0-9
Microsoft cbl2 skopeo 1.14.2-12
Microsoft cbl2 containerized-data-importer 1.55.0-25
Microsoft azl3 containerized-data-importer 1.57.0-16
Microsoft cbl2 cri-o 1.22.3-16
Microsoft cbl2 skopeo 1.14.2-13
Microsoft cbl2 containerized-data-importer 1.55.0-26
Microsoft cbl2 moby-engine 24.0.9-19
Microsoft cbl2 cri-o 1.22.3-17
Microsoft azl3 skopeo 1.14.4-7
Microsoft azl3 containerized-data-importer 1.57.0-17
Microsoft azl3 gh 2.62.0-10
Microsoft azl3 moby-engine 25.0.3-14
Microsoft azl3 golang 1.25.5-1
IBM MQ Operator<=SC2: v3.2.0 - v3.2.21 CD:  v3.3.0, v3.4.0, v3.4.1, v3.5.0, v3.5.1 - v3.5.3, v3.6.0 - v3.6.4, v3.7.0 - v3.7.2, v3.8.0, v3.8.1 LTS: v2.0.0 - 2.0.29
IBM supplied MQ Advanced container images<=SC2: 9.4.0.6-r1, 9.4.0.6-r2, 9.4.0.7-r1, 9.4.0.10-r1, 9.4.0.10-r2, 9.4.0.11-r1, 9.4.0.11-r2, 9.4.0.11-r3, 9.4.0.12-r1, 9.4.0.15-r1 - 9.4.0.15-r4, 9.4.0.16-r1, 9.4.0.16-r2, 9.4.0.17-r1CD: 9.4.1.0-r1, 9.4.1.0-r2, 9.4.1.1-r1, 9.4.2.0-r1, 9.4.2.0-r2, 9.4.2.1-r1, 9.4.2.1-r2, 9.4.3.0-r1, 9.4.3.0-r2, 9.4.3.1-r1 - 9.4.3.1-r3, 9.4.4.0-r1 - 9.4.4.0-r4, 9.4.4.1-r1LTS: 9.3.0.0-r1, 9.3.0.0-r2, 9.3.0.0-r3, 9.3.0.1-r1, 9.3.0.1-r2, 9.3.0.1-r3, 9.3.0.1-r4, 9.3.0.3-r1, 9.3.0.4-r1, 9.3.0.4-r2, 9.3.0.5-r1, 9.3.0.5-r2, 9.3.0.5-r3, 9.3.0.6-r1, 9.3.0.10-r1, 9.3.0.10-r2, 9.3.0.11-r1,9.3.0.11-r2, 9.3.0.15-r1, 9.3.0.16-r1, 9.3.0.16-r2, 9.3.0.17-r1, 9.3.0.17-r2, 9.3.0.17-r3, 9.3.0.20-r1, 9.3.0.20-r2, 9.3.0.21-r1, 9.3.0.21-r2, 9.3.0.21-r3, 9.3.0.25-r1, 9.4.0.0-r1, 9.4.0.0-r2, 9.4.0.0-r3, 9.4.0.5-r1, 9.4.0.5-r2

Event History

Oct 29, 2025
CVE Published
via MITRE·10:10 PM
Data Sourced
via MITRE·10:10 PM
DescriptionWeakness
Data Sourced
via Red Hat·11:02 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·11:16 PM
DescriptionSeverity
Oct 31, 2025
Data Sourced
via Microsoft·01:04 AM
DescriptionSeverityWeaknessAffected Software
Updated
via Microsoft·01:04 AM
SeverityAffected Software
Updated
via Microsoft·01:04 AM
Affected Software
Updated
via Microsoft·08:04 AM
DescriptionSeverity
Updated
via Microsoft·08:04 AM
SeverityAffected Software
Feb 9, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-58183?

CVE-2025-58183 has a high severity rating due to its potential to cause significant memory exploitation.

2

How do I fix CVE-2025-58183?

To mitigate CVE-2025-58183, ensure you are using the latest version of GNU tar that includes the security patch.

3

What are the potential impacts of CVE-2025-58183?

CVE-2025-58183 can lead to memory exhaustion or denial of service by allowing malicious archives to consume excessive system resources.

4

Who is affected by CVE-2025-58183?

CVE-2025-58183 affects users of GNU tar, particularly those working with PAX sparse files.

5

How can I determine if my system is vulnerable to CVE-2025-58183?

You can check your installed version of GNU tar and compare it against known vulnerable versions listed in the vulnerability advisory.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203