Search covers the description text, product and vendor names and weakness types (also partial words).

CVE-2025-3262
huggingface transformers

Score7.5 High
CVSS 3.1
Exploit probability (EPSS)0.80%
within the next 30 days
CategoryDenial of service
Published7 July 2025
Last modified: 17 June 2026

In short

This vulnerability can be exploited remotely over the network, without logging in, without any user interaction.

A successful attack has high impact: crashing the system or making it unavailable.

Weakness type: Inefficient regular expression (ReDoS).

✨ AI commentary

After a short ad, a plain-language commentary on this vulnerability is shown. AI can make mistakes; base decisions on the official sources.

Official description

A Regular Expression Denial of Service (ReDoS) vulnerability was discovered in the huggingface/transformers repository, specifically in version 4.49.0. The vulnerability is due to inefficient regular expression complexity in the `SETTING_RE` variable within the `transformers/commands/chat.py` file. The regex contains repetition groups and non-optimized quantifiers, leading to exponential backtracking when processing 'almost matching' payloads. This can degrade application performance and potentially result in a denial-of-service (DoS) when handling specially crafted input strings. The issue is fixed in version 4.51.0.

CVSS: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Weakness: CWE-1333 – Inefficient regular expression (ReDoS)

Affected products

VendorProductVersions
huggingfacetransformers<4.51.0

Sources

Latest in the same category

  • CVE-2026-138433 Medium 5.5
    A vulnerability has been found in Zylon PrivateGPT up to 0.6.2. This impacts the function retrieve_relevant of the file private_gpt/server/chunks/chunks_service.py of the component Chunks API. Such manipulation of the…
    Denial of service · 30 November 2026
  • CVE-2026-138432 Medium 5.5
    A flaw has been found in Zylon PrivateGPT up to 0.6.2. This affects the function ingest_bin_data of the file private_gpt/server/ingest/ingest_service.py of the component Ingest API. This manipulation of the argument…
    Denial of service · 30 November 2026
  • CVE-2026-133641 Not scored
    Asymmetric resource consumption (amplification) vulnerability in Apache Struts. When a request parameter is bound to an arbitrary-precision decimal (java.math.BigDecimal) property that is then rendered through the…
    Denial of service · 30 November 2026
  • CVE-2026-133640 Not scored
    Asymmetric resource consumption (amplification) vulnerability in Apache Struts. The fix released for CVE-2026-104712 in Struts 6.12.0 and 7.4.0 does not cover all affected values. When a request parameter is bound to…
    Denial of service · 30 November 2026
  • CVE-2026-127170 High 8.7
    The affected products contain a memory leak in the packet processing of the network stack. An unauthenticated remote attacker can send specially crafted UDP packets to exhaust available packet buffers. Successful…
    Denial of service · 30 November 2026
  • CVE-2026-127169 High 8.7
    The affected products do not properly handle certain return values generated during TCP connection processing. An unauthenticated remote attacker can send specially crafted TCP connection requests that cause the…
    Denial of service · 30 November 2026