CVE-2025-54878: nasa cryptolib Heap-based Buffer Overflow
Vulnerability summary
CVE-2025-54878 is a high (CVSS 8.6) Heap-based Buffer Overflow vulnerability in nasa cryptolib. EPSS estimates a 0.39% chance of exploitation in the next 30 days, higher than 31.5% of scored vulnerabilities. 1 public exploit is recorded.
Timeline
- 11-08-2025PublishedVulnerability first disclosed.
- 11-08-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
2 scores · 2 sources · 1 version- NVDNIST8.6HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H
EPSS trend
Probability
0.39%
Chance of exploitation in the next 30 days
Percentile
32%
Versus all other CVEs
30-day change
0.00 pp
From 0.39% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundCryptolib
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Nasa1 product
- cryptolib< 1.4.1
1 vendor · 1 product
References
2 links- github.com/nasa/CryptoLib/security/advisories/GHSA-9qph-pxfm-q9g4X Refsource CONFIRMExploitThird Party Advisory