Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-43631: CWE-416 Use After Free in ggml-org llama.cpp

0
Critical
VulnerabilityCVE-2026-43631cvecve-2026-43631cwe-416cwe-362
Published: 08/06/2026 (08/06/2026, 15:52:09 UTC)
Source: CVE Database V5
Vendor/Project: ggml-org
Product: llama.cpp

Description

A use-after-free vulnerability exists in llama.cpp builds from b7492 through the latest b9060 in the vocab pointer of llama-server when the --sleep-idle-seconds feature is enabled. This flaw allows unauthenticated remote attackers to execute arbitrary code by sending requests during the server's transition to sleep mode, causing concurrent worker threads to dereference a freed pointer. The vulnerability has a critical severity with a CVSS score of 9.2.

CVSS v4.0

Score 9.2critical

Attack Vector
Network
Attack Complexity
High
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/06/2026, 23:11:30 UTC

Technical Analysis

llama.cpp versions starting at build b7492 contain a use-after-free vulnerability (CWE-416) in the vocab pointer of llama-server triggered when the --sleep-idle-seconds feature is enabled. Attackers can remotely exploit this by sending requests while the server transitions to sleep mode, leading to concurrent worker threads dereferencing a freed vocab pointer. This pointer can be reclaimed with attacker-controlled data, enabling remote code execution. The vulnerability is unauthenticated and network exploitable, with high attack complexity and partial user interaction required.

Potential Impact

Successful exploitation allows unauthenticated remote attackers to execute arbitrary code on the affected server. This can lead to full compromise of the system running llama.cpp with the vulnerable feature enabled. The vulnerability affects server stability and security during sleep mode transitions.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, it is recommended to disable the --sleep-idle-seconds feature to prevent triggering the use-after-free condition.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
VulnCheck
Date Reserved
2026-05-01T18:22:45.641Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a750702bf8831d5395f59ca

Added to database: 08/06/2026, 22:13:22 UTC

Last enriched: 08/06/2026, 23:11:30 UTC

Last updated: 08/07/2026, 02:39:16 UTC

Views: 3

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses