CVE-2026-2069

ggml-org llama.cpp GBNF Grammar llama-grammar.cpp llama_grammar_advance_stack stack-based overflow

At a glance

Severity
MEDIUM 4.8
EPSS
EPSS 0.14 % · percentile 4 (2026-10-27)
State
PUBLISHED
Published
Updated
Assigner
VulDB
NVD status
Deferred

Description

A flaw has been found in ggml-org llama.cpp up to 55abc39. Impacted is the function llama_grammar_advance_stack of the file llama.cpp/src/llama-grammar.cpp of the component GBNF Grammar Handler. This manipulation causes stack-based buffer overflow. The attack needs to be launched locally. The exploit has been published and may be used. Patch name: 18993. To fix this issue, it is recommended to deploy a patch.

Scores

VersionScoreVectorScored by
CVSS 4.0MEDIUM 4.8CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:PVulDB
CVSS 3.1LOW 3.3CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O/RC:CVulDB
CVSS 3.0LOW 3.3CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O/RC:CVulDB
CVSS 2.0LOW 1.7AV:L/AC:L/Au:S/C:N/I:N/A:P/E:POC/RL:OF/RC:CVulDB
CVSS 4.0LOW 1.9CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:XNVD · cna@vuldb.com (Secondary)
CVSS 3.1LOW 3.3CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:LNVD · cna@vuldb.com (Secondary)
CVSS 2.0LOW 1.7AV:L/AC:L/Au:S/C:N/I:N/A:PNVD · cna@vuldb.com (Secondary)

Weaknesses (CWE)

European references

Affected products

ProductVersions
ggml-org · llama.cppaffected 55abc39

References

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD