# CVE-2026-22778: vLLM leaks a heap address when PIL throws an error

- Severity: Critical 9.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- 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): 18.3%, higher than 97% of CVEs (2026-12-01)
- Published: 2026-02-02T17:43:45.000Z
- Modified: 2026-09-10T03:50:34.295Z
- Also known as: GHSA-4r2x-xpjr-7cvv, PYSEC-2026-565
- Weaknesses: CWE-122, CWE-209, CWE-532
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- vllm-project vllm: >= 0.8.3, < 0.14.1
- rhaiis/vllm-cuda-rhel9: no versions given (not affected: from 1772160593 before *; from 1782352847 before *)
- rhaiis/vllm-rocm-rhel9: no versions given (not affected: from 1772160625 before *; from 1782353093 before *)
- rhaiis/vllm-spyre-rhel9: no versions given (not affected: from 1782352919 before *)
- rhoai/odh-vllm-cpu-rhel9: no versions given (not affected: from 1772093436 before *; from 1778264363 before *)
- rhoai/odh-vllm-cuda-rhel9: no versions given (not affected: from 1772093276 before *)
- rhoai/odh-vllm-gaudi-rhel9: no versions given (not affected: from 1772093278 before *; from 1770956034 before *)
- rhoai/odh-vllm-rocm-rhel9: no versions given (not affected: from 1772093237 before *)
- rhaiis/vllm-tpu-rhel9: no versions given
- rhelai3/bootc-aws-cuda-rhel9: no versions given
- rhelai3/bootc-azure-cuda-rhel9: no versions given
- rhelai3/bootc-cuda-rhel9: no versions given
- rhelai3/bootc-gcp-cuda-rhel9: no versions given
- rhoai/odh-kserve-agent-rhel9: no versions given
- rhoai/odh-kserve-controller-rhel9: no versions given
- rhoai/odh-kserve-router-rhel9: no versions given
- rhoai/odh-kserve-storage-initializer-rhel9: no versions given
- vllm (PyPI): from 0.8.3 before 0.14.1
- vllm vllm: from 0.8.3 before 0.14.1

## Every score

- GitHub_M: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- redhat-SADP: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/vllm-project/vllm/security/advisories/GHSA-4r2x-xpjr-7cvv> (vendor-advisory, web)
- <https://github.com/vllm-project/vllm/pull/31987> (issue-tracking, patch, web)
- <https://github.com/vllm-project/vllm/pull/32319> (issue-tracking, patch, web)
- <https://github.com/vllm-project/vllm/releases/tag/v0.14.1> (release-notes, web)
- <https://access.redhat.com/security/cve/CVE-2026-22778> (vdb-entry, web)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2436113> (issue-tracking, web)
- <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-22778.json> (web)
- <https://access.redhat.com/errata/RHSA-2026:3461> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:3462> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:30089> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:30088> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:30087> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:3782> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:19712> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:3713> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-22778> (advisory)
- <https://pypi.org/project/vllm> (package, web)
- <https://github.com/vllm-project/vllm> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/vllm/PYSEC-2026-565.yaml> (web)
- <https://github.com/advisories/GHSA-4r2x-xpjr-7cvv> (advisory)

## Sources

- CVE List: [CVE-2026-22778](https://www.cve.org/CVERecord?id=CVE-2026-22778), CVE Terms of Use, modified 2026-07-15
- GitHub Advisory Database: [GHSA-4r2x-xpjr-7cvv](https://github.com/advisories/GHSA-4r2x-xpjr-7cvv), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-22778](https://nvd.nist.gov/vuln/detail/CVE-2026-22778), Public domain, modified 2026-07-15
- PyPA Advisory Database: [PYSEC-2026-565](https://osv.dev/vulnerability/PYSEC-2026-565), CC-BY-4.0, modified 2026-07-01

---

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