CVE-2026-22697

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, CryptoLib’s KMC crypto service integration is vulnerable to a heap buffer overflow when decoding Base64-encoded ciphertext/cleartext fields returned by the KMC service. The decode destination buffer is sized using an expected output length (len_data_out), but the Base64 decoder writes output based on the actual Base64 input length and does not enforce any destination size limit. An oversized Base64 string in the KMC JSON response can cause out-of-bounds writes on the heap, resulting in process crash and potentially code execution under certain conditions. This issue has been patched in version 1.4.3.
Configurations

Configuration 1 (hide)

cpe:2.3:a:nasa:cryptolib:*:*:*:*:*:*:*:*

History

17 Jun 2026, 10:20

Type Values Removed Values Added
References () https://github.com/nasa/CryptoLib/security/advisories/GHSA-qjx3-83jh-2jc4 - Vendor Advisory, Exploit () https://github.com/nasa/CryptoLib/security/advisories/GHSA-qjx3-83jh-2jc4 - Exploit, Vendor Advisory
Summary
  • (es) CryptoLib proporciona una solución únicamente 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, la integración del servicio criptográfico KMC de CryptoLib es vulnerable a un desbordamiento de búfer de pila al decodificar campos de texto cifrado/texto claro codificados en Base64 devueltos por el servicio KMC. El búfer de destino de decodificación se dimensiona utilizando una longitud de salida esperada (len_data_out), pero el decodificador Base64 escribe la salida basándose en la longitud real de la entrada Base64 y no impone ningún límite de tamaño de destino. Una cadena Base64 sobredimensionada en la respuesta JSON del KMC puede causar escrituras fuera de límites en la pila, lo que resulta en un fallo del proceso y potencialmente la ejecución de código bajo ciertas condiciones. Este problema ha sido parcheado en la versión 1.4.3.

16 Jan 2026, 16:42

Type Values Removed Values Added
CPE cpe:2.3:a:nasa:cryptolib:*:*:*:*:*:*:*:*
First Time Nasa cryptolib
Nasa
References () https://github.com/nasa/CryptoLib/releases/tag/v1.4.3 - () https://github.com/nasa/CryptoLib/releases/tag/v1.4.3 - Release Notes
References () https://github.com/nasa/CryptoLib/security/advisories/GHSA-qjx3-83jh-2jc4 - () https://github.com/nasa/CryptoLib/security/advisories/GHSA-qjx3-83jh-2jc4 - Vendor Advisory, Exploit

13 Jan 2026, 22:16

Type Values Removed Values Added
References () https://github.com/nasa/CryptoLib/security/advisories/GHSA-qjx3-83jh-2jc4 - () https://github.com/nasa/CryptoLib/security/advisories/GHSA-qjx3-83jh-2jc4 -

10 Jan 2026, 01:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-01-10 01:16

Updated : 2026-06-17 10:20


NVD link : CVE-2026-22697

Mitre link : CVE-2026-22697

CVE.ORG link : CVE-2026-22697


JSON object : View

Products Affected

nasa

  • cryptolib
CWE
CWE-122

Heap-based Buffer Overflow