Vulnerability · Published Jan 10, 2026 · Assigned by GitHub_M
CVE-2026-22025CryptoLib Memory Leak on HTTP Error Response in KMC Client
Medium 6.3
In plain English
A medium-severity memory leak in CryptoLib from nasa. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 46% of all known vulnerabilities).
Official 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. Prior to version 1.4.3, when the KMC server returns a non-200 HTTP status code, cryptography_encrypt() and cryptography_decrypt() return immediately without freeing previously allocated buffers. Each failed request leaks approximately 467 bytes. Repeated failures (from a malicious server or network issues) can gradually exhaust memory. This issue has been patched in version 1.4.3.
Affected products (as reported)
Weakness: CWE-401, CWE-770 · Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
References
- https://github.com/nasa/CryptoLib/security/advisories/GHSA-h74x-vwwr-mm5g x_refsource_CONFIRM
- https://github.com/nasa/CryptoLib/commit/2372efd3da1ccb226b4297222e25f41ecc84821d x_refsource_MISC
- https://github.com/nasa/CryptoLib/releases/tag/v1.4.3 x_refsource_MISC