CVE-2025-30216 in Nasa Cryptolib
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 versions 1.3.3 and prior, a Heap Overflow vulnerability occurs in the `Crypto_TM_Pr...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Nasa | Cryptolib | < 1.4.0 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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 versions 1.3.3 and prior, a Heap Overflow vulnerability occurs in the `Crypto_TM_ProcessSecurity` function (`crypto_tm.c:1735:8`). When processing the Secondary Header Length of a TM protocol packet, if the Secondary Header Length exceeds the packet's total length, a heap overflow is triggered during the memcpy operation that copies packet data into the dynamically allocated buffer `p_new_dec_frame`. This allows an attacker to overwrite adjacent heap memory, potentially leading to arbitrary code execution or system instability. A patch is available at commit 810fd66d592c883125272fef123c3240db2f170f.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2025-30216 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-251411-C |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
| Published | 2025-03-25 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-122: Heap-Based Buffer Overflow
Buffer overflow corrupting dynamically allocated heap memory, exploitable for arbitrary code execution.
CWE-787: Out-of-Bounds Write
Software writes data past buffer boundaries, corrupting memory and potentially enabling code execution.
Related attack patterns (CAPEC)
CAPEC-92 Forced Integer Overflow via CWE-122
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A Heap Overflow vulnerability exists in CryptoLib versions 1.3.3 and prior, affecting the `Crypto_TM_ProcessSecurity` function. This could allow an attacker to execute arbitrary code, leading to a potential compromise of the spacecraft's communication security.
The vulnerability is triggered by a maliciously crafted Secondary Header in the SDLS-EP protocol, which can cause a buffer overflow in the `Crypto_TM_ProcessSecurity` function. An attacker with the ability to send crafted packets to the spacecraft could exploit this to execute arbitrary code.
Questions
What is CVE-2025-30216?
A Heap Overflow vulnerability exists in CryptoLib versions 1.3.3 and prior, affecting the `Crypto_TM_ProcessSecurity` function. This could allow an attacker to execute arbitrary code, leading to a potential compromise of the spacecraft's communication security.
What is the CVSS score for CVE-2025-30216?
CVE-2025-30216 has CVSS 9.1 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H. EPSS: 3.8%.
Is CVE-2025-30216 actively exploited?
No confirmed active exploitation of CVE-2025-30216 as of 2026-09-25.
How do I remediate CVE-2025-30216?
Priority: IMMEDIATE. PSIRT: [email protected]
What systems are affected by CVE-2025-30216?
CVE-2025-30216 affects Nasa Cryptolib.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Nasa","product":"Cryptolib","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.