# CVE-2026-22027: CryptoLib Vulnerable to Heap Buffer Overflow in MariaDB SA Hexstring Conversion

- Severity: Medium 5.7 (CVSS:4.0, scored by GitHub_M) `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`
- 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.24%, higher than 16% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-01-10T00:24:58.903Z
- Modified: 2026-06-17T10:19:22.983Z
- Weaknesses: CWE-122
- SSVC (CISA-ADP): exploitation poc, automatable no, 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, 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.

(As written by CVE List.)

## Affected

- nasa CryptoLib: < 1.4.3; before 1.4.3

## Every score

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

## References

- <https://github.com/nasa/CryptoLib/security/advisories/GHSA-3m35-m689-h29x> (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-22027](https://www.cve.org/CVERecord?id=CVE-2026-22027), CVE Terms of Use, modified 2026-01-12
- NVD: [CVE-2026-22027](https://nvd.nist.gov/vuln/detail/CVE-2026-22027), Public domain, modified 2026-06-17

---

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