{"api_version":"1","generated_at":"2026-11-18T18:43:35+00:00","cve":"CVE-2026-126975","urls":{"html":"https://cve.report/CVE-2026-126975","api":"https://cve.report/api/cve/CVE-2026-126975.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-126975","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-126975"},"summary":{"title":"llama.cpp GGUF File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability","description":"llama.cpp GGUF File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of llama.cpp. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.\n\nThe specific flaw exists within the parsing of GGUF files. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a heap-based buffer. An attacker can leverage this vulnerability to execute arbitrary code in the context of the current process. Was ZDI-CAN-34558.","state":"PUBLISHED","assigner":"zdi","published_at":"2026-11-18 00:18:38","updated_at":"2026-11-18 18:19:04"},"problem_types":["CWE-122","CWE-122 CWE-122: Heap-based Buffer Overflow"],"metrics":[{"version":"3.0","source":"zdi-disclosures@trendmicro.com","type":"Secondary","score":"7.8","severity":"HIGH","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","data":{"version":"3.0","vectorString":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"}},{"version":"3.0","source":"CNA","type":"CVSS","score":"7.8","severity":"HIGH","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","data":{"baseScore":7.8,"baseSeverity":"HIGH","vectorString":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.0"}}],"references":[{"url":"https://www.zerodayinitiative.com/advisories/ZDI-26-976/","name":"https://www.zerodayinitiative.com/advisories/ZDI-26-976/","refsource":"zdi-disclosures@trendmicro.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/ggml-org/llama.cpp/pull/31336","name":"https://github.com/ggml-org/llama.cpp/pull/31336","refsource":"zdi-disclosures@trendmicro.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-126975","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-126975","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"llama.cpp","product":"llama.cpp","version":"affected b11160 (70c4e1582)","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"metrics":[{"other":{"content":{"id":"CVE-2026-126975","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","timestamp":"2026-11-18T17:23:15.999526Z","version":"2.0.3"},"type":"ssvc"}}],"providerMetadata":{"dateUpdated":"2026-11-18T17:23:28.861Z","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP"},"title":"CISA ADP Vulnrichment"}],"cna":{"affected":[{"defaultStatus":"unknown","product":"llama.cpp","vendor":"llama.cpp","versions":[{"status":"affected","version":"b11160 (70c4e1582)"}]}],"dateAssigned":"2026-11-12T03:09:29.152Z","datePublic":"2026-11-13T21:02:11.052Z","descriptions":[{"lang":"en","value":"llama.cpp GGUF File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of llama.cpp. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.\n\nThe specific flaw exists within the parsing of GGUF files. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a heap-based buffer. An attacker can leverage this vulnerability to execute arbitrary code in the context of the current process. Was ZDI-CAN-34558."}],"metrics":[{"cvssV3_0":{"baseScore":7.8,"baseSeverity":"HIGH","vectorString":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.0"},"format":"CVSS"}],"problemTypes":[{"descriptions":[{"cweId":"CWE-122","description":"CWE-122: Heap-based Buffer Overflow","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-11-17T23:15:46.946Z","orgId":"99f1926a-a320-47d8-bbb5-42feb611262e","shortName":"zdi"},"references":[{"name":"ZDI-26-976","tags":["x_research-advisory"],"url":"https://www.zerodayinitiative.com/advisories/ZDI-26-976/"},{"name":"vendor-provided URL","tags":["vendor-advisory"],"url":"https://github.com/ggml-org/llama.cpp/pull/31336"}],"source":{"lang":"en","value":"lucasfutures"},"title":"llama.cpp GGUF File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability"}},"cveMetadata":{"assignerOrgId":"99f1926a-a320-47d8-bbb5-42feb611262e","assignerShortName":"zdi","cveId":"CVE-2026-126975","datePublished":"2026-11-17T23:15:46.946Z","dateReserved":"2026-11-12T03:09:29.124Z","dateUpdated":"2026-11-18T17:23:28.861Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-18 00:18:38","lastModifiedDate":"2026-11-18 18:19:04","problem_types":["CWE-122","CWE-122 CWE-122: Heap-based Buffer Overflow"],"metrics":{"cvssMetricV30":[{"source":"zdi-disclosures@trendmicro.com","type":"Secondary","cvssData":{"version":"3.0","vectorString":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.9}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-11-18T17:23:15.999526Z","id":"CVE-2026-126975","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"126975","Ordinal":"1","Title":"llama.cpp GGUF File Parsing Heap-based Buffer Overflow Remote Co","CVE":"CVE-2026-126975","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"126975","Ordinal":"1","NoteData":"llama.cpp GGUF File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of llama.cpp. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.\n\nThe specific flaw exists within the parsing of GGUF files. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a heap-based buffer. An attacker can leverage this vulnerability to execute arbitrary code in the context of the current process. Was ZDI-CAN-34558.","Type":"Description","Title":"llama.cpp GGUF File Parsing Heap-based Buffer Overflow Remote Co"}]}}}