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.
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/29xxx/CVE-2025-29912.json",
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-122",
"CWE-191"
]
}{
"source": [
"CPE_RANGE",
"REFERENCES"
],
"cpe": "cpe:2.3:a:nasa:cryptolib:*:*:*:*:*:*:*:*",
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "1.4.0"
}
]
}"2026-07-09T15:13:28Z"
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-29912.json"
[
{
"id": "CVE-2025-29912-6829b982",
"digest": {
"line_hashes": [
"146312352671957347138116315458094245629",
"224719578899484406993888791959364334734",
"336764517578373421295672448504052375199"
],
"threshold": 0.9
},
"signature_version": "v1",
"signature_type": "Line",
"source": "https://github.com/nasa/cryptolib/commit/ca39cb96f21e76102aefb956d2c8c0ba0bd143ca",
"deprecated": false,
"target": {
"file": "src/core/crypto_tc.c"
}
},
{
"id": "CVE-2025-29912-75ec0971",
"digest": {
"function_hash": "13558753078185090385275055473526822524",
"length": 5014.0
},
"signature_version": "v1",
"signature_type": "Function",
"source": "https://github.com/nasa/cryptolib/commit/ca39cb96f21e76102aefb956d2c8c0ba0bd143ca",
"deprecated": false,
"target": {
"function": "Crypto_TC_ProcessSecurity_Cam",
"file": "src/core/crypto_tc.c"
}
}
]