We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2025-30356

Heap Buffer Overflow via Incomplete Length Check in `Crypto_TC_ApplySecurity`



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 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.

Reserved 2025-03-21 | Published 2025-04-01 | Updated 2025-04-02 | Assigner GitHub_M


CRITICAL: 9.3CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Problem types

CWE-191: Integer Underflow (Wrap or Wraparound)

CWE-787: Out-of-bounds Write

Product status

<= 1.3.3
affected

References

github.com/...ptoLib/security/advisories/GHSA-6w2x-w7w3-85w2

github.com/...ommit/59d1bce7608c94c6131ef4877535075b0649799c

cve.org (CVE-2025-30356)

nvd.nist.gov (CVE-2025-30356)

Download JSON

Share this page
https://cve.threatint.eu/CVE/CVE-2025-30356

Support options

Helpdesk Chat, Email, Knowledgebase