CVE-2025-29912 Details
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, an unsigned integer underflow in the `Crypto_TC_ProcessSecurity` function of CryptoLib leads to a heap buffer overflow. The vulnerability is triggered when the `fl` (frame length) field in a Telecommand (TC) packet is set to 0. This underflow causes the frame length to be interpreted as 65535, resulting in out-of-bounds memory access. This critical vulnerability can be exploited to cause a denial of service (DoS) or potentially achieve remote code execution. Users of CryptoLib are advised to apply the recommended patch or avoid processing untrusted TC packets until a fix is available.
A heap buffer overflow vulnerability has been identified in CryptoLib versions through 1.3.3. The issue arises from an unsigned integer underflow in the 'Crypto_TC_ProcessSecurity' function, which is part of the implementation of the CCSDS Space Data Link Security Protocol - Extended Procedures (SDLS-EP). This vulnerability is triggered when the frame length field in a Telecommand (TC) packet is set to 0, causing the length to be misinterpreted as 65535. The resulting out-of-bounds memory access creates a critical security risk, potentially leading to a denial of service (DoS) or arbitrary code execution.
Users are advised to apply the recommended patch available in the GitHub repository or to avoid processing untrusted TC packets until a fix is implemented.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Mar 18, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/nasa/CryptoLib/commit/ca39cb96f21e76102aefb956d2c8c0ba0bd143ca | [email protected] | Patch |
| https://github.com/nasa/CryptoLib/security/advisories/GHSA-3f5x-r59x-p8cf | [email protected] | ExploitVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-787 | Out-of-bounds Write | [email protected] |
| CWE-122 | Heap-based Buffer Overflow | [email protected] |
| CWE-191 | Integer Underflow (Wrap or Wraparound) | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| nasa cryptolib | < 1.4.0 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 7, 2025 | Initial Analysis | [email protected] |
| Mar 17, 2025 | New CVE Received | [email protected] |