{"id":"CVE-2026-22027","published":"2026-01-10T00:24:58Z","modified":"2026-01-12T16:23:53Z","title":"CryptoLib Vulnerable to Heap Buffer Overflow in MariaDB SA Hexstring Conversion","vendor":"nasa","product":"CryptoLib","tier":"tail","description":{"text":"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 convert_hexstring_to_byte_array() function in the MariaDB SA interface writes decoded bytes into a caller-provided buffer without any capacity check. When importing SA fields from the database (e.g., IV, ARSN, ABM), a malformed or oversized hex string in the database can overflow the destination buffer, corrupting adjacent heap memory. This issue has been patched in version 1.4.3.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.7,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:H/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00268,"percentile":0.11842,"provenance":"source"},"cwes":[{"id":"CWE-122","name":"Heap-based Buffer Overflow"}],"references":[{"url":"https://github.com/nasa/CryptoLib/security/advisories/GHSA-3m35-m689-h29x","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/nasa/CryptoLib/commit/2372efd3da1ccb226b4297222e25f41ecc84821d","tags":["x_refsource_MISC"]},{"url":"https://github.com/nasa/CryptoLib/releases/tag/v1.4.3","tags":["x_refsource_MISC"]}],"priority":{"score":6.4,"factors":[{"name":"EPSS percentile","points":2.37},{"name":"CVSS severity","points":3.99}]},"vendorSlug":"nasa","affectedVersions":[{"vendor":"nasa","product":"CryptoLib","versions":["< 1.4.3"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-01-12T15:33:54.090680Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-1889","exploited":false,"provenance":"source"}}