Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-70638

published high CVSS 4.0 · 8.5

llama.cpp b1886–b7445 Integer Overflow via new_1batch() in llama-android.cpp

Published
06 Aug 2026, 15:35:08 UTC
Updated
08 Nov 2026, 14:08:32 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
ggml-org — llama.cppb1886 through b7445 (affected · custom) · 5c0d18881e0e9794c96b2602736b758bac9d9388 (unaffected · git) · Other versions: unaffected Version-specific Not stated VulnCheck

Description

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.

en · VulnCheck · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
4.0
Base score
8.5 / 10
Severity
high
Provider
VulnCheck · cna
Vector string
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Scenarios
en: GENERAL

Additional Assessments

Additional normalized CVSS assessments
VersionScoreSeverityProviderVectorScenarios
3.1 7.8 high VulnCheck · cna CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H en: GENERAL

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
ggml-org llama.cpp b1886 through b7445 (affected · custom)5c0d18881e0e9794c96b2602736b758bac9d9388 (unaffected · git)Default: unaffected VulnCheck · cna

Weaknesses

2
  • CWE-190 Integer Overflow or Wraparound (VulnCheck · cna)
  • CWE-122 Heap-based Buffer Overflow (VulnCheck · cna)

References

4

Provider assertions

2

VulnCheck · cna

llama.cpp b1886–b7445 Integer Overflow via new_1batch() in llama-android.cpp

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
8f5eb8af38fcefb334eda87921e187b5d01c8c1f4b2fdfaff62fbd6da206c364
Ingested
08 Nov 2026, 14:15:24 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected