Heap-based Buffer Overflow Affecting nasa/CryptoLib package, versions [,1.4.1)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.04% (10th 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-UNMANAGED-NASACRYPTOLIB-11799543
  • published14 Aug 2025
  • disclosed11 Aug 2025
  • creditStephan Havermans

Introduced: 11 Aug 2025

NewCVE-2025-54878  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade nasa/CryptoLib to version 1.4.1 or higher.

Overview

Affected versions of this package are vulnerable to Heap-based Buffer Overflow via the Crypto_TC_Check_IV_Setup function. An attacker can cause heap memory corruption and potentially execute arbitrary code or crash the application by supplying a specially crafted telecommand frame that results in writing past the end of a heap buffer.

References

CVSS Base Scores

version 4.0
version 3.1