Patchwire CVEs, their patch status, and feeds to follow them

CVE-2025-6051

Fixed in a distro release EPSS <1%CVSS 5.3

A Regular Expression Denial of Service (ReDoS) vulnerability was discovered in the Hugging Face Transformers library, specifically within the `normalize_numbers()` method of the `EnglishNormalizer` class. This vulnerability affects versions up to 4.52.4 and is fixed in version 4.53.0. The issue arises from the method's handling of numeric strings, which can be exploited using crafted input strings containing long sequences of digits, leading to excessive CPU consumption. This vulnerability impacts text-to-speech and number normalization tasks, potentially causing service disruption, resource exhaustion, and API vulnerabilities.

Published 2025-09-14 · CVE record · OSV

Products: huggingface/transformers

Fixed upstream

EcosystemPackageFixed in
PyPItransformers4.53.0

Distro releases

ReleasePackageFixed in
Chainguardpy3.10-transformers-4.51no fix
Chainguardpy3.11-transformers-4.51no fix
Chainguardpy3.12-transformers-4.51no fix
Chainguardpy3.13-transformers-4.51no fix
Chainguardtext-generation-inference3.3.7-r9
Chainguardtext-generation-inference3.3.7-r8