CVE-2026-21899
published medium CVSS 3.1 · 4.7CryptoLib has an out-of-bounds read and crash vulnerability when decoding an empty Base64url string
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| nasa | — | CryptoLib< 1.4.3 | Affected | Not stated | 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, 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.7 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| nasa | CryptoLib | < 1.4.3 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-125 CWE-125: Out-of-bounds Read
References
2Provider assertions
2GitHub_M · cna
CryptoLib has an out-of-bounds read and crash vulnerability when decoding an empty Base64url string
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- a60e81bc122061eff1601023fa5b1b867cfcd460177326a9abcb289b7b4a2acb
- Ingested
- 23 Sep 2026, 09:05:14 UTC
- Source record
- Official CVE record