What’s Vulnerable › Vulnerabilities
CVE-2026-21897: CryptoLib Has Out-of-Bounds Write in Crypto_Config_Add_Gvcid_Managed_Parameters
- Severity: high (CVSS 7.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-01-10 · updated 2026-06-17
- Weakness: CWE-787
Description
CryptoLib provides a software-only solution using the CCSDS Space Data Link Security Protocol - Extended Procedures (SDLS-EP) to secure communications between a spacecraft running the core Flight System (cFS) and a ground station. Prior to version 1.4.3, the Crypto_Config_Add_Gvcid_Managed_Parameters function only checks whether gvcid_counter > GVCID_MAN_PARAM_SIZE. As a result, it allows up to the 251st entry, which causes a write past the end of the array, overwriting gvcid_counter located immediately after gvcid_managed_parameters_array[250]. This leads to an out-of-bounds write, and the overwritten gvcid_counter may become an arbitrary value, potentially affecting the parameter lookup/registration logic that relies on it. This issue has been patched in version 1.4.3.
Affected products
- nasa CryptoLib: before 1.4.3 — fixed in 1.4.3
How to fix
Upgrade to a fixed version: nasa CryptoLib 1.4.3. Check the vendor advisory for mitigations.
References
- https://github.com/nasa/CryptoLib/releases/tag/v1.4.3
- https://github.com/nasa/CryptoLib/security/advisories/GHSA-9x7j-gx23-7m5r
Get alerted when CVE-2026-21897 or the next vulnerability affects your stack