Heap corruption via underflowed frame payload length
Published Apr 1, 2025 · Updated Apr 2, 2025
Heap buffer overflow in NASA CryptoLib 1.3.3 and earlier allows remote attackers to corrupt memory via crafted TC frames. Crypto_TC_ApplySecurity_Cam subtracts header lengths from the untrusted fl field, stores a negative payload length as uint16_t, and passes the resulting large value to memcpy. Reachability requires a consuming application to pass attacker-controlled TC frames into the function; heap corruption causes a crash, while code execution depends on memory layout and protections.
Summary
What happened
Heap buffer overflow in NASA CryptoLib 1.3.3 and earlier allows remote attackers to corrupt memory via crafted TC frames. Crypto_TC_ApplySecurity_Cam subtracts header lengths from the untrusted fl field, stores a negative payload length as uint16_t, and passes the resulting large value to memcpy. Reachability requires a consuming application to pass attacker-controlled TC frames into the function; heap corruption causes a crash, while code execution depends on memory layout and protections.
The record
- CVE
- CVE-2025-30356
- Published
- Apr 1, 2025
- Updated
- Apr 2, 2025
- Vendor
- NASA
- Product
- CryptoLib
- Classifications
- CWE-787, CWE-191
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Apr 1, 2025CVE publishedPublication date reported by the CVE source.
- Apr 2, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=<= 1.3.3
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
- GHSA-6w2x-w7w3-85w2 crafted TC frame proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo