Skip to main content
Disclosures

NASA · CryptoLib

Out-of-Bounds Read in KMC Encrypt Metadata Parsing via Flawed strtok Pattern

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

An out-of-bounds heap read vulnerability in cryptography_encrypt() occurs when parsing JSON metadata from KMC server responses. The flawed strtok iteration pattern uses ptr + strlen(ptr) + 1 which reads one byte past allocated buffer boundaries when processing short or malformed metadata strings.

What's hidden in yours?

Find out