{"id":"CVE-2025-64096","aliases":["CVE-2025-64096"],"related":[],"kind":"vulnerability","state":"published","title":"CryptoLib vulnerable to Stack Buffer Overflow in Crypto_Key_Update due to missing TLV length check","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2025-10-30T17:09:24.240Z","modified":"2026-06-17T09:53:48.950Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-121"],"affected":[{"ranges":[{"version":"< 1.4.2","status":"affected"}],"vendor":"nasa","product":"CryptoLib","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"1.4.2"}],"vendor":"nasa","product":"cryptolib","cpe":"cpe:2.3:a:nasa:cryptolib:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/nasa/CryptoLib/security/advisories/GHSA-w6c3-pxvr-6m6j","tags":["exploit","vendor-advisory","x-refsource-confirm"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2025-10-30T18:15:43.651Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-64096","url":"https://www.cve.org/CVERecord?id=CVE-2025-64096","licence":"CVE Terms of Use","modified":"2026-01-09T22:54:42.894Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-64096","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-64096","licence":"Public domain","modified":"2026-06-17T09:53:48.950Z"}],"updatedAt":"2026-11-25T22:59:07.056Z","epss":{"score":0.00527,"percentile":0.46104,"date":"2026-12-01T12:00:22.000Z"}}