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. In 1.3.3 and earlier, a heap buffer overflow vulnerability persists in the Crypto_TC_ApplySecurity function due to an incomplete validation check on the fl (frame length) field. Although CVE-2025-29912 addressed an underflow issue involving fl, the patch fails to fully prevent unsafe calculations. As a result, an attacker can still craft malicious frames that cause a negative tf_payload_len, which is then interpreted as a large unsigned value, leading to a heap buffer overflow in a memcpy call.
CVSS Score
CRITICAL
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Nasa | Cryptolib | < 1.4.0 |
Related Weaknesses (CWE)
References
- https://github.com/nasa/CryptoLib/commit/59d1bce7608c94c6131ef4877535075b0649799Patch
- https://github.com/nasa/CryptoLib/security/advisories/GHSA-6w2x-w7w3-85w2ExploitVendor Advisory
- https://github.com/nasa/CryptoLib/security/advisories/GHSA-6w2x-w7w3-85w2ExploitVendor Advisory
FAQ
What is CVE-2025-30356?
CVE-2025-30356 is a vulnerability with a CVSS score of 9.8 (CRITICAL). 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-2025-30356?
CVE-2025-30356 has been rated CRITICAL with a CVSS base score of 9.8/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2025-30356?
Check the references section above for vendor advisories and patch information. Affected products include: Nasa Cryptolib.