Advisory

PYSEC-2025-50

Also known as: CVE-2025-48887, GHSA-w6q7-j642-7c25

Summary

The record has no summary.

Details

vLLM, an inference and serving engine for large language models (LLMs), has a Regular Expression Denial of Service (ReDoS) vulnerability in the file vllm/entrypoints/openai/tool_parsers/pythonic_tool_parser.py of versions 0.6.4 up to but excluding 0.9.0. The root cause is the use of a highly complex and nested regular expression for tool call detection, which can be exploited by an attacker to cause severe performance degradation or make the service unavailable. The pattern contains multiple nested quantifiers, optional groups, and inner repetitions which make it vulnerable to catastrophic backtracking. Version 0.9.0 contains a patch for the issue.

Severity

Not rated by the source.

Dates

Published
2025-05-30 18:15 UTC
Modified
2026-06-10 17:14 UTC

Affected packages and fixes

vllm

PyPI · All systems

Affected

  • introduced 0.6.4, fixed 0.9.0 (ecosystem)

Fixed versions

0.9.0

Fix

  • Fixed version 0.9.0
    pip install --upgrade vllm==0.9.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences