Database/AI/ML frameworks & serving
Hugging Face Transformers: ReDoS in the English number normalizer burns CPU on crafted input
Impact
normalize_numbers() in EnglishNormalizer handles numeric strings with a regex that degrades badly on long digit sequences, so a crafted request can pin a CPU core for far longer than the request is worth. This sits on the text-to-speech and number-normalization paths, which run in the request handler of an inference endpoint, so the cost lands on the serving process rather than on the caller. On a GPU node the practical effect is host-side starvation: the CPU workers that feed the accelerator stall, request queues back up and the GPU idles while the node still bills. Availability only - no data exposure and no code execution.
Who can reach it
Network, unauthenticated if the endpoint is public: anyone who can submit text to a service that routes through EnglishNormalizer (typically a TTS or text-normalization endpoint built on Transformers up to 4.52.4).
What to do
Upgrade Transformers to 4.53.0 or later and restart the serving processes - a dependency bump and a rolling restart of the inference workers, no node drain or reboot. Until then, cap input length and add a per-request CPU or wall-clock timeout in front of the normalizer.
References
Related entries
- vLLM: catastrophic regex backtracking in several request paths lets a caller burn API-server CPUCVE-2025-71379 · vLLM (LoRA utils, phi4mini tool parser, OpenAI-compatible chat endpoint regexes)Medium
- NVIDIA NeMo Export-Deploy: server-side request forgery in multimodal deploymentCVE-2026-100962 · NVIDIA NeMo Export-Deploy (multimodal deployment)Medium
- vLLM: unauthenticated /tokenize caller sets video max_frames and fps, exhausting frontend memoryCVE-2026-105758 · vLLM Qwen2VLVideoBackend / Qwen3VLVideoBackend (request-level media_io_kwargs video limits)Medium
- vLLM: GLMGA video backend builds an attacker-sized frame-index list, starving the shared media loaderCVE-2026-105760 · vLLM GLMGA video backend (pre-decode frame-index list from request media_io_kwargs)Medium
- Open WebUI: missing authorization lets any logged-in user reach disabled model backends by indexCVE-2026-109296 · Open WebUI (Ollama and OpenAI-compatible model listing routes)Medium
- Crawl4AI: JavaScript injection via css_selector and wait_for bypasses the js_code blockCVE-2026-119121 · Crawl4AI Docker API server (css_selector / wait_for crawl parameters)Medium
This entry is curated: imported from vendor advisories with machine assistance, not yet individually verified. Confirm against your vendor's advisory before acting, and report anything wrong.