CVE-2026-21897: CryptoLib Has Out-of-Bounds Write in Crypto_Config_Add_Gvcid_Managed_Parameters
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 CryptoConfigAddGvcidManagedParameters function only checks whether gvcidcounter > GVCIDMANPARAMSIZE. As a result, it allows up to the 251st entry, which causes a write past the end of the array, overwriting gvcidcounter located immediately after gvcidmanagedparametersarray[250]. This leads to an out-of-bounds write, and the overwritten gvcidcounter 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 Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-21897?
CVE-2026-21897 is considered a moderate severity vulnerability that affects the CryptoLib software prior to version 1.4.3.
How do I fix CVE-2026-21897?
To fix CVE-2026-21897, upgrade CryptoLib to version 1.4.3 or later.
Who is affected by CVE-2026-21897?
CVE-2026-21897 impacts users of CryptoLib versions prior to 1.4.3 that use the CCSDS Space Data Link Security Protocol.
What components are impacted by CVE-2026-21897?
CVE-2026-21897 affects the Crypto_Config_Add_Gvcid_M function in CryptoLib.
Is there a workaround for CVE-2026-21897?
There are no documented workarounds for CVE-2026-21897; upgrading to the latest version is recommended.