CVE-2025-64096: nasa CryptoLib · Stack-based Buffer Overflow
Affects nasa CryptoLibSource CVE Database V5
Not known to be exploited · CVSS 8.8 High : upgrade to 1.4.2 soon.
Data as of 25 Oct 2026, 19:02 UTC
- EPSS
- 0.5% chance of exploitation in 30 days – higher than 43% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 1.4.2
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 30 Oct 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.
What to do
Upgrade nasa/CryptoLib to 1.4.2.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
GitHubnasa/CryptoLibpkg:github/nasa/CryptoLibOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
To mitigate CVE-2025-64096, affected organizations must upgrade CryptoLib to version 1.4.2 or later, which includes the necessary bounds checking to prevent buffer overflows. Where immediate upgrade is not feasible, organizations should implement strict network segmentation to isolate spacecraft communication systems from untrusted networks, reducing exposure to remote attacks. Deploy deep packet inspection and anomaly detection systems to monitor for malformed TLV packets with suspicious length fields indicative of exploitation attempts. Employ rigorous input validation at all protocol layers to reject packets with invalid or out-of-range length values. Conduct regular security audits and code reviews of custom or integrated cryptographic libraries to detect similar vulnerabilities. Additionally, implement runtime protections such as stack canaries, address space layout randomization (ASLR), and control flow integrity (CFI) in the software environment to mitigate exploitation impact. Establish incident response plans specific to space communication systems to quickly address potential compromises. Collaboration with NASA and other space agencies for threat intelligence sharing is recommended to stay informed of emerging exploits or patches.
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. 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.