Read the docs
TI-2025-39547 Aliases CVE-2025-64096

CryptoLib vulnerable to Stack Buffer Overflow in Crypto_Key_Update due to missing TLV length check

Priority HIGH 73CWE-121Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.0 · CNA. Fix status from CNA. Impact type from CWE-121 and the CVSS impact.

Summary

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 1.4.2, there is a missing bounds check in Crypto_Key_update() (crypto_key_mgmt.c) which allows a remote attacker to trigger a stack-based buffer overflow by supplying a TLV packet with a spoofed length field. The function calculates the number of keys from an attacker-controlled field (pdu_len), which may exceed the static array size (kblk[98]), leading to an out-of-bounds write and potential memory corruption. This vulnerability is fixed in 1.4.2.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00515 44th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed CryptoLib (nasa): 1.4.2

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
nasaCryptoLibbefore 1.4.21.4.2Patch availableCNA
  • CryptoLib Vendornasa Affected before 1.4.2 Fixed in 1.4.2 Patch available CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:nasa:cryptolib:*:*:*:*:*:*:*:*before 1.4.2Vulnerablenasa
  • cpe:2.3:a:nasa:cryptolib:*:*:*:*:*:*:*:* Versions before 1.4.2 Vulnerable ·nasa

Remediation

  • Fix · CNA CryptoLib (nasa) Fixed in 1.4.2

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-64096

References

  • TI-2025-21552 CryptoLib Has Heap Overflow in Crypto_TM_ProcessSecurity due to Unchecked Secondary Header Length CVSS 3.1CRITICAL 9.4
  • TI-2025-21662 Heap Buffer Overflow via Incomplete Length Check in `Crypto_TC_ApplySecurity` CVSS 4.0CRITICAL 9.3
  • TI-2025-21298 CryptoLib's Crypto_TC_Prep_AAD Has Buffer Overflow Due to Integer Underflow CVSS 4.0HIGH 8.9
  • TI-2025-21297 CryptoLib Has Heap Buffer Overflow Due to Unsigned Integer Underflow in Crypto_TC_ProcessSecurity CVSS 4.0HIGH 8.9
  • TI-2025-21296 CryptoLib Has Heap Buffer Overflow in Crypto_AOS_ProcessSecurity Function CVSS 4.0HIGH 8.9
  • TI-2025-21294 CryptoLib's Crypto_TC_ApplySecurity() Has a Heap Buffer Overflow Vulnerability CVSS 4.0HIGH 8.9
See all 26 →

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences