CryptoLib Memory Leak in KMC Encrypt Function Leads to Resource Exhaustion
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, the cryptography_encrypt() function allocates multiple buffers for HTTP requests and JSON parsing that are never freed on any code path. Each call leaks approximately 400 bytes of memory. Sustained traffic can gradually exhaust available memory. This issue has been patched in version 1.4.3.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-22024
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 8 Nov 2026, 03:06 UTC · Revision 1
Source evidence
CryptoLib Memory Leak in KMC Encrypt Function Leads to Resource Exhaustion
core-osv · Original sourcePublished 10 Jan 2026, 00:19 UTC
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, the cryptography_encrypt() function allocates multiple buffers for HTTP requests and JSON parsing that are never freed on any code path. Each call leaks approximately 400 bytes of memory. Sustained traffic can gradually exhaust available memory. This issue has been patched in version 1.4.3.
osv:CVE-2026-22024
Complete source record
{
"id": "0c231e4b415167acf24b1440fa699e802236e9debd96f7fb7abe673850f26f10",
"url": "https://osv.dev/vulnerability/CVE-2026-22024",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CryptoLib Memory Leak in KMC Encrypt Function Leads to Resource Exhaustion",
"summary": "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, the cryptography_encrypt() function allocates multiple buffers for HTTP requests and JSON parsing that are never freed on any code path. Each call leaks approximately 400 bytes of memory. Sustained traffic can gradually exhaust available memory. This issue has been patched in version 1.4.3.",
"evidence": "osv:CVE-2026-22024",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2026-22024",
"aliases": [
"CVE-2026-22024",
"GHSA-r3wg-g8xv-gxvf"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "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"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/nasa/cryptolib",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "9ffda0ff78e8f74c58db4c181923196870e04c3e"
},
{
"fixed": "2372efd3da1ccb226b4297222e25f41ecc84821d"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:nasa:cryptolib:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "1.4.3"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "2372efd3da1ccb226b4297222e25f41ecc84821d"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "9ffda0ff78e8f74c58db4c181923196870e04c3e"
}
],
"source": "REFERENCES_TAG",
"original_tag": "v1.4.3"
}
]
}
}
],
"versions": [
"v1.4.2",
"v1.4.0",
"v1.3.3",
"v1.3.2",
"v1.3.1",
"v1.3.0",
"v1.2.3",
"v1.2.2",
"v1.2.1",
"v1.2.0",
"v1.1.1",
"v1.1.0",
"v1.0.3"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-22024.json"
}
}
],
"modified": "2026-10-28T02:30:53.199175921Z",
"provider": "osv",
"references": [
"https://github.com/nasa/CryptoLib/releases/tag/v1.4.3",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/22xxx/CVE-2026-22024.json",
"https://github.com/nasa/CryptoLib/security/advisories/GHSA-r3wg-g8xv-gxvf",
"https://nvd.nist.gov/vuln/detail/CVE-2026-22024",
"https://github.com/nasa/CryptoLib/commit/2372efd3da1ccb226b4297222e25f41ecc84821d"
],
"provider_metadata": {
"cwe_ids": [
"CWE-401"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/22xxx/CVE-2026-22024.json"
}
},
"related_cves": [
{
"value": "CVE-2026-22024",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 522064,
"published_at": "2026-01-10T00:19:16.006+00:00"
}