CVE-2025-58183 Affecting golang-src package, versions <0:1.24.8-1.amzn2023.0.1


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.01% (1st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN2023-GOLANGSRC-13731410
  • published29 Oct 2025
  • disclosed29 Oct 2025

Introduced: 29 Oct 2025

NewCVE-2025-58183  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 golang-src to version 0:1.24.8-1.amzn2023.0.1 or higher.
This issue was patched in ALAS2023-2025-1239.

NVD Description

Note: Versions mentioned in the description apply only to the upstream golang-src package and not the golang-src package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1