CVE-2025-29909 CryptoLib's Crypto_TC_ApplySecurity() Has a Heap Buffer Overflow Vulnerability

High 8.9 Published Updated

Heap buffer overflow in CryptoLib allows attackers to cause denial of service or remote code execution via malicious Telecommand frames.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-29909?

CVE-2025-29909 is a high-severity memory corruption vulnerability in nasa CryptoLib, published on 17 Mar 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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. In versions 1.3.3 and prior, a heap buffer overflow vulnerability in CryptoLib's `Crypto_TC_ApplySecurity()` allows an attacker to craft a malicious TC frame that causes out-of-bounds memory writes. This can result in denial of service (DoS) or, under certain conditions, remote code execution (RCE). Any application or system that relies on CryptoLib for Telecommand (TC) processing and does not strictly validate incoming TC frames is at risk. This includes satellite ground stations or mission control software where attackers can inject malformed frames. A patch is available at commit c7e8a8745ff4b5e9bd7e500e91358e86d5abedcc.

Weakness: CWE-787, CWE-191

Which versions are affected by CVE-2025-29909?

It affects 1 product.

Products include Nasa Cryptolib.

How do I fix CVE-2025-29909?

No fix has been published for CVE-2025-29909 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2025-29909 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-29909 exists.

Sources

Also known as GHSA-q2pc-c3jx-3852.

Is CVE-2025-29909 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free