{"id":"CVE-2026-22025","state":"PUBLISHED","title":"CryptoLib Memory Leak on HTTP Error Response in KMC Client","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. Prior to version 1.4.3, when the KMC server returns a non-200 HTTP status code, cryptography_encrypt() and cryptography_decrypt() return immediately without freeing previously allocated buffers. Each failed request leaks approximately 467 bytes. Repeated failures (from a malicious server or network issues) can gradually exhaust memory. This issue has been patched in version 1.4.3.","publishedAt":"2026-01-10T00:20:59.338Z","updatedAt":"2026-01-13T20:19:08.707Z","severity":{"score":6.3,"label":"Medium","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["nasa CryptoLib"],"affected":[{"vendor":"nasa","product":"CryptoLib","versions":[{"version":"< 1.4.3","status":"affected"}]}],"references":["https://github.com/nasa/CryptoLib/security/advisories/GHSA-h74x-vwwr-mm5g","https://github.com/nasa/CryptoLib/commit/2372efd3da1ccb226b4297222e25f41ecc84821d","https://github.com/nasa/CryptoLib/releases/tag/v1.4.3"],"weaknesses":["CWE-401","CWE-770"],"ingestedAt":"2026-10-29T20:11:21.040Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/22xxx/CVE-2026-22025.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-22025","state":"PUBLISHED","datePublished":"2026-01-10T00:20:59.338Z","dateUpdated":"2026-01-13T20:19:08.707Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-01-05T22:30:38.718Z"},"containers":{"cna":{"title":"CryptoLib Memory Leak on HTTP Error Response in KMC Client","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. Prior to version 1.4.3, when the KMC server returns a non-200 HTTP status code, cryptography_encrypt() and cryptography_decrypt() return immediately without freeing previously allocated buffers. Each failed request leaks approximately 467 bytes. Repeated failures (from a malicious server or network issues) can gradually exhaust memory. This issue has been patched in version 1.4.3."}],"affected":[{"vendor":"nasa","product":"CryptoLib","versions":[{"version":"< 1.4.3","status":"affected"}]}],"references":[{"url":"https://github.com/nasa/CryptoLib/security/advisories/GHSA-h74x-vwwr-mm5g","name":"https://github.com/nasa/CryptoLib/security/advisories/GHSA-h74x-vwwr-mm5g","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/nasa/CryptoLib/commit/2372efd3da1ccb226b4297222e25f41ecc84821d","name":"https://github.com/nasa/CryptoLib/commit/2372efd3da1ccb226b4297222e25f41ecc84821d","tags":["x_refsource_MISC"]},{"url":"https://github.com/nasa/CryptoLib/releases/tag/v1.4.3","name":"https://github.com/nasa/CryptoLib/releases/tag/v1.4.3","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"LOW","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":6.3,"baseSeverity":"MEDIUM","vectorString":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-401","lang":"en","description":"CWE-401: Missing Release of Memory after Effective Lifetime","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-770","lang":"en","description":"CWE-770: Allocation of Resources Without Limits or Throttling","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-01-10T00:20:59.338Z"},"source":{"advisory":"GHSA-h74x-vwwr-mm5g","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/nasa/CryptoLib/security/advisories/GHSA-h74x-vwwr-mm5g","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-01-13T20:18:57.347847Z","id":"CVE-2026-22025","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-01-13T20:19:08.707Z"}}]}}}