Vulnerability 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, CryptoLib’s KMC crypto service integration is vulnerable to a heap buffer overflow when decoding Base64-encoded ciphertext/cleartext fields returned by the KMC service. The decode destination buffer is sized using an expected output length (len_data_out), but the Base64 decoder writes output based on the actual Base64 input length and does not enforce any destination size limit. An oversized Base64 string in the KMC JSON response can cause out-of-bounds writes on the heap, resulting in process crash and potentially code execution under certain conditions. This issue has been patched in version 1.4.3.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Nasa | Cryptolib | < 1.4.3 |
Related Weaknesses (CWE)
References
- https://github.com/nasa/CryptoLib/releases/tag/v1.4.3Release Notes
- https://github.com/nasa/CryptoLib/security/advisories/GHSA-qjx3-83jh-2jc4Vendor AdvisoryExploit
- https://github.com/nasa/CryptoLib/security/advisories/GHSA-qjx3-83jh-2jc4Vendor AdvisoryExploit
FAQ
What is CVE-2026-22697?
CVE-2026-22697 is a vulnerability with a CVSS score of 7.5 (HIGH). 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 Syst...
How severe is CVE-2026-22697?
CVE-2026-22697 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-22697?
Check the references section above for vendor advisories and patch information. Affected products include: Nasa Cryptolib.