CVE-2025-58183 Affecting golang-docs package, versions <0:1.25.3-2.module+el8.10.0+40037+cec252d2


Severity

Recommended
medium

Based on Rocky Linux security rating.

Threat Intelligence

EPSS
0.01% (2nd 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-ROCKY8-GOLANGDOCS-14188236
  • published5 Dec 2025
  • disclosed29 Oct 2025

Introduced: 29 Oct 2025

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

How to fix?

Upgrade Rocky-Linux:8 golang-docs to version 0:1.25.3-2.module+el8.10.0+40037+cec252d2 or higher.
This issue was patched in RLSA-2025:22668.

NVD Description

Note: Versions mentioned in the description apply only to the upstream golang-docs package and not the golang-docs package as distributed by Rocky-Linux. See How to fix? for Rocky-Linux:8 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