CWE
191 787 119
EPSS
0.042%
Advisory Published
Updated

CVE-2025-30356: Heap Buffer Overflow via Incomplete Length Check in `Crypto_TC_ApplySecurity`

First published: Tue Apr 01 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 1.3.3 and earlier, a heap buffer overflow vulnerability persists in the Crypto_TC_ApplySecurity function due to an incomplete validation check on the fl (frame length) field. Although CVE-2025-29912 addressed an underflow issue involving fl, the patch fails to fully prevent unsafe calculations. As a result, an attacker can still craft malicious frames that cause a negative tf_payload_len, which is then interpreted as a large unsigned value, leading to a heap buffer overflow in a memcpy call.

Credit: security-advisories@github.com

Affected SoftwareAffected VersionHow to fix
CryptoLib CCSDS Space Data Link Security Protocol - Extended Procedures<=1.3.3

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2025-30356?

    CVE-2025-30356 is classified as a high severity vulnerability due to the potential for heap buffer overflow.

  • How do I fix CVE-2025-30356?

    To fix CVE-2025-30356, upgrade CryptoLib to version 1.3.4 or later, which addresses the heap buffer overflow issue.

  • What are the potential impacts of CVE-2025-30356?

    The potential impacts of CVE-2025-30356 include remote code execution, data corruption, and denial of service.

  • Which versions of CryptoLib are affected by CVE-2025-30356?

    CryptoLib versions 1.3.3 and earlier are affected by CVE-2025-30356, making them vulnerable to exploitation.

  • What is the function of CryptoLib concerning CVE-2025-30356?

    CryptoLib is designed to secure communications between aircraft and ground stations, and CVE-2025-30356 compromises this security.

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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203