CVE-2026-22697: CryptoLib Has Heap Buffer Overflow Vulnerability in KMC Base64 Decode Handling (KMC JSON base64ciphertext/base64cleartext)

Published Jan 10, 2026
·
Updated

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 (lendataout), 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.

Affected Software

2 affected components
CryptoLib CryptoLib<1.4.3
nasa CryptoLib<1.4.3

Event History

Jan 10, 2026
CVE Published
via MITRE·12:31 AM
Data Sourced
via MITRE·12:31 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·01:16 AM
DescriptionSeverityWeaknessAffected Software
Aug 29, 58046
Event
via FIRST·01:58 AM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-22697?

CVE-2026-22697 has been assigned a severity level that indicates potential risks in securing communications, specifically related to the KMC crypto service.

2

How do I fix CVE-2026-22697?

To fix CVE-2026-22697, upgrade to CryptoLib version 1.4.3 or later.

3

Which versions of CryptoLib are affected by CVE-2026-22697?

CryptoLib versions prior to 1.4.3 are affected by CVE-2026-22697.

4

What is CryptoLib’s role in relation to CVE-2026-22697?

CryptoLib provides security features that are vulnerable due to issues with the KMC crypto service prior to version 1.4.3.

5

What should users of CryptoLib be aware of regarding CVE-2026-22697?

Users should be aware that CVE-2026-22697 presents a security concern that requires immediate upgrade to maintain secure communications.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203