PT-2026-68618
CVE-2026-43622
·
Published
2026-08-06
·
Updated
2026-08-06
Description by
CVSS 4.0
8.5
HighMetricsAV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/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:X
Name of the Vulnerable Software and Affected Versions
llama.cpp versions b1886 through b7445
Description
A double free issue exists in the LLaMA-Android JNI wrapper. The
new 1batch() function allocates memory using malloc(), but the free 1batch() function deallocates it using the C++ delete operator. This memory management mismatch leads to heap metadata corruption, which can be triggered by attackers to cause a denial of service via process crashes or potentially enable arbitrary code execution.Recommendations
Update llama.cpp to a version later than b7445.
Found an issue in the description? Have something to add? Feel free to write us 👾