Skip to main content
Disclosures

NASA · CryptoLib

Memory Leak on HTTP Error Response in KMC Client

SecMateSECMATE-2025-0005
VendorNASA
ProductCryptoLib
ReportedNovember 29, 2025
FixedJanuary 6, 2026
PublishedJanuary 9, 2026

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.

What's hidden in yours?

Find out