CVE-2025-30356 Details
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.
A heap buffer overflow vulnerability has been identified in CryptoLib versions through 1.3.3. The issue arises in the Crypto_TC_ApplySecurity function, where an incomplete validation of the frame length allows attackers to craft malicious frames. This exploitation causes a negative payload length, interpreted as a large unsigned value, leading to a buffer overflow during memory copying operations.
Users are advised to update to version 1.4.0, where this vulnerability has been addressed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 2, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/nasa/CryptoLib/security/advisories/GHSA-6w2x-w7w3-85w2 | CISA-ADP | ExploitVendor Advisory |
| https://github.com/nasa/CryptoLib/commit/59d1bce7608c94c6131ef4877535075b0649799c | [email protected] | Patch |
| https://github.com/nasa/CryptoLib/security/advisories/GHSA-6w2x-w7w3-85w2 | [email protected] | ExploitVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-787 | Out-of-bounds Write | [email protected] |
| CWE-191 | Integer Underflow (Wrap or Wraparound) | [email protected] |
| CWE-787 | Out-of-bounds Write | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| nasa cryptolib | < 1.4.0 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 29, 2025 | Initial Analysis | [email protected] |
| Apr 2, 2025 | CVE Modified | CISA-ADP |
| Apr 1, 2025 | New CVE Received | [email protected] |