{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-118375",
        "assignerOrgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
        "state": "PUBLISHED",
        "assignerShortName": "VulnCheck",
        "dateReserved": "2026-10-28T01:19:21.370Z",
        "datePublished": "2026-10-28T02:03:22.895Z",
        "dateUpdated": "2026-10-28T02:03:22.895Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
                "shortName": "VulnCheck",
                "dateUpdated": "2026-10-28T02:03:22.895Z"
            },
            "datePublic": "2026-10-24T00:00:00.000Z",
            "title": "llama.cpp b8841 before b11865 Stack-based Buffer Overflow via ggml-rpc RDMA rdma_recv()",
            "descriptions": [
                {
                    "lang": "en",
                    "value": "llama.cpp b8841 before b11865 contains an out-of-bounds write vulnerability in the ggml-rpc RDMA transport rdma_recv() function that allows unauthenticated peers to overflow the rpc-server stack. Attackers advertising RDMA capabilities in the HELLO message can send up to 256 KiB into a 1-byte stack variable in rpc_serve_client(), crashing the server or potentially executing code."
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "lang": "en",
                            "description": "Out-of-bounds Write",
                            "cweId": "CWE-787",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "vendor": "ggml-org",
                    "product": "llama.cpp",
                    "repo": "https://github.com/ggml-org/llama.cpp",
                    "packageURL": "pkg:github/ggml-org/llama.cpp",
                    "defaultStatus": "unaffected",
                    "versions": [
                        {
                            "version": "b8841",
                            "status": "affected",
                            "versionType": "custom",
                            "lessThan": "b11865"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:a:ggml:llama.cpp:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "b8841",
                                    "versionEndExcluding": "b11865"
                                }
                            ]
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "format": "CVSS",
                    "cvssV4_0": {
                        "version": "4.0",
                        "vectorString": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
                        "attackVector": "NETWORK",
                        "attackComplexity": "LOW",
                        "attackRequirements": "PRESENT",
                        "privilegesRequired": "NONE",
                        "userInteraction": "NONE",
                        "vulnConfidentialityImpact": "HIGH",
                        "vulnIntegrityImpact": "HIGH",
                        "vulnAvailabilityImpact": "HIGH",
                        "subConfidentialityImpact": "NONE",
                        "subIntegrityImpact": "NONE",
                        "subAvailabilityImpact": "NONE",
                        "baseScore": 9.2,
                        "baseSeverity": "CRITICAL"
                    }
                },
                {
                    "format": "CVSS",
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
                        "attackVector": "NETWORK",
                        "attackComplexity": "HIGH",
                        "privilegesRequired": "NONE",
                        "userInteraction": "NONE",
                        "scope": "UNCHANGED",
                        "confidentialityImpact": "HIGH",
                        "integrityImpact": "HIGH",
                        "availabilityImpact": "HIGH",
                        "baseScore": 8.1,
                        "baseSeverity": "HIGH"
                    }
                }
            ],
            "references": [
                {
                    "url": "https://github.com/ggml-org/llama.cpp/pull/30399",
                    "tags": [
                        "patch",
                        "issue-tracking"
                    ]
                },
                {
                    "url": "https://github.com/ggml-org/llama.cpp/commit/9a0fde9967fa1a35b6e5dd1f47e1a3648b6fecc1",
                    "tags": [
                        "patch"
                    ]
                },
                {
                    "url": "https://github.com/ggml-org/llama.cpp/blob/620d2225cc436ab0b001e3200e590e3b286ef9ab/ggml/src/ggml-rpc/transport.cpp#L510-L528",
                    "tags": [
                        "technical-description"
                    ]
                },
                {
                    "url": "https://github.com/ggml-org/llama.cpp/releases/tag/b11865",
                    "tags": [
                        "release-notes"
                    ],
                    "name": "llama.cpp b11865 Release Notes"
                },
                {
                    "url": "https://github.com/ggml-org/llama.cpp",
                    "tags": [
                        "product"
                    ]
                },
                {
                    "name": "VulnCheck Advisory: llama.cpp b8841 before b11865 Stack-based Buffer Overflow via ggml-rpc RDMA rdma_recv()",
                    "tags": [
                        "third-party-advisory"
                    ],
                    "url": "https://www.vulncheck.com/advisories/llama-cpp-b8841-before-b11865-stack-based-buffer-overflow-via-ggml-rpc-rdma-rdma-recv"
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "value": "Sohaib Harraoui (Ostorlab)",
                    "type": "finder"
                },
                {
                    "lang": "en",
                    "value": "Sohaib Harraoui (Ostorlab)",
                    "type": "remediation developer"
                }
            ],
            "x_generator": {
                "engine": "vulncheck-endgame"
            }
        }
    }
}