CVE-2026-22697 Details
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, 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.
A heap buffer overflow vulnerability has been identified in CryptoLib's integration with the KMC crypto service, prior to version 1.4.3. This vulnerability arises when the library decodes Base64-encoded ciphertext and cleartext fields from the KMC service. The issue occurs because the decoder does not enforce destination buffer size limits, allowing oversized Base64 strings in the KMC JSON response to cause out-of-bounds writes on the heap. This heap corruption can lead to a process crash and potentially allow for code execution under certain conditions.
Users can upgrade to CryptoLib version 1.4.3, where this vulnerability has been patched.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jan 13, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/nasa/CryptoLib/security/advisories/GHSA-qjx3-83jh-2jc4 | CISA-ADP | ExploitVendor Advisory |
| https://github.com/nasa/CryptoLib/releases/tag/v1.4.3 | [email protected] | Release Notes |
| https://github.com/nasa/CryptoLib/security/advisories/GHSA-qjx3-83jh-2jc4 | [email protected] | ExploitVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-122 | Heap-based Buffer Overflow | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| nasa cryptolib | < 1.4.3 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jan 16, 2026 | Initial Analysis | [email protected] |
| Jan 13, 2026 | CVE Modified | CISA-ADP |
| Jan 10, 2026 | New CVE Received | [email protected] |