6.3medium
CryptoLib Memory Leak on HTTP Error Response in KMC Client
- Severity
- 6.3medium CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.54% (higher than 46% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
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
| Product or package | Versions | Reported by |
|---|---|---|
| nasa CryptoLib | < 1.4.3, before 1.4.3 | CVE List, NVD |
All scores
| GitHub_M | 6.3medium CVSS:4.0 | 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 |
| NVD | 3.7low CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L |
Classification
What each source says
CVE List
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.
NVD (es)
CryptoLib proporciona una solución exclusivamente de software utilizando el Protocolo de Seguridad de Enlace de Datos Espaciales CCSDS - Procedimientos Extendidos (SDLS-EP) para asegurar las comunicaciones entre una nave espacial que ejecuta el Sistema de Vuelo Central (cFS) y una estación terrestre. Antes de la versión 1.4.3, cuando el servidor KMC devuelve un código de estado HTTP que no es 200, cryptography_encrypt() y cryptography_decrypt() retornan inmediatamente sin liberar los búferes previamente asignados. Cada solicitud fallida fuga aproximadamente 467 bytes. Fallos repetidos (de un servidor malicioso o problemas de red) pueden agotar gradualmente la memoria. Este problema ha sido parcheado en la versión 1.4.3.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-22025 changed 2026-01-13 | CVE Terms of Use |
| NVD | CVE-2026-22025 changed 2026-06-17 | Public domain |