CVE-2025-54878: nasa CryptoLib · Heap-based Buffer Overflow
Affects nasa CryptoLibSource CVE Database V5
Not known to be exploited · CVSS 8.6 High : upgrade to 1.4.1 soon.
Data as of 26 Oct 2026, 06:26 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 32% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 1.4.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:HExploitation evidence
Disclosed: evidence found.
CVE published 11 Aug 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-26.
What to do
Upgrade nasa CryptoLib to 1.4.1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| nasa CryptoLib | Affected
| Fixed in
|
AI-suggested
European organizations should immediately verify their use of NASA CryptoLib, especially versions prior to 1.4.1, within their space communication stacks. The primary mitigation is to upgrade to CryptoLib version 1.4.1 or later, which contains the patch for this heap buffer overflow. In environments where immediate upgrade is not feasible, organizations should implement strict input validation and filtering on incoming telecommand frames to detect and block malformed or suspicious packets that could trigger the overflow. Employing runtime memory protection mechanisms such as heap canaries, Address Space Layout Randomization (ASLR), and Control Flow Integrity (CFI) can reduce exploitation likelihood. Additionally, monitoring for anomalous crashes or telemetry disruptions can help detect attempted exploitation. Organizations should also conduct thorough code audits and fuzz testing on custom or derivative implementations of the SDLS-EP protocol to identify similar vulnerabilities. Collaboration with space communication standards bodies and NASA for threat intelligence sharing and coordinated vulnerability disclosure is recommended to enhance collective defense.
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. A heap buffer overflow vulnerability exists in NASA CryptoLib version 1.4.0 and prior in the IV setup logic for telecommand frames. The problem arises from missing bounds checks when copying the Initialization Vector (IV) into a freshly allocated buffer. An attacker can supply a crafted TC frame that causes the library to write one byte past the end of the heap buffer, leading to heap corruption and undefined behaviour. An attacker supplying a malformed telecommand frame can corrupt heap memory. This leads to undefined behaviour, which could manifest itself as a crash (denial of service) or more severe exploitation. This issue has been patched in version 1.4.0.