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

CVE-2025-3933
huggingface transformers

Score5.3 Medium
CVSS 3.1
Exploit probability (EPSS)0.67%
within the next 30 days
CategoryDenial of service
Published11 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.

Impact is limited: 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 Hugging Face Transformers library, specifically within the DonutProcessor class's `token2json()` method. This vulnerability affects versions 4.50.3 and earlier, and is fixed in version 4.52.1. The issue arises from the regex pattern `<s_(.*?)>` which can be exploited to cause excessive CPU consumption through crafted input strings due to catastrophic backtracking. This vulnerability can lead to service disruption, resource exhaustion, and potential API service vulnerabilities, impacting document processing tasks using the Donut model.

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

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

Affected products

VendorProductVersions
huggingfacetransformers<4.52.1

Sources

Latest in the same category

  • CVE-2026-140016 Critical 9.1
    websocket-driver is a WebSocket protocol handler with pluggable input and output. Prior to 0.9.0, message parsing for draft75 and draft76 WebSocket connections could incorrectly handle a short crafted byte sequence. An…
    Denial of service · 30 November 2026
  • CVE-2026-140015 High 7.5
    websocket-driver is a WebSocket protocol handler with pluggable input and output. Prior to 0.9.1, a server piping socket bytes into websocket-driver continued adding data to an internal buffer after a WebSocket close…
    Denial of service · 30 November 2026
  • CVE-2026-140011 High 7.5
    permessage-deflate-ruby provides the per-message DEFLATE compression extension for WebSocket connections. Prior to permessage_deflate 0.2.0, websocket-extensions 0.2.0, and websocket-driver 0.9.0, an unauthenticated…
    Denial of service · 30 November 2026
  • CVE-2026-140010 High 8.7
    HTML Minifier Next is a configurable HTML minifier and the enhanced successor to HTML Minifier. Prior to html-minifier-next 9.1.2, and from html-minifier 3.1.1 until 5.0.1, minify() in src/htmlminifier.js uses…
    Denial of service · 30 November 2026
  • CVE-2026-140009 High 7.5
    ws is an open source WebSocket client and server for Node.js. Prior to 5.2.8, 6.2.7, 7.5.14, and 8.23.0, a malicious WebSocket peer can send Ping frames while stopping reads, causing ws to generate and buffer automatic…
    Denial of service · 30 November 2026
  • CVE-2026-140008 High 8.7
    minimatch is a minimal matching utility for converting glob expressions into JavaScript RegExp objects. From 11.0.0 until 11.0.7, mergeRows() in src/index.ts repeatedly copies and joins an entire pattern row while…
    Denial of service · 30 November 2026