Bug 2512314 (CVE-2026-43631) - CVE-2026-43631 llama.cpp: llama.cpp: Remote code execution via use-after-free vulnerability in llama-server
Summary: CVE-2026-43631 llama.cpp: llama.cpp: Remote code execution via use-after-free...
Keywords:
Status: NEW
Alias: CVE-2026-43631
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2514596
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-06 22:29 UTC by OSIDB Bzimport
Modified: 2026-08-12 13:25 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-08-06 22:29:04 UTC
llama.cpp builds b7492 through the latest b9060 contains a use-after-free vulnerability in the vocab pointer of llama-server when the --sleep-idle-seconds feature is enabled, allowing unauthenticated remote attackers to execute arbitrary code. Attackers can trigger the vulnerability by sending requests to affected endpoints while the server transitions to sleep mode, causing concurrent worker threads to dereference a freed vocab pointer that can be reclaimed with attacker-controlled data to achieve remote code execution.


Note You need to log in before you can comment on or make changes to this bug.