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 Crypto_Config_Add_Gvcid_Managed_Parameters function only checks whether gvcid_counter > GVCID_MAN_PARAM_SIZE. As a result, it allows up to the 251st entry, which causes a write past the end of the array, overwriting gvcid_counter located immediately after gvcid_managed_parameters_array[250]. This leads to an out-of-bounds write, and the overwritten gvcid_counter 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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-21897
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 03:18 UTC · Revision 1
Source evidence
CryptoLib Has Out-of-Bounds Write in Crypto_Config_Add_Gvcid_Managed_Parameters
core-osv · Original sourcePublished 10 Jan 2026, 00:07 UTC
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 Crypto_Config_Add_Gvcid_Managed_Parameters function only checks whether gvcid_counter > GVCID_MAN_PARAM_SIZE. As a result, it allows up to the 251st entry, which causes a write past the end of the array, overwriting gvcid_counter located immediately after gvcid_managed_parameters_array[250]. This leads to an out-of-bounds write, and the overwritten gvcid_counter 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.
osv:CVE-2026-21897
Complete source record
{
"id": "346a8db19f0c9745715caca78e007a965a52ab95ca7516a817b9b0744c3a2f09",
"url": "https://osv.dev/vulnerability/CVE-2026-21897",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CryptoLib Has Out-of-Bounds Write in Crypto_Config_Add_Gvcid_Managed_Parameters",
"summary": "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 Crypto_Config_Add_Gvcid_Managed_Parameters function only checks whether gvcid_counter > GVCID_MAN_PARAM_SIZE. As a result, it allows up to the 251st entry, which causes a write past the end of the array, overwriting gvcid_counter located immediately after gvcid_managed_parameters_array[250]. This leads to an out-of-bounds write, and the overwritten gvcid_counter 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.",
"evidence": "osv:CVE-2026-21897",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2026-21897",
"aliases": [
"CVE-2026-21897",
"GHSA-9x7j-gx23-7m5r"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/nasa/cryptolib",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "9ffda0ff78e8f74c58db4c181923196870e04c3e"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "1.4.3"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "9ffda0ff78e8f74c58db4c181923196870e04c3e"
}
],
"source": "REFERENCES_TAG",
"original_tag": "v1.4.3"
},
{
"cpe": "cpe:2.3:a:nasa:cryptolib:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "1.4.3"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v1.4.2",
"v1.4.0",
"v1.3.3",
"v1.3.2",
"v1.3.1",
"v1.3.0",
"v1.2.3",
"v1.2.2",
"v1.2.1",
"v1.2.0",
"v1.1.1",
"v1.1.0",
"v1.0.3"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-21897.json"
}
}
],
"modified": "2026-10-28T02:30:33.028216765Z",
"provider": "osv",
"references": [
"https://github.com/nasa/CryptoLib/releases/tag/v1.4.3",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/21xxx/CVE-2026-21897.json",
"https://github.com/nasa/CryptoLib/security/advisories/GHSA-9x7j-gx23-7m5r",
"https://nvd.nist.gov/vuln/detail/CVE-2026-21897"
],
"provider_metadata": {
"cwe_ids": [
"CWE-787"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/21xxx/CVE-2026-21897.json"
}
},
"related_cves": [
{
"value": "CVE-2026-21897",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 499988,
"published_at": "2026-01-10T00:07:16.92+00:00"
}