What’s Vulnerable › Vulnerabilities
CVE-2026-22027: CryptoLib Vulnerable to Heap Buffer Overflow in MariaDB SA Hexstring Conversion
- Severity: medium (CVSS 6.0 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-01-10 · updated 2026-06-17
- Weakness: CWE-122
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 products
- nasa CryptoLib: before 1.4.3 — fixed in 1.4.3
How to fix
Upgrade to a fixed version: nasa CryptoLib 1.4.3. Check the vendor advisory for mitigations.
References
- https://github.com/nasa/CryptoLib/commit/2372efd3da1ccb226b4297222e25f41ecc84821d
- https://github.com/nasa/CryptoLib/releases/tag/v1.4.3
- https://github.com/nasa/CryptoLib/security/advisories/GHSA-3m35-m689-h29x
- https://github.com/nasa/CryptoLib/security/advisories/GHSA-3m35-m689-h29x
Get alerted when CVE-2026-22027 or the next vulnerability affects your stack