CVE-2026-43622: llama.cpp b1886–b7445 Double Free via llama-android.cpp

Published Aug 6, 2026
·
Updated

llama.cpp builds b1886 through b7445 contain a double free vulnerability in the LLaMA-Android JNI wrapper where new1batch() allocates memory using malloc() while free1batch() deallocates it using the C++ delete operator, causing heap metadata corruption. Attackers can trigger this memory management mismatch to cause denial of service through process crashes or potentially achieve arbitrary code execution depending on allocator state.

Affected Software

1 affected component
llama.cpp>=b1886<=b7445

Event History

Aug 6, 2026
CVE Published
via MITRE·03:27 PM
Data Sourced
via MITRE·03:27 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-43622?

CVE-2026-43622 has a high severity rating of 7.8.

2

What type of vulnerability is CVE-2026-43622?

CVE-2026-43622 is classified as a Double Free vulnerability.

3

How can I fix CVE-2026-43622?

To fix CVE-2026-43622, you should update to the latest version of llama.cpp released after b7445 which addresses this issue.

4

What causes the double free issue in CVE-2026-43622?

The double free issue in CVE-2026-43622 is caused by the mismatch of memory allocation and deallocation methods in the LLaMA-Android JNI wrapper.

5

What are the potential impacts of CVE-2026-43622?

Exploitation of CVE-2026-43622 can lead to heap metadata corruption, which can potentially allow attackers to execute arbitrary code.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203