CVE-2026-21899

Source
https://cve.org/CVERecord?id=CVE-2026-21899
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-21899.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-21899
Aliases
  • GHSA-wc29-5hw7-mpj8
Published
2026-01-10T00:11:18.877Z
Modified
2026-01-17T05:40:53.832418Z
Severity
  • 4.7 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L CVSS Calculator
Summary
CryptoLib has an out-of-bounds read and crash vulnerability when decoding an empty Base64url string
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, 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.

Database specific
{
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-125"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/21xxx/CVE-2026-21899.json"
}
References

Affected packages

Git / github.com/nasa/cryptolib

Affected ranges

Type
GIT
Repo
https://github.com/nasa/cryptolib
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

v0.*
v0.1-engineering-release
v1.*
v1.0.0
v1.0.1
v1.0.2
v1.0.3
v1.1.0
v1.1.1
v1.2.0
v1.2.1
v1.2.2
v1.2.3
v1.3.0
v1.3.1
v1.3.2
v1.3.3
v1.4.0
v1.4.1
v1.4.2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-21899.json"