Direct naar de inhoud
⚡ Kritieke cyberalerts voor jouw sector & systemen — direct in je inbox. Aanmelden →
CVE's Videos Dagbriefing

← Terug naar CVE-database

CVE-2026-70638

HIGH · 7.8 CVSS Gepubliceerd: CWE-122

Beschrijving NL

llama.cpp builds b1886 tot en met b7445 bevatten een integer overflow kwetsbaarheid in de LLaMA-Android JNI wrapper waarbij de new_1batch () functie sizeof(llama_seq_id) vermenigvuldigt met een aanvaller-gecontroleerde n_seq_max parameter zonder overflow validatie, waardoor heapbuffertoewijzing onvoldoende geheugen omwikkelt en toewijst. Aanvallers kunnen dit uitbuiten door een vervaardigde n_seq_max-waarde te bieden via een kwaadaardig modelbestand of JNI-aanroep om heap-corruptie te activeren en denial of service of willekeurige code-uitvoering te bereiken op Android-applicaties met behulp van de LLaMA-Android-binding.

Origineel (Engels) tonen

llama.cpp builds b1886 through b7445 contain an integer overflow vulnerability in the LLaMA-Android JNI wrapper where the new_1batch() function multiplies sizeof(llama_seq_id) by an attacker-controlled n_seq_max parameter without overflow validation, causing heap buffer allocation to wrap and allocate insufficient memory. Attackers can exploit this by providing a crafted n_seq_max value through a malicious model file or JNI call to trigger heap corruption and achieve denial of service or arbitrary code execution on Android applications using the LLaMA-Android binding.

Vendors

Ggml

Affected products

Llama.cpp

References