CVE-2026-22025 CryptoLib Memory Leak on HTTP Error Response in KMC Client

Medium 6.3 Published Updated

A memory leak in CryptoLib allows attackers to exhaust system memory via repeated HTTP error responses, causing denial of service.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-22025?

CVE-2026-22025 is a medium-severity denial of service vulnerability in nasa CryptoLib, published on 10 Jan 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-770, CWE-401

Which versions are affected by CVE-2026-22025?

It affects 1 product.

Products include Nasa Cryptolib.

How do I fix CVE-2026-22025?

No fix has been published for CVE-2026-22025 yet. Limit exposure of the affected software until one is available.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2026-22025 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-22025 exists.

Sources

Also known as GHSA-h74x-vwwr-mm5g.

Is CVE-2026-22025 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free