CVE-2026-22697CWE-122

CryptoLib Has Heap Buffer Overflow Vulnerability in KMC Base64 Decode Handling (KMC JSON base64ciphertext/base64cleartext)

High · published January 10, 2026

CVSS v3.1
7.5
EPSS
1%
Percentile
44.5
In the wild
Unconfirmed
What it is

⚡ A sneaky heap buffer overflow lurks in CryptoLib before version 1.4.3! An oversized Base64 string can lead to a crash or even unauthorized code execution. 🔥 Think of it like a factory assembly line where each workstation only has a limited amount of space to assemble products. If a worker keeps sending in oversized parts without checking the output limits, it could cause a major jam, or worse, break the entire system! This vulnerability could allow an attacker to send a maliciously crafted Base64 string back to the KMC service, causing out-of-bounds writes on the heap. The result? A crash of the process and potentially giving the attacker a way to execute arbitrary code! Imagine the chaos that could ensue in space communications!

Put simply

Think of it like a factory assembly line where each workstation only has a limited amount of space to assemble products. If a worker keeps sending in oversized parts without checking the output limits, it could cause a major jam, or worse, break the entire system! The heap buffer overflow occurs because the Base64 decoder writes to an uncapped destination buffer, allowing for potential out-of-bounds memory access when it encounters overly long input data.

What to do

This vulnerability could allow an attacker to send a maliciously crafted Base64 string back to the KMC service, causing out-of-bounds writes on the heap. The result? A crash of the process and potentially giving the attacker a way to execute arbitrary code! Imagine the chaos that could ensue in space communications! Upgrade to CryptoLib version 1.4.3 immediately to patch this vulnerability. Additionally, ensure that all JSON responses are validated and that your input lengths are checked before decoding. Regularly audit your code for similar issues! You've got this! With these steps, your systems will be secure and ready for safe space communications. 🛡️

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00538 · 44.5th percentile
Weakness
CWE-122 · Heap-based Buffer Overflow
Published
2026-01-10T00:31Z
EPSS history
Timeline
  • 10 JAN 00:31Z
    CryptoLib Has Heap Buffer Overflow Vulnerability in KMC Base64 Decode Handling (KMC JSON base64ciphertext/base64cleartext)
    cvelistv5