CVE-2026-21897

Source
https://cve.org/CVERecord?id=CVE-2026-21897
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-21897.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-21897
Aliases
  • GHSA-9x7j-gx23-7m5r
Published
2026-01-10T00:07:16.920Z
Modified
2026-01-17T05:39:54.580771Z
Severity
  • 7.3 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L CVSS Calculator
Summary
CryptoLib Has Out-of-Bounds Write in Crypto_Config_Add_Gvcid_Managed_Parameters
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, the CryptoConfigAddGvcidManagedParameters function only checks whether gvcidcounter > GVCIDMANPARAMSIZE. As a result, it allows up to the 251st entry, which causes a write past the end of the array, overwriting gvcidcounter located immediately after gvcidmanagedparametersarray[250]. This leads to an out-of-bounds write, and the overwritten gvcidcounter may become an arbitrary value, potentially affecting the parameter lookup/registration logic that relies on it. This issue has been patched in version 1.4.3.

Database specific
{
    "cwe_ids": [
        "CWE-787"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/21xxx/CVE-2026-21897.json",
    "cna_assigner": "GitHub_M"
}
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-21897.json"