
CVE catalog
CVE-2026-27940
DEBIAN-
llama.cpp is an inference of several LLM models in C/C++. Prior to b8146, the gguf_init_from_file_impl() in gguf.cpp is vulnerable to an Integer overflow, leading to an undersized heap allocation. Using the subsequent fread() writes 528+ bytes of attacker-controlled data past the buffer boundary. This is a bypass of a similar bug in the same file - CVE-2025-53630, but the fix overlooked some areas. This vulnerability is fixed in b8146.
- Severity
- High · CVSS 7.8
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Published
- Updated
- Source
- [NVD] · [CVE record]
- EPSS
- 0.18% · Oct 27, 2026
Reported versions and fixes
Each observation applies to its named package, distribution, and release. Distribution backports can fix a vulnerability while retaining an older upstream version number.
Version impact has not been established. The original provider fields are retained below.
Provider details and historical evidence
Original provider fields
{
"package_releases": [],
"fixed_versions": [],
"distribution_packages": [
{
"name": "llama.cpp",
"distro": "debian",
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "8461+dfsg-1"
}
]
}
],
"release": "14",
"versions": [
"5151+dfsg-1~exp2",
"5151+dfsg-1~exp3",
"5318+dfsg-1",
"5318+dfsg-2",
"5713+dfsg-1",
"5760+dfsg-1",
"5760+dfsg-2",
"5760+dfsg-3",
"5760+dfsg-4",
"5882+dfsg-1",
"5882+dfsg-2",
"5882+dfsg-3",
"5882+dfsg-3~exp1",
"5882+dfsg-3~exp2",
"5882+dfsg-3~exp3",
"5882+dfsg-4",
"6641+dfsg-1",
"6641+dfsg-2",
"6641+dfsg-3",
"7593+dfsg-1",
"7593+dfsg-2",
"7593+dfsg-3",
"7965+dfsg-1",
"8064+dfsg-1",
"8064+dfsg-2"
],
"ecosystem": "deb",
"fixed_version": "8461+dfsg-1",
"provider_record_id": "DEBIAN-CVE-2026-27940"
}
]
}OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
Observed: