Memory Allocation with Excessive Size Value Affecting github.com/nwaples/rardecode package, versions <2.2.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.02% (3rd 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-GOLANG-GITHUBCOMNWAPLESRARDECODE-13537507
  • published13 Oct 2025
  • disclosed10 Oct 2025
  • creditUnknown

Introduced: 10 Oct 2025

NewCVE-2025-11579  (opens in a new tab)
CWE-789  (opens in a new tab)

How to fix?

Upgrade github.com/nwaples/rardecode to version 2.2.0 or higher.

Overview

Affected versions of this package are vulnerable to Memory Allocation with Excessive Size Value via the maxDictSize parameter when processing large RAR files. An attacker can cause the application to crash or become unresponsive by supplying a specially crafted RAR archive that triggers excessive memory allocation.

References

CVSS Base Scores

version 4.0
version 3.1