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

- Severity: Medium 6.3 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.54%, higher than 46% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-01-10T00:20:59.338Z
- Modified: 2026-06-17T10:19:22.747Z
- Weaknesses: CWE-401, CWE-770
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- nasa CryptoLib: < 1.4.3; before 1.4.3

## Every score

- GitHub_M: CVSS:4.0 6.3 Medium `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`
- NVD: CVSS:3.1 3.7 Low `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L`

## References

- <https://github.com/nasa/CryptoLib/security/advisories/GHSA-h74x-vwwr-mm5g> (exploit, vendor-advisory)
- <https://github.com/nasa/CryptoLib/commit/2372efd3da1ccb226b4297222e25f41ecc84821d> (patch)
- <https://github.com/nasa/CryptoLib/releases/tag/v1.4.3> (release-notes)

## Sources

- CVE List: [CVE-2026-22025](https://www.cve.org/CVERecord?id=CVE-2026-22025), CVE Terms of Use, modified 2026-01-13
- NVD: [CVE-2026-22025](https://nvd.nist.gov/vuln/detail/CVE-2026-22025), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-22025 · Whole record: https://cve.day/CVE-2026-22025.json · Rebuilt by cve.day 2026-11-25T22:59:12.699Z
