# CVE-2026-21897: CryptoLib Has Out-of-Bounds Write in Crypto_Config_Add_Gvcid_Managed_Parameters

- Severity: High 7.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 22% of CVEs (2026-12-01)
- Published: 2026-01-10T00:07:16.920Z
- Modified: 2026-06-17T10:19:06.680Z
- Weaknesses: CWE-787
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- nasa CryptoLib: < 1.4.3; before 1.4.3

## References

- <https://github.com/nasa/CryptoLib/security/advisories/GHSA-9x7j-gx23-7m5r> (vendor-advisory)
- <https://github.com/nasa/CryptoLib/releases/tag/v1.4.3> (release-notes)

## Sources

- CVE List: [CVE-2026-21897](https://www.cve.org/CVERecord?id=CVE-2026-21897), CVE Terms of Use, modified 2026-01-12
- NVD: [CVE-2026-21897](https://nvd.nist.gov/vuln/detail/CVE-2026-21897), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-21897 · Whole record: https://cve.day/CVE-2026-21897.json · Rebuilt by cve.day 2026-11-25T22:59:12.697Z
