{"id":"CVE-2026-21899","aliases":["CVE-2026-21899"],"related":[],"kind":"vulnerability","state":"published","title":"CryptoLib has an out-of-bounds read and crash vulnerability when decoding an empty Base64url string","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, in base64urlDecode, padding-stripping dereferences input[inputLen - 1] before checking that inputLen > 0 or that input != NULL. For inputLen == 0, this becomes an OOB read at input[-1], potentially crashing the process. If input == NULL and inputLen == 0, it dereferences NULL - 1. This issue has been patched in version 1.4.3.","summarySource":"cvelist","descriptions":[{"lang":"en","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, in base64urlDecode, padding-stripping dereferences input[inputLen - 1] before checking that inputLen > 0 or that input != NULL. For inputLen == 0, this becomes an OOB read at input[-1], potentially crashing the process. If input == NULL and inputLen == 0, it dereferences NULL - 1. This issue has been patched in version 1.4.3.","source":"cvelist"},{"lang":"es","text":"CryptoLib proporciona una solución únicamente de software utilizando el Protocolo de Seguridad de Enlace de Datos Espaciales CCSDS - Procedimientos Extendidos (SDLS-EP) para asegurar las comunicaciones entre una nave espacial que ejecuta el Sistema de Vuelo central (cFS) y una estación terrestre. Antes de la versión 1.4.3, en base64urlDecode, la eliminación de relleno desreferencia input[inputLen - 1] antes de verificar que inputLen &gt; 0 o que input != NULL. Para inputLen == 0, esto se convierte en una lectura fuera de límites (OOB read) en input[-1], lo que podría bloquear el proceso. Si input == NULL e inputLen == 0, desreferencia NULL - 1. Este problema ha sido parcheado en la versión 1.4.3.","source":"nvd"}],"published":"2026-01-10T00:11:18.877Z","modified":"2026-06-17T10:19:06.903Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L","score":4.7,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L","score":4.7,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H","score":4.9,"rating":"MEDIUM"}],"cwes":["CWE-125"],"affected":[{"ranges":[{"version":"< 1.4.3","status":"affected"}],"vendor":"nasa","product":"CryptoLib","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"1.4.3"}],"vendor":"nasa","product":"cryptolib","cpe":"cpe:2.3:a:nasa:cryptolib:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/nasa/CryptoLib/security/advisories/GHSA-wc29-5hw7-mpj8","tags":["exploit","vendor-advisory","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/nasa/CryptoLib/releases/tag/v1.4.3","tags":["release-notes","x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-01-12T20:22:54.955Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-21899","url":"https://www.cve.org/CVERecord?id=CVE-2026-21899","licence":"CVE Terms of Use","modified":"2026-01-12T20:23:08.304Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-21899","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-21899","licence":"Public domain","modified":"2026-06-17T10:19:06.903Z"}],"updatedAt":"2026-11-25T22:59:12.697Z","epss":{"score":0.00345,"percentile":0.30014,"date":"2026-12-01T12:00:22.000Z"}}