{"id":"CVE-2026-22778","published":"2026-02-02T21:09:53Z","modified":"2026-07-15T01:19:16Z","title":"vLLM leaks a heap address when PIL throws an error","vendor":"vllm-project","product":"vllm","tier":"tail","description":{"text":"vLLM is an inference and serving engine for large language models (LLMs). From 0.8.3 to before 0.14.1, when an invalid image is sent to vLLM's multimodal endpoint, PIL throws an error. vLLM returns this error to the client, leaking a heap address. With this leak, we reduce ASLR from 4 billion guesses to ~8 guesses. This vulnerability can be chained a heap overflow with JPEG2000 decoder in OpenCV/FFmpeg to achieve remote code execution. This vulnerability is fixed in 0.14.1.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.18287,"percentile":0.97289,"provenance":"source"},"cwes":[{"id":"CWE-532","name":"Insertion of Sensitive Information into Log File"},{"id":"CWE-209","name":"Generation of Error Message Containing Sensitive Information"}],"references":[{"url":"https://github.com/vllm-project/vllm/security/advisories/GHSA-4r2x-xpjr-7cvv","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/vllm-project/vllm/pull/31987","tags":["x_refsource_MISC"]},{"url":"https://github.com/vllm-project/vllm/pull/32319","tags":["x_refsource_MISC"]},{"url":"https://github.com/vllm-project/vllm/releases/tag/v0.14.1","tags":["x_refsource_MISC"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-22778","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2436113","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-22778.json","tags":["x_sadp-csaf-vex"]},{"url":"https://access.redhat.com/errata/RHSA-2026:3461","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:3462","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:30089","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:30088","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:30087","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:3782","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:19712","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:3713","tags":["vendor-advisory","x_refsource_REDHAT"]}],"priority":{"score":31.3,"factors":[{"name":"EPSS percentile","points":19.46},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.86}]},"exploitSources":{"metasploit":[{"name":"vLLM Multimodal Heap-Address Information Leak Scanner","module":"auxiliary/scanner/http/vllm_multimodal_info_leak","type":"auxiliary","disclosureDate":"2026-02-02","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/scanner/http/vllm_multimodal_info_leak.rb"}],"nuclei":[{"id":"CVE-2026-22778","name":"vLLM 0.8.3 - 0.14.0 - Information Disclosure","severity":"critical","path":"http/cves/2026/CVE-2026-22778.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-22778.yaml"}],"first":{"date":"2026-02-02","source":"Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/scanner/http/vllm_multimodal_info_leak.rb"},"provenance":"source"},"vendorSlug":"vllm-project","affectedVersions":[{"vendor":"vllm-project","product":"vllm","versions":[">= 0.8.3, < 0.14.1"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2026-02-03T15:40:34.684022Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"vllm","vulnerableRanges":[">=0.8.3, <0.14.1"],"patched":["0.14.1"],"from":["GHSA-4r2x-xpjr-7cvv","PYSEC-2026-565"],"provenance":"source"}],"summary":{"text":"The flaw is in vLLM, the inference and serving engine for large language models, in versions from 0.8.3 up to but not including 0.14.1: when an invalid image is sent to its multimodal endpoint, the resulting PIL error is returned to the client and leaks a heap address. An unauthenticated remote attacker able to reach the multimodal endpoint can send a malformed image to obtain that leak, which sharply reduces the effort needed to defeat ASLR and can be chained with a heap overflow in the JPEG2000 decoder of OpenCV/FFmpeg, with no user interaction or special configuration required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:30:59Z"},"euvd":{"id":"EUVD-2026-5277","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-vllm-project-vllm-cve-2026-22778","children":[{"from":"CVE-2026-22778","to":"CVE-2026-54236","relation":"incomplete-fix","confidence":"high","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"incomplete-fix","quote":"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) dire…","from":"CVE.org","in":"CVE-2026-54236"}]}],"packageHistory":[{"cve":"CVE-2026-22773","published":"2026-01-10","fixed":"0.12.0","kev":false},{"cve":"CVE-2026-56340","published":"2026-06-20","fixed":"0.13.0","kev":false},{"cve":"CVE-2026-22807","published":"2026-01-21","fixed":"0.14.0","kev":false,"link":{"from":"CVE-2026-22807","to":"CVE-2026-22778","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:vllm","fromFixed":"0.14.0","toFixed":"0.14.1","daysApart":12}]}},{"cve":"CVE-2026-22778","published":"2026-02-02","fixed":"0.14.1","kev":false},{"cve":"CVE-2026-24779","published":"2026-01-27","fixed":"0.14.1","kev":false},{"cve":"CVE-2026-25960","published":"2026-03-09","fixed":"0.17.0","kev":false},{"cve":"CVE-2026-27893","published":"2026-03-26","fixed":"0.18.0","kev":false}],"package":"PyPI:vllm"}}