CVE-2025-30356
published critical CVSS 4.0 · 9.3Heap Buffer Overflow via Incomplete Length Check in `Crypto_TC_ApplySecurity`
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| nasa | — | CryptoLib<= 1.3.3 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 9.3 / 10
- Severity
- critical
- Provider
- GitHub_M · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| nasa | CryptoLib | <= 1.3.3 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-191 CWE-191: Integer Underflow (Wrap or Wraparound)
- CWE-787 CWE-787: Out-of-bounds Write
References
2Provider assertions
2GitHub_M · cna
Heap Buffer Overflow via Incomplete Length Check in `Crypto_TC_ApplySecurity`
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 31db811aac7e20b15c46c61475ba507d551bdca99ba5f775e32d96e61aefe468
- Ingested
- 23 Sep 2026, 08:44:05 UTC
- Source record
- Official CVE record