# CVE-2026-21899: CryptoLib has an out-of-bounds read and crash vulnerability when decoding an empty Base64url string

- Priority: **Routine**
- Reason: Not severe (CVSS 4.7, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-01-10 · Modified: 2026-01-12
- Record: https://cvemate.com/vulnerability/CVE-2026-21899 · JSON: https://cvemate.com/vulnerability/CVE-2026-21899/json

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

## Signals

- CVSS: 4.9 medium (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.345%, percentile 29.987%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- nasa cryptolib: \< 1.4.3

## References

- <https://github.com/nasa/CryptoLib/security/advisories/GHSA-wc29-5hw7-mpj8>
- <https://github.com/nasa/CryptoLib/releases/tag/v1.4.3>

---

Data as of 2026-12-05T13:42:31.658Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
