Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

CVE-2026-21897

CryptoLib Has Out-of-Bounds Write in Crypto_Config_Add_Gvcid_Managed_Parameters
Back to all
CVE

CVE-2026-21897

CryptoLib Has Out-of-Bounds Write in Crypto_Config_Add_Gvcid_Managed_Parameters

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.

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
7.3
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
C
H
U
0
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
C
H
U
-

Related Resources

No items found.

References

https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/21xxx/CVE-2026-21897.json, https://github.com/nasa/CryptoLib/releases/tag/v1.4.3, https://github.com/nasa/CryptoLib/security/advisories/GHSA-9x7j-gx23-7m5r, https://nvd.nist.gov/vuln/detail/CVE-2026-21897

Severity

7.3

CVSS Score
0
10

Basic Information

Ecosystem
Base CVSS
7.3
EPSS Probability
0.00051%
EPSS Percentile
0.1624%
Introduced Version
0
Fix Available
9ffda0ff78e8f74c58db4c181923196870e04c3e

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading