vllm - 💡(How to fix) Fix [Feature]: Update default Python version in pre-built docker images [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
vllm-project/vllm#41264Fetched 2026-04-30 06:19:17
View on GitHub
Comments
0
Participants
1
Timeline
1
Reactions
2
Timeline (top)
labeled ×1

Fix Action

Fix / Workaround

It's still using python 3.12. When I scan it with grype, I get a handful of CVEs that would be resolved by upgrading to a more recent python version. These look like they could be resolved by upgrading to either Python 3.13 or Python 3.14.

Code Example

libpython3.12-dev          3.12.3-1ubuntu0.13                         deb         CVE-2026-4519        Medium      < 0.1% (0th)   < 0.1
libpython3.12-minimal      3.12.3-1ubuntu0.13                         deb         CVE-2026-4519        Medium      < 0.1% (0th)   < 0.1
libpython3.12-stdlib       3.12.3-1ubuntu0.13                         deb         CVE-2026-4519        Medium      < 0.1% (0th)   < 0.1
libpython3.12t64           3.12.3-1ubuntu0.13                         deb         CVE-2026-4519        Medium      < 0.1% (0th)   < 0.1
python3.12                 3.12.3-1ubuntu0.13                         deb         CVE-2026-4519        Medium      < 0.1% (0th)   < 0.1
python3.12-dev             3.12.3-1ubuntu0.13                         deb         CVE-2026-4519        Medium      < 0.1% (0th)   < 0.1
python3.12-minimal         3.12.3-1ubuntu0.13                         deb         CVE-2026-4519        Medium      < 0.1% (0th)   < 0.1
python3.12-venv            3.12.3-1ubuntu0.13                         deb         CVE-2026-4519        Medium      < 0.1% (0th)   < 0.1
libpython3.12-dev          3.12.3-1ubuntu0.13                         deb         CVE-2026-3479        Medium      < 0.1% (3rd)   < 0.1  
libpython3.12-minimal      3.12.3-1ubuntu0.13                         deb         CVE-2026-3479        Medium      < 0.1% (3rd)   < 0.1  
libpython3.12-stdlib       3.12.3-1ubuntu0.13                         deb         CVE-2026-3479        Medium      < 0.1% (3rd)   < 0.1  
libpython3.12t64           3.12.3-1ubuntu0.13                         deb         CVE-2026-3479        Medium      < 0.1% (3rd)   < 0.1  
python3.12                 3.12.3-1ubuntu0.13                         deb         CVE-2026-3479        Medium      < 0.1% (3rd)   < 0.1  
python3.12-dev             3.12.3-1ubuntu0.13                         deb         CVE-2026-3479        Medium      < 0.1% (3rd)   < 0.1  
python3.12-minimal         3.12.3-1ubuntu0.13                         deb         CVE-2026-3479        Medium      < 0.1% (3rd)   < 0.1  
python3.12-venv            3.12.3-1ubuntu0.13                         deb         CVE-2026-3479        Medium      < 0.1% (3rd)   < 0.1
libpython3.12-dev          3.12.3-1ubuntu0.13                         deb         CVE-2026-5713        Medium      < 0.1% (4th)   < 0.1  
libpython3.12-minimal      3.12.3-1ubuntu0.13                         deb         CVE-2026-5713        Medium      < 0.1% (4th)   < 0.1  
libpython3.12-stdlib       3.12.3-1ubuntu0.13                         deb         CVE-2026-5713        Medium      < 0.1% (4th)   < 0.1  
libpython3.12t64           3.12.3-1ubuntu0.13                         deb         CVE-2026-5713        Medium      < 0.1% (4th)   < 0.1  
python3.12                 3.12.3-1ubuntu0.13                         deb         CVE-2026-5713        Medium      < 0.1% (4th)   < 0.1  
python3.12-dev             3.12.3-1ubuntu0.13                         deb         CVE-2026-5713        Medium      < 0.1% (4th)   < 0.1  
python3.12-minimal         3.12.3-1ubuntu0.13                         deb         CVE-2026-5713        Medium      < 0.1% (4th)   < 0.1  
python3.12-venv            3.12.3-1ubuntu0.13                         deb         CVE-2026-5713        Medium      < 0.1% (4th)   < 0.1  
libpython3.12-dev          3.12.3-1ubuntu0.13            (won't fix)  deb         CVE-2025-12781       Medium      < 0.1% (4th)   < 0.1  
libpython3.12-minimal      3.12.3-1ubuntu0.13            (won't fix)  deb         CVE-2025-12781       Medium      < 0.1% (4th)   < 0.1  
libpython3.12-stdlib       3.12.3-1ubuntu0.13            (won't fix)  deb         CVE-2025-12781       Medium      < 0.1% (4th)   < 0.1  
libpython3.12t64           3.12.3-1ubuntu0.13            (won't fix)  deb         CVE-2025-12781       Medium      < 0.1% (4th)   < 0.1  
python3.12                 3.12.3-1ubuntu0.13            (won't fix)  deb         CVE-2025-12781       Medium      < 0.1% (4th)   < 0.1  
python3.12-dev             3.12.3-1ubuntu0.13            (won't fix)  deb         CVE-2025-12781       Medium      < 0.1% (4th)   < 0.1  
python3.12-minimal         3.12.3-1ubuntu0.13            (won't fix)  deb         CVE-2025-12781       Medium      < 0.1% (4th)   < 0.1  
python3.12-venv            3.12.3-1ubuntu0.13            (won't fix)  deb         CVE-2025-12781       Medium      < 0.1% (4th)   < 0.1  
libpython3.12-dev          3.12.3-1ubuntu0.13                         deb         CVE-2026-2297        Medium      < 0.1% (4th)   < 0.1  
libpython3.12-minimal      3.12.3-1ubuntu0.13                         deb         CVE-2026-2297        Medium      < 0.1% (4th)   < 0.1  
libpython3.12-stdlib       3.12.3-1ubuntu0.13                         deb         CVE-2026-2297        Medium      < 0.1% (4th)   < 0.1  
libpython3.12t64           3.12.3-1ubuntu0.13                         deb         CVE-2026-2297        Medium      < 0.1% (4th)   < 0.1  
python3.12                 3.12.3-1ubuntu0.13                         deb         CVE-2026-2297        Medium      < 0.1% (4th)   < 0.1  
python3.12-dev             3.12.3-1ubuntu0.13                         deb         CVE-2026-2297        Medium      < 0.1% (4th)   < 0.1  
python3.12-minimal         3.12.3-1ubuntu0.13                         deb         CVE-2026-2297        Medium      < 0.1% (4th)   < 0.1  
python3.12-venv            3.12.3-1ubuntu0.13                         deb         CVE-2026-2297        Medium      < 0.1% (4th)   < 0.1  
python3-pip-whl            24.0+dfsg-1ubuntu1.3                       deb         CVE-2026-3219        Medium      < 0.1% (4th)   < 0.1
RAW_BUFFERClick to expand / collapse

🚀 The feature, motivation and pitch

Since vLLM==0.20.0 now supports Python 3.14, are there plans to update the default python version in the vLLM docker images?

It's still using python 3.12. When I scan it with grype, I get a handful of CVEs that would be resolved by upgrading to a more recent python version. These look like they could be resolved by upgrading to either Python 3.13 or Python 3.14.

libpython3.12-dev          3.12.3-1ubuntu0.13                         deb         CVE-2026-4519        Medium      < 0.1% (0th)   < 0.1
libpython3.12-minimal      3.12.3-1ubuntu0.13                         deb         CVE-2026-4519        Medium      < 0.1% (0th)   < 0.1
libpython3.12-stdlib       3.12.3-1ubuntu0.13                         deb         CVE-2026-4519        Medium      < 0.1% (0th)   < 0.1
libpython3.12t64           3.12.3-1ubuntu0.13                         deb         CVE-2026-4519        Medium      < 0.1% (0th)   < 0.1
python3.12                 3.12.3-1ubuntu0.13                         deb         CVE-2026-4519        Medium      < 0.1% (0th)   < 0.1
python3.12-dev             3.12.3-1ubuntu0.13                         deb         CVE-2026-4519        Medium      < 0.1% (0th)   < 0.1
python3.12-minimal         3.12.3-1ubuntu0.13                         deb         CVE-2026-4519        Medium      < 0.1% (0th)   < 0.1
python3.12-venv            3.12.3-1ubuntu0.13                         deb         CVE-2026-4519        Medium      < 0.1% (0th)   < 0.1
libpython3.12-dev          3.12.3-1ubuntu0.13                         deb         CVE-2026-3479        Medium      < 0.1% (3rd)   < 0.1  
libpython3.12-minimal      3.12.3-1ubuntu0.13                         deb         CVE-2026-3479        Medium      < 0.1% (3rd)   < 0.1  
libpython3.12-stdlib       3.12.3-1ubuntu0.13                         deb         CVE-2026-3479        Medium      < 0.1% (3rd)   < 0.1  
libpython3.12t64           3.12.3-1ubuntu0.13                         deb         CVE-2026-3479        Medium      < 0.1% (3rd)   < 0.1  
python3.12                 3.12.3-1ubuntu0.13                         deb         CVE-2026-3479        Medium      < 0.1% (3rd)   < 0.1  
python3.12-dev             3.12.3-1ubuntu0.13                         deb         CVE-2026-3479        Medium      < 0.1% (3rd)   < 0.1  
python3.12-minimal         3.12.3-1ubuntu0.13                         deb         CVE-2026-3479        Medium      < 0.1% (3rd)   < 0.1  
python3.12-venv            3.12.3-1ubuntu0.13                         deb         CVE-2026-3479        Medium      < 0.1% (3rd)   < 0.1
libpython3.12-dev          3.12.3-1ubuntu0.13                         deb         CVE-2026-5713        Medium      < 0.1% (4th)   < 0.1  
libpython3.12-minimal      3.12.3-1ubuntu0.13                         deb         CVE-2026-5713        Medium      < 0.1% (4th)   < 0.1  
libpython3.12-stdlib       3.12.3-1ubuntu0.13                         deb         CVE-2026-5713        Medium      < 0.1% (4th)   < 0.1  
libpython3.12t64           3.12.3-1ubuntu0.13                         deb         CVE-2026-5713        Medium      < 0.1% (4th)   < 0.1  
python3.12                 3.12.3-1ubuntu0.13                         deb         CVE-2026-5713        Medium      < 0.1% (4th)   < 0.1  
python3.12-dev             3.12.3-1ubuntu0.13                         deb         CVE-2026-5713        Medium      < 0.1% (4th)   < 0.1  
python3.12-minimal         3.12.3-1ubuntu0.13                         deb         CVE-2026-5713        Medium      < 0.1% (4th)   < 0.1  
python3.12-venv            3.12.3-1ubuntu0.13                         deb         CVE-2026-5713        Medium      < 0.1% (4th)   < 0.1  
libpython3.12-dev          3.12.3-1ubuntu0.13            (won't fix)  deb         CVE-2025-12781       Medium      < 0.1% (4th)   < 0.1  
libpython3.12-minimal      3.12.3-1ubuntu0.13            (won't fix)  deb         CVE-2025-12781       Medium      < 0.1% (4th)   < 0.1  
libpython3.12-stdlib       3.12.3-1ubuntu0.13            (won't fix)  deb         CVE-2025-12781       Medium      < 0.1% (4th)   < 0.1  
libpython3.12t64           3.12.3-1ubuntu0.13            (won't fix)  deb         CVE-2025-12781       Medium      < 0.1% (4th)   < 0.1  
python3.12                 3.12.3-1ubuntu0.13            (won't fix)  deb         CVE-2025-12781       Medium      < 0.1% (4th)   < 0.1  
python3.12-dev             3.12.3-1ubuntu0.13            (won't fix)  deb         CVE-2025-12781       Medium      < 0.1% (4th)   < 0.1  
python3.12-minimal         3.12.3-1ubuntu0.13            (won't fix)  deb         CVE-2025-12781       Medium      < 0.1% (4th)   < 0.1  
python3.12-venv            3.12.3-1ubuntu0.13            (won't fix)  deb         CVE-2025-12781       Medium      < 0.1% (4th)   < 0.1  
libpython3.12-dev          3.12.3-1ubuntu0.13                         deb         CVE-2026-2297        Medium      < 0.1% (4th)   < 0.1  
libpython3.12-minimal      3.12.3-1ubuntu0.13                         deb         CVE-2026-2297        Medium      < 0.1% (4th)   < 0.1  
libpython3.12-stdlib       3.12.3-1ubuntu0.13                         deb         CVE-2026-2297        Medium      < 0.1% (4th)   < 0.1  
libpython3.12t64           3.12.3-1ubuntu0.13                         deb         CVE-2026-2297        Medium      < 0.1% (4th)   < 0.1  
python3.12                 3.12.3-1ubuntu0.13                         deb         CVE-2026-2297        Medium      < 0.1% (4th)   < 0.1  
python3.12-dev             3.12.3-1ubuntu0.13                         deb         CVE-2026-2297        Medium      < 0.1% (4th)   < 0.1  
python3.12-minimal         3.12.3-1ubuntu0.13                         deb         CVE-2026-2297        Medium      < 0.1% (4th)   < 0.1  
python3.12-venv            3.12.3-1ubuntu0.13                         deb         CVE-2026-2297        Medium      < 0.1% (4th)   < 0.1  
python3-pip-whl            24.0+dfsg-1ubuntu1.3                       deb         CVE-2026-3219        Medium      < 0.1% (4th)   < 0.1

There are a few more, but they're largely

By organization policy on a deployment I'm working on, I cannot deploy any images with Medium or higher CVEs. :disappointed:

Alternatives

No response

Additional context

No response

Before submitting a new issue...

  • Make sure you already searched for relevant issues, and asked the chatbot living at the bottom right corner of the documentation page, which can answer lots of frequently asked questions.

extent analysis

TL;DR

Upgrading the default Python version in the vLLM Docker images to Python 3.13 or Python 3.14 may resolve the Medium-level CVEs.

Guidance

  • Verify that the listed CVEs (e.g., CVE-2026-4519, CVE-2026-3479) are indeed resolved in Python 3.13 or Python 3.14.
  • Check the vLLM documentation for any official guidance on updating the Python version in the Docker images.
  • Consider reaching out to the vLLM maintainers to request an updated image with a newer Python version or to discuss potential workarounds.
  • If possible, test the application with a locally built Docker image using Python 3.13 or Python 3.14 to confirm the CVEs are resolved.

Notes

The issue does not provide information on how to update the Python version in the vLLM Docker images, so further research or support from the vLLM maintainers may be necessary.

Recommendation

Apply workaround: Upgrade to a newer Python version (e.g., Python 3.13 or Python 3.14) in the Docker image, if possible, to resolve the Medium-level CVEs.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

vllm - 💡(How to fix) Fix [Feature]: Update default Python version in pre-built docker images [1 participants]