CVE-2025-29912: CryptoLib Has Heap Buffer Overflow Due to Unsigned Integer Underflow in Crypto_TC_ProcessSecurity

Published Mar 17, 2025
·
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. In versions 1.3.3 and prior, an unsigned integer underflow in the CryptoTCProcessSecurity function of CryptoLib leads to a heap buffer overflow. The vulnerability is triggered when the fl (frame length) field in a Telecommand (TC) packet is set to 0. This underflow causes the frame length to be interpreted as 65535, resulting in out-of-bounds memory access. This critical vulnerability can be exploited to cause a denial of service (DoS) or potentially achieve remote code execution. Users of CryptoLib are advised to apply the recommended patch or avoid processing untrusted TC packets until a fix is available.

Affected Software

2 affected components
CryptoLib CryptoLib<1.3.3
nasa CryptoLib<1.4.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade CryptoLib to a version that resolves this vulnerability.

    Fixed in 1.3.3
  2. Compensating control

    Avoid processing untrusted Telecommand (TC) packets (at minimum, do not pass TC packets with fl/frame length set to 0 into Crypto_TC_ProcessSecurity) until a fix is available.

Event History

Mar 17, 2025
CVE Published
via MITRE·10:48 PM
Data Sourced
via MITRE·10:48 PM
DescriptionWeakness
Data Sourced
via NVD·11:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
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-2025-29912?

CVE-2025-29912 has been classified as a moderate severity vulnerability due to its potential impact on secure communications.

2

How do I fix CVE-2025-29912?

To mitigate CVE-2025-29912, upgrade CryptoLib to version 1.3.4 or later.

3

What versions of CryptoLib are affected by CVE-2025-29912?

CVE-2025-29912 affects CryptoLib versions up to 1.3.3, and any version prior.

4

What type of vulnerability is CVE-2025-29912?

CVE-2025-29912 is a cryptographic vulnerability related to unsigned integer handling in the CCSDS SDLS Protocol.

5

What could happen if CVE-2025-29912 is exploited?

Exploitation of CVE-2025-29912 could compromise the security of communications between spacecraft and ground stations.

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