// THREAT ADVISORY
Memory-safety flaws in NASA CryptoLib (CCSDS SDLS-EP) before 1.4.3
·
NASA has disclosed four memory-safety vulnerabilities in CryptoLib, its software implementation of the CCSDS Space Data Link Security protocol used to secure links between cFS spacecraft and ground stations. Versions before 1.4.3 can crash, and in some cases corrupt memory, when they process malformed frames, key-management responses, configuration or database records. We are not aware of reports of exploitation in the wild.
- Segments
- Link, Space, Ground
- Affects
- Flight software, Ground station software, NASA
- SPARTA techniques
- EX-0009.01 Flight Software
EX-0009.03 Known Vulnerability (COTS/FOSS)
EX-0013.02 Erroneous Input
On 9 January 2026 NASA published four security advisories for CryptoLib, which provides 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. All affect versions up to and including 1.4.2 and are fixed in 1.4.3; NVD and the CVE records confirm this:
- GHSA-7ch6-2pmg-m853 / CVE-2026-21898 (high, CVSS 3.1 8.2): an out-of-bounds read when Crypto_AOS_ProcessSecurity parses the hash in AOS frames, with high availability impact and no privileges required. - GHSA-qjx3-83jh-2jc4 / CVE-2026-22697 (high, 7.5): a heap buffer overflow when CryptoLib decodes Base64 data returned by the KMC key-management service, in builds that use KMC. NASA says the impact could include denial of service and potentially remote code execution. - GHSA-9x7j-gx23-7m5r / CVE-2026-21897 (high, 7.3): an out-of-bounds write when adding GVCID managed parameters to the configuration. - GHSA-3m35-m689-h29x / CVE-2026-22027 (moderate, CVSS 4.0 5.7): a heap buffer overflow in the MariaDB security association interface when it loads malformed values from the database; this needs an attacker who can change the database contents.
CISA's assessment in the CVE records is that proof-of-concept exploitation exists for three of the four (all but CVE-2026-21897) and that the technical impact is partial; none is in CISA's Known Exploited Vulnerabilities catalogue. NASA's current release is 1.5.2.
We rate this medium rather than high. The frame-processing flaw is the most exposed, because it is reached by processing received frames, but CISA rates the technical impact partial, the KMC and MariaDB flaws need control of a back-end service or database, and fixes have been available since January 2026. Missions that process AOS frames with CryptoLib on links an attacker could transmit on should treat it as more urgent.
Recommended actions: - Update CryptoLib to 1.4.3 or later (NASA's current release is 1.5.2) on ground systems, and include it in the next flight software build for spacecraft that use it. - If you use the KMC integration or the MariaDB security association store, restrict who can reach and change those services and their data. - Test the update on a flight-representative testbed before uploading it to a spacecraft.
Sources
- NASA CryptoLib security advisory GHSA-7ch6-2pmg-m853: out-of-bounds read in Crypto_AOS_ProcessSecurity github.com
- NASA CryptoLib security advisory GHSA-qjx3-83jh-2jc4: heap buffer overflow in KMC Base64 decode handling github.com
- NASA CryptoLib security advisory GHSA-9x7j-gx23-7m5r: out-of-bounds write in Crypto_Config_Add_Gvcid_Managed_Parameters github.com
- NASA CryptoLib security advisory GHSA-3m35-m689-h29x: heap buffer overflow in MariaDB SA hexstring conversion github.com
- NASA CryptoLib release v1.4.3 github.com
- NASA CryptoLib releases (latest v1.5.2) github.com
- NVD: CVE-2026-21898 nvd.nist.gov
- NVD: CVE-2026-22697 nvd.nist.gov
- NVD: CVE-2026-21897 nvd.nist.gov
- NVD: CVE-2026-22027 nvd.nist.gov
Techniques refer to the SPARTA framework. Spotted an error? Tell us and we'll correct it.