DEBIAN-CVE-2026-27940

Source
https://security-tracker.debian.org/tracker/CVE-2026-27940
Import Source
https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-27940.json
JSON Data
https://api.osv.dev/v1/vulns/DEBIAN-CVE-2026-27940
Upstream
Published
2026-03-12T17:16:49Z
Modified
2026-09-14T17:03:01Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Debian:14 / llama.cpp

Package

Name
llama.cpp
Purl
pkg:deb/debian/llama.cpp?arch=source&distro=forky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
8461+dfsg-1

Affected versions

Other
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~exp1
5882+dfsg-3~exp2
5882+dfsg-3~exp3
5882+dfsg-3
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 specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-27940.json"