9.4

CVE-2025-30216: nasa cryptolib Heap-based Buffer Overflow

CVSS: 9.4v3.1CriticalAnalyzed
Published 25-03-2025Last modified 25-03-2025

Vulnerability summary

CVE-2025-30216 is a critical (CVSS 9.4) Heap-based Buffer Overflow vulnerability in nasa cryptolib. EPSS estimates a 2.65% chance of exploitation in the next 30 days, higher than 85.4% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
70/100
0100
High · default modelHow is this calculated?
CVSS score
9.4/10
010
Critical · v3.1 (CVE.org)
EPSS score
2.65%
0%100%
Low · +0.04 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1github

Timeline

  1. 25-03-2025
    PublishedVulnerability first disclosed.
  2. 25-03-2025
    Last modifiedVulnerability information updated.

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 Overflow vulnerability occurs in the `Crypto_TM_ProcessSecurity` function (`crypto_tm.c:1735:8`). When processing the Secondary Header Length of a TM protocol packet, if the Secondary Header Length exceeds the packet's total length, a heap overflow is triggered during the memcpy operation that copies packet data into the dynamically allocated buffer `p_new_dec_frame`. This allows an attacker to overwrite adjacent heap memory, potentially leading to arbitrary code execution or system instability. A patch is available at commit 810fd66d592c883125272fef123c3240db2f170f.

CVSS metrics

2 scores · 2 sources · 1 version

EPSS trend

Probability

2.65%

Chance of exploitation in the next 30 days

Percentile

85%

Versus all other CVEs

30-day change

+0.04 pp

From 2.60% on 20-09-2026

20-09-202620-10-2026
EPSS score
2.65%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • githubUnverified

    Cryptolib

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Nasa1 product

1 vendor · 1 product

References

3 links