CVE-2025-29911: CryptoLib - Buffer Overflow
- Cve: CVE-2025-29911
- Name: CryptoLib - Buffer Overflow
- 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. A critical heap buffer overflow vulnerability was identified in the `Crypto_AOS_ProcessSecurity` function of CryptoLib versions 1.3.3 and prior. This vulnerability allows an attacker to trigger a Denial of Service (DoS) or potentially execute arbitrary code (RCE) by providing a maliciously crafted AOS frame with an insufficient length. The vulnerability lies in the function `Crypto_AOS_ProcessSecurity`, specifically during the processing of the Frame Error Control Field (FECF). The affected code attempts to read from the `p_ingest` buffer at indices `current_managed_parameters_struct.max_frame_size - 2` and `current_managed_parameters_struct.max_frame_size - 1` without verifying if `len_ingest` is sufficiently large. This leads to a heap buffer overflow when `len_ingest` is smaller than `max_frame_size`. As of time of publication, no known patched versions exist.
- Impact: Attackers can cause Denial of Service or execute arbitrary code by exploiting the heap buffer overflow with crafted frames.
- Remediation: No patched versions are available; apply mitigations such as input validation or contact vendor for updates.
- Vulnerability type: buffer_overflow
- Vulnerability impact: denial_of_service, remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.00743
- Epss percentile: 0.5544
- Assignee: [email protected]
- Published at: 2025-03-17T23:15:18Z
- Age in days: 617
- Modified at: 2026-06-17T09:05:52Z
- Public exploits total: 1
- References total: 1
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-29911
- Nvd status: analyzed
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-122 | Heap-based Buffer Overflow |
| CWE-787 | Out-of-bounds Write |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/nasa/CryptoLib/security/advisories/GHSA-7g6g-9gj4-8c68 | nvd | 2025-03-17 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/nasa/CryptoLib/security/advisories/GHSA-7g6g-9gj4-8c68 | nvd | Exploit, Vendor Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| nasa:cryptolib | all versions | no | nvd | /v1/products/nasa/cryptolib |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| nasa/CryptoLib | security_advisory | yes | /v1/repositories/nasa/CryptoLib |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2025-03-17
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts