CVE-2026-22027
JSON

5.7medium

CryptoLib Vulnerable to Heap Buffer Overflow in MariaDB SA Hexstring Conversion

Severity
5.7medium CVSS:4.0 by GitHub_M
Exploit likelihood
0.24% (higher than 16% 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, the convert_hexstring_to_byte_array() function in the MariaDB SA interface writes decoded bytes into a caller-provided buffer without any capacity check. When importing SA fields from the database (e.g., IV, ARSN, ABM), a malformed or oversized hex string in the database can overflow the destination buffer, corrupting adjacent heap memory. This issue has been patched in version 1.4.3.

Affected

Product or packageVersionsReported by
nasa CryptoLib< 1.4.3, before 1.4.3CVE List, NVD

All scores

GitHub_M5.7medium CVSS:4.0CVSS:4.0/AV:L/AC:L/AT:P/PR:H/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N
NVD6.0medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H

Classification

CWE-122

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

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, the convert_hexstring_to_byte_array() function in the MariaDB SA interface writes decoded bytes into a caller-provided buffer without any capacity check. When importing SA fields from the database (e.g., IV, ARSN, ABM), a malformed or oversized hex string in the database can overflow the destination buffer, corrupting adjacent heap memory. This issue has been patched in version 1.4.3.

NVD (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 función convert_hexstring_to_byte_array() en la interfaz SA de MariaDB escribe bytes decodificados en un búfer proporcionado por el llamador sin ninguna verificación de capacidad. Al importar campos SA de la base de datos (por ejemplo, IV, ARSN, ABM), una cadena hexadecimal malformada o sobredimensionada en la base de datos puede desbordar el búfer de destino, corrompiendo la memoria heap adyacente. Este problema ha sido parcheado en la versión 1.4.3.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-22027 changed 2026-01-12CVE Terms of Use
NVDCVE-2026-22027 changed 2026-06-17Public domain