PT-2026-50491 · Vllm · Vllm

·

CVE-2026-54236

·

Published

2026-06-17

·

Updated

2026-07-13

CVSS v3.1

5.3

Medium

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Name of the Vulnerable Software and Affected Versions vLLM versions prior to 0.23.1rc0
Description An incomplete fix for a previous memory leak issue allows unauthenticated attackers to leak heap memory addresses. The system fails to properly sanitize error messages in several response paths, echoing the string representation of exceptions directly to clients. This occurs because certain routes catch exceptions internally and construct responses themselves, bypassing the global sanitizing exception handler, while WebSocket frames bypass the handler chain entirely.
Technical details include:
  • API Endpoints: 'POST /v1/messages' and 'POST /v1/messages/count tokens' within the Anthropic API router.
  • Vulnerable Components: The Server-Sent Events streaming converter in vllm/entrypoints/anthropic/serving.py and the realtime speech-to-text WebSocket in vllm/entrypoints/speech to text/realtime/connection.py.
An attacker can exploit this by sending malformed image bytes through the Anthropic Messages API image content parts. This causes the PIL.Image.open() function to raise an UnidentifiedImageError, which includes a BytesIO object representation containing a verbatim heap memory address in the error.message field of the response body.
Recommendations Update to version 0.23.1rc0 or later. As a temporary workaround, restrict access to the 'POST /v1/messages' and 'POST /v1/messages/count tokens' endpoints and the realtime speech-to-text WebSocket to minimize the risk of exploitation.

Exploit

Fix

Insertion into Log File

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-54236
GHSA-HGG8-FQQC-VFMW
PYSEC-2026-3408

Affected Products

Vllm