The vulnerability, CVE-2026-105753, in vLLM arises from a cache desynchronization issue between the frontend (P0) and engine core (P1) processes when handling multimodal inputs. Specifically, the MultiModalProcessorSenderCache (P0) would cache metadata for a multimodal item upon rendering, even if the request was subsequently rejected (e.g., due to exceeding max_model_len) before the MultiModalReceiverCache (P1) could receive and cache the actual payload. This created an inconsistent state where P0 believed the item was cached in P1, but P1 did not have it.
When a later request with the same media hash arrived, P0, finding the item in its 'shadow' cache, would send a None payload to P1. P1's MultiModalReceiverCache.get_and_update_item function, expecting a valid item or a cached one, would then hit an assert mm_item is not None statement, causing the entire engine to crash. This constituted a denial-of-service vulnerability.
The identified vulnerable functions are:
MultiModalReceiverCache.get_and_update_item: This is the direct point of failure. In the vulnerable version, the assert statement would trigger a crash when P0 sent None for a non-existent item in P1. The patch replaces this assert with a MultiModalCacheMissError exception, allowing for graceful error handling.
MultiModalProcessorSenderCache.get_and_update_item: This function contributes to the vulnerability by prematurely caching metadata. While its core logic isn't changed to prevent this, the overall fix introduces an invalidate method to this class (and its base) to allow the system to correct the desynchronized state.
EngineCore.process_input_sockets: In the vulnerable state, this function, which orchestrates request processing, lacked the necessary error handling to catch the MultiModalCacheMissError that would eventually lead to the assertion failure. The patch adds a try-except block to handle this specific error, preventing a crash.
EngineCore._handle_mm_cache_miss: This function is new in the patch, but its absence in the vulnerable version highlights a missing critical component. Without this handler, the engine had no mechanism to respond gracefully to a cache desync, leading to a crash instead of a retryable error.
async_llm._run_output_handler: In the vulnerable version, this output handler lacked the logic to invalidate stale entries in the P0 cache based on feedback from P1 about missing items. The patch adds this crucial invalidation step, which is essential for recovering from the desynchronization.
In essence, the vulnerability stemmed from a lack of atomic cache updates across processes and insufficient error handling for cache desynchronization. An attacker could craft requests that would cause P0 to cache an item, then reject the request, and finally send a subsequent request with the same item to trigger the assertion in P1, leading to a service crash.