{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2025-30356","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","state":"PUBLISHED","assignerShortName":"GitHub_M","dateReserved":"2025-03-21T14:12:06.270Z","datePublished":"2025-04-01T22:06:22.576Z","dateUpdated":"2025-04-02T13:46:42.702Z"},"containers":{"cna":{"title":"Heap Buffer Overflow via Incomplete Length Check in `Crypto_TC_ApplySecurity`","problemTypes":[{"descriptions":[{"cweId":"CWE-191","lang":"en","description":"CWE-191: Integer Underflow (Wrap or Wraparound)","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-787","lang":"en","description":"CWE-787: Out-of-bounds Write","type":"CWE"}]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":9.3,"baseSeverity":"CRITICAL","vectorString":"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","version":"4.0"}}],"references":[{"name":"https://github.com/nasa/CryptoLib/security/advisories/GHSA-6w2x-w7w3-85w2","tags":["x_refsource_CONFIRM"],"url":"https://github.com/nasa/CryptoLib/security/advisories/GHSA-6w2x-w7w3-85w2"},{"name":"https://github.com/nasa/CryptoLib/commit/59d1bce7608c94c6131ef4877535075b0649799c","tags":["x_refsource_MISC"],"url":"https://github.com/nasa/CryptoLib/commit/59d1bce7608c94c6131ef4877535075b0649799c"}],"affected":[{"vendor":"nasa","product":"CryptoLib","versions":[{"version":"<= 1.3.3","status":"affected"}]}],"providerMetadata":{"orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M","dateUpdated":"2025-04-01T22:06:22.576Z"},"descriptions":[{"lang":"en","value":"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."}],"source":{"advisory":"GHSA-6w2x-w7w3-85w2","discovery":"UNKNOWN"}},"adp":[{"references":[{"url":"https://github.com/nasa/CryptoLib/security/advisories/GHSA-6w2x-w7w3-85w2","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-04-02T13:46:23.793681Z","id":"CVE-2025-30356","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2025-04-02T13:46:42.702Z"}}]}}