CVE-2025-64096CWE-121

CryptoLib vulnerable to Stack Buffer Overflow in Crypto_Key_Update due to missing TLV length check

High · published October 30, 2025

CVSS v3.0
8.8
EPSS
1%
Percentile
43.0
In the wild
Unconfirmed
What it is

🚨 A sneaky bounds check flaw in CryptoLib could let an attacker trigger a stack-based buffer overflow—like stacking too many boxes in a narrow hallway until they tumble! ⚡ Think of it like a librarian who miscounts the number of books on a shelf, accidentally jamming too many into a space that can’t hold them. When the limit is exceeded, it’s not just a mess—it can lead to some serious structural chaos! If exploited, this vulnerability allows remote attackers to corrupt memory, potentially leading to crashes or, even worse, unauthorized control over the system. This could compromise secure communications between spacecraft and ground stations, putting critical missions in jeopardy!

Put simply

Think of it like a librarian who miscounts the number of books on a shelf, accidentally jamming too many into a space that can’t hold them. When the limit is exceeded, it’s not just a mess—it can lead to some serious structural chaos! The vulnerability arises from a missing bounds check in the Crypto_Key_update() function, where an attacker can send a TLV packet with a spoofed length that exceeds the static array size, causing an out-of-bounds write and memory corruption.

What to do

If exploited, this vulnerability allows remote attackers to corrupt memory, potentially leading to crashes or, even worse, unauthorized control over the system. This could compromise secure communications between spacecraft and ground stations, putting critical missions in jeopardy! To protect your systems, upgrade CryptoLib to version 1.4.2 immediately, where this issue is resolved. Implement robust input validation to prevent such buffer overflows in the future. You've got this! By taking these steps, you're not just patching a vulnerability; you're reinforcing the security of vital space communications! 🛡️

The record
Technical detail
CVSS v3.0
8.8 · HIGH
Vector
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00515 · 43.0th percentile
Weakness
CWE-121 · Stack-based Buffer Overflow
Published
2025-10-30T17:09Z
EPSS history
Timeline
  • 30 OCT 17:09Z
    CryptoLib vulnerable to Stack Buffer Overflow in Crypto_Key_Update due to missing TLV length check
    cvelistv5