← Back to results
Vulnerability record · public intelligence
CVE-2025-71379
MEDIUM

vLLM vulnerable to Regular Expression Denial of Service

Published Jun 20, 2026 · Updated Nov 3, 2026

Severity · CVSSMEDIUM · Not scored
Known exploitationNot listed
EPSS / likelihood0.48%
QFinch risk scoreNot available

Original summary

Normalized public record · Updated Nov 3, 2026

vLLM vulnerable to Regular Expression Denial of Service

Publisher and source text is retained separately from QFinch interpretation.

QFinch assessment

A recent review identified several regular expressions in the vllm codebase that are susceptible to Regular Expression Denial of Service (ReDoS) attacks. These patterns, if fed with crafted or malicious input, may cause severe performance degradation due to catastrophic backtracking. 1. vllm/lora/utils.py Line 173 https://github.com/vllm-project/vllm/blob/2858830c39da0ae153bc1328dbba7680f5fbebe1/vllm/lora/utils.pyL173 Risk Description: - The regex r"\((.?)\)\$?$" matches content inside parentheses. If input such as ((((a|)+)+)+) is passed in, it can cause catastrophic backtracking, leading to a ReDoS vulnerability. - Using .? (non-greedy match) inside group parentheses can be highly sensitive to input length and nesting complexity. Remediation Suggestions: - Limit the input string length. - Use a non-recursive matching approach, or write a regex with stricter content constraints. - Consider using possessive quantifiers or atomic groups (not supported in Python yet), or split and process before regex matching. --- 2. vllm/entrypoints/openai/toolparsers/phi4minitoolparser.py Line 52 https://github.com/vllm-project/vllm/blob/2858830c39da0ae153bc1328dbba7680f5fbebe1/vllm/entrypoints/openai/toolparsers/phi4minitoolparser.pyL52 Risk Description: - The regex r'functools\[(.?)\]' uses .? to match content inside brackets, together with re.DOTALL. If the input contains a large number of nested or crafted brackets, it can cause backtracking and ReDoS. Remediation Suggestions: - Limit the length of modeloutput. - Use a stricter, non-greedy pattern (avoid matching across extraneous nesting). - Prefer re.finditer() and enforce a length constraint on each match. --- 3. vllm/entrypoints/openai/servingchat.py Line 351 https://github.com/vllm-project/vllm/blob/2858830c39da0ae153bc1328dbba7680f5fbebe1/vllm/entrypoints/openai/servingchat.pyL351 Risk Description: - The regex r'."parameters":\s(.)' can trigger backtracking if currenttext is very long and contains repeated structures. - Especially when processing strings from unknown sources, . matching any content is high risk. Remediation Suggestions: - Use a more specific pattern (e.g., via JSON parsing). - Impose limits on currenttext length. - Avoid using . to capture large blocks of text; prefer structured parsing when possible. --- 4. benchmarks/benchmarkservingstructuredoutput.py Line 650 https://github.com/vllm-project/vllm/blob/2858830c39da0ae153bc1328dbba7680f5fbebe1/benchmarks/benchmarkservingstructuredoutput.pyL650 Risk Description: - The regex r'\{.\}' is used to extract JSON inside curly braces. If the actual string is very long with unbalanced braces, it can cause backtracking, leading to a ReDoS vulnerability. - Although this is used for benchmark correctness checking, it should still handle abnormal inputs carefully. Remediation Suggestions: - Limit the length of actual. - Prefer stepwise search for { and } or use a robust JSON extraction tool. - Recommend first locating the range with simple string search, then applying regex.

Evidence: public source records

Affected products

Affected scope reported by the available public evidence
Affected package, product or rangeFix status
Consult the referenced vendor advisory for affected versions.Consult source advisory

Matching a version is only one part of assessing exposure. QFinch has not assessed your environment on this public page.

Remediation

Apply the vendor-supported fixed release or mitigation, then verify the affected component is no longer reachable.

  1. Confirm the affected product and reachable code path exist in your environment.
  2. Apply the vendor-supported patch or mitigation from the primary advisory.
  3. Rescan the exact deployed revision and retain verification evidence.
Review primary references

Evidence coverage

FIRST-EPSSCVE-LIST-V5
SSVC priority
LOW
Confidence
Not available
Aliases
None reported

Scores appear only when corresponding evidence exists. Missing data is never interpreted as zero risk.

Sources and record history

  1. Security advisory ↗
  2. VulnCheck Advisory: vllm - Regular Expression Denial of Service in Multiple Components ↗

Record history

Published Jun 20, 2026 · Last refreshed Nov 3, 2026