CVE-2025-29912

Source
https://cve.org/CVERecord?id=CVE-2025-29912
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-29912.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-29912
Aliases
  • GHSA-3f5x-r59x-p8cf
Published
2025-03-17T22:48:40Z
Modified
2026-08-12T15:16:22Z
Severity
  • 8.9 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P CVSS Calculator
Summary
CryptoLib Has Heap Buffer Overflow Due to Unsigned Integer Underflow in Crypto_TC_ProcessSecurity
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. In versions 1.3.3 and prior, an unsigned integer underflow in the Crypto_TC_ProcessSecurity function of CryptoLib leads to a heap buffer overflow. The vulnerability is triggered when the fl (frame length) field in a Telecommand (TC) packet is set to 0. This underflow causes the frame length to be interpreted as 65535, resulting in out-of-bounds memory access. This critical vulnerability can be exploited to cause a denial of service (DoS) or potentially achieve remote code execution. Users of CryptoLib are advised to apply the recommended patch or avoid processing untrusted TC packets until a fix is available.

Database specific
{
    "cna_assigner":  "GitHub_M",
    "cwe_ids":  [
        "CWE-122",
        "CWE-191"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/29xxx/CVE-2025-29912.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
Fixed
Database specific
Show details
{
    "cpe":  "cpe:2.3:a:nasa:cryptolib:*:*:*:*:*:*:*:*",
    "extracted_events":  [
        {
            "introduced":  "0"
        },
        {
            "fixed":  "1.4.0"
        }
    ],
    "source":  [
        "CPE_RANGE",
        "REFERENCES"
    ]
}

Affected versions

v1.*
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

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-29912.json"
vanir_signatures
[
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "146312352671957347138116315458094245629",
                "224719578899484406993888791959364334734",
                "336764517578373421295672448504052375199"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2025-29912-6829b982",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/nasa/cryptolib/commit/ca39cb96f21e76102aefb956d2c8c0ba0bd143ca",
        "target":  {
            "file":  "src/core/crypto_tc.c"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "13558753078185090385275055473526822524",
            "length":  5014
        },
        "id":  "CVE-2025-29912-75ec0971",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/nasa/cryptolib/commit/ca39cb96f21e76102aefb956d2c8c0ba0bd143ca",
        "target":  {
            "file":  "src/core/crypto_tc.c",
            "function":  "Crypto_TC_ProcessSecurity_Cam"
        }
    }
]
vanir_signatures_modified
"2026-08-12T15:16:22Z"