Skip to main content
CVE-2026-22697VulnerabilityPublished Updated

CVE-2026-22697: nasa CryptoLib · Heap-based Buffer Overflow

Affects nasa CryptoLibSource CVE Database V5

0

Not known to be exploited · CVSS 7.5 High : upgrade to 1.4.3 soon.

Data as of 25 Oct 2026, 19:02 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.5% chance of exploitation in 30 days – higher than 45% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 1.4.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 10 Jan 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.

What to do

Upgrade CryptoLib and nasa/CryptoLib to 1.4.3.

Affected software

ProductAffectedFixed in
nasaCryptoLibAffected
  • <1.4.3
Fixed in
  • 1.4.3
GitHubnasa/CryptoLibpkg:github/nasa/CryptoLibOther threatsAffected
  • <1.4.3
Fixed in
  • 1.4.3

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

The primary mitigation is to upgrade CryptoLib to version 1.4.3 or later, where the heap buffer overflow has been patched. Organizations should audit their use of CryptoLib and related components to identify affected versions. Additionally, implement strict input validation on Base64-encoded data received from the KMC service, ensuring that input lengths do not exceed expected bounds before decoding. Employ runtime protections such as heap canaries, address space layout randomization (ASLR), and control flow integrity (CFI) to reduce exploitation risk. Conduct thorough code reviews and fuzz testing on cryptographic service integrations to detect similar buffer handling issues. Network segmentation and strict access controls can limit exposure of vulnerable services. Monitoring for anomalous KMC JSON responses or unexpected process crashes can provide early detection of exploitation attempts. Finally, coordinate with space communication partners to ensure consistent patch deployment and secure protocol implementations.

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.

References

Community reviews

Loading reviews…