{"id":"CVE-2026-22027","summary":"CryptoLib Vulnerable to Heap Buffer Overflow in MariaDB SA Hexstring Conversion","details":"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.","aliases":["GHSA-3m35-m689-h29x"],"modified":"2026-08-12T03:51:10.663792772Z","published":"2026-01-10T00:24:58.903Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/22xxx/CVE-2026-22027.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-122"]},"references":[{"type":"WEB","url":"https://github.com/nasa/CryptoLib/releases/tag/v1.4.3"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/22xxx/CVE-2026-22027.json"},{"type":"ADVISORY","url":"https://github.com/nasa/CryptoLib/security/advisories/GHSA-3m35-m689-h29x"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-22027"},{"type":"FIX","url":"https://github.com/nasa/CryptoLib/commit/2372efd3da1ccb226b4297222e25f41ecc84821d"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/nasa/cryptolib","events":[{"introduced":"0"},{"fixed":"9ffda0ff78e8f74c58db4c181923196870e04c3e"},{"fixed":"2372efd3da1ccb226b4297222e25f41ecc84821d"}],"database_specific":{"cpe":"cpe:2.3:a:nasa:cryptolib:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"1.4.3"}],"source":["CPE_RANGE","REFERENCES"]}}],"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-22027.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}