CVE-2026-21899CWE-125

CryptoLib has an out-of-bounds read and crash vulnerability when decoding an empty Base64url string

Medium · published January 10, 2026

CVSS v3.1
4.7
EPSS
0%
Percentile
26.8
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
4.7 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L
CVSS v4.0
Not supplied
EPSS
0.00345 · 26.8th percentile
Weakness
CWE-125 · Out-of-bounds Read
Published
2026-01-10T00:11Z
EPSS history
Timeline
  • 10 JAN 00:11Z
    CryptoLib has an out-of-bounds read and crash vulnerability when decoding an empty Base64url string
    cvelistv5