Advisory

DEBIAN-CVE-2026-70638

Also known as: CVE-2026-70638

Summary

The record has no summary.

Details

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.

Severity

Not rated by the source.

Dates

Published
2026-08-06 22:18 UTC
Modified
2026-10-30 09:49 UTC

Affected packages and fixes

llama.cpp

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 7593+dfsg-1 (ecosystem)

Fixed versions

7593+dfsg-1

Fix

  • Fixed version 7593+dfsg-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences