# CVE-2026-54236: vLLM: incomplete CVE-2026-22778 fix leaks PIL repr addresses via Anthropic router

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.86%, higher than 59% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-17T14:04:09.000Z
- Modified: 2026-10-25T23:10:00.167Z
- Also known as: GHSA-hgg8-fqqc-vfmw, PYSEC-2026-3408
- Weaknesses: CWE-532
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

vLLM is an inference and serving engine for large language models (LLMs). Prior to 0.23.1rc0, the fix for CVE-2026-22778, which introduced a sanitize_message helper that strips object-repr memory addresses from error messages before they reach the client, is incomplete: several response paths echo str(exc) directly to clients without calling sanitize_message. The unsanitized sites include the Anthropic API router in vllm/entrypoints/anthropic/api_router.py (the POST /v1/messages and POST /v1/messages/count_tokens handlers), 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. These paths catch the exception inside the route coroutine and construct the JSONResponse themselves, bypassing the sanitizing global FastAPI exception handler, and WebSocket frames do not traverse that handler chain at all. Using the same primitive as the parent issue, an unauthenticated attacker can send malformed image bytes through the Anthropic Messages API image content parts so that PIL.Image.open raises an UnidentifiedImageError whose message contains the BytesIO object repr, leaking the heap memory address verbatim in the error.message field of the response body. This vulnerability is fixed in 0.23.1rc0.

(As written by CVE List.)

## Affected

- vllm-project vllm: < 0.23.1rc0
- vllm (PyPI): before 0.24.0; up to 0.23.0
- vllm vllm: before 0.23.1

## Every score

- GitHub_M: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`

## References

- <https://github.com/vllm-project/vllm/security/advisories/GHSA-hgg8-fqqc-vfmw> (exploit, third-party-advisory, web)
- <https://github.com/vllm-project/vllm/pull/45119> (issue-tracking, web)
- <https://github.com/vllm-project/vllm/commit/94923629729381d7f7c9efde72071a2441f7fd82> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-54236> (advisory)
- <https://github.com/advisories/GHSA-hgg8-fqqc-vfmw> (advisory)
- <https://github.com/pypa/advisory-database/tree/main/vulns/vllm/PYSEC-2026-3408.yaml> (web)
- <https://github.com/vllm-project/vllm> (package)
- <https://pypi.org/project/vllm> (package, web)

## Sources

- CVE List: [CVE-2026-54236](https://www.cve.org/CVERecord?id=CVE-2026-54236), CVE Terms of Use, modified 2026-06-23
- GitHub Advisory Database: [GHSA-hgg8-fqqc-vfmw](https://github.com/advisories/GHSA-hgg8-fqqc-vfmw), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-54236](https://nvd.nist.gov/vuln/detail/CVE-2026-54236), Public domain, modified 2026-10-25
- PyPA Advisory Database: [PYSEC-2026-3408](https://osv.dev/vulnerability/PYSEC-2026-3408), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2026-54236 · Whole record: https://cve.day/CVE-2026-54236.json · Rebuilt by cve.day 2026-11-25T22:59:25.440Z
