Out-of-bounds Write Affecting nasa/CryptoLib package, versions [,1.4.3)


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.27% (19th 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 Learn

Learn about Out-of-bounds Write vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-NASACRYPTOLIB-14912432
  • published10 Jan 2026
  • disclosed10 Jan 2026
  • creditUnknown

Introduced: 10 Jan 2026

CVE-2026-21897  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade nasa/CryptoLib to version 1.4.3 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Write via the Crypto_Config_Add_Gvcid_Managed_Parameters function. An attacker can overwrite memory beyond the intended bounds by providing input that causes the function to write past the end of the gvcid_managed_parameters_array, potentially altering the value of gvcid_counter and affecting parameter lookup or registration logic.

CVSS Base Scores

version 4.0
version 3.1