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:40.833Z
Modified
2026-07-09T15:13:28.972467Z
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
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/29xxx/CVE-2025-29912.json",
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-122",
        "CWE-191"
    ]
}
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
{
    "source": [
        "CPE_RANGE",
        "REFERENCES"
    ],
    "cpe": "cpe:2.3:a:nasa:cryptolib:*:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "1.4.0"
        }
    ]
}

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

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