Metrics
Affected Vendors & Products
| Source | ID | Title |
|---|---|---|
EUVD |
EUVD-2025-21126 | Transformers is vulnerable to ReDoS attack through its DonutProcessor class |
Github GHSA |
GHSA-37mw-44qp-f5jm | Transformers is vulnerable to ReDoS attack through its DonutProcessor class |
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
Thu, 07 Aug 2025 01:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| CPEs | cpe:2.3:a:huggingface:transformers:*:*:*:*:*:*:*:* | |
| Metrics |
cvssV3_1
|
Sat, 12 Jul 2025 00:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| References |
| |
| Metrics |
threat_severity
|
threat_severity
|
Fri, 11 Jul 2025 15:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
Fri, 11 Jul 2025 13:45:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
epss
|
Fri, 11 Jul 2025 09:45:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | Regular Expression Denial of Service (ReDoS) in huggingface/transformers | |
| Weaknesses | CWE-1333 | |
| References |
| |
| Metrics |
cvssV3_0
|
Status: PUBLISHED
Assigner: @huntr_ai
Published:
Updated: 2025-07-11T15:07:34.839Z
Reserved: 2025-04-25T13:37:56.821Z
Link: CVE-2025-3933
Updated: 2025-07-11T15:07:30.309Z
Status : Analyzed
Published: 2025-07-11T10:15:22.293
Modified: 2025-08-07T01:01:46.780
Link: CVE-2025-3933
OpenCVE Enrichment
Updated: 2025-07-12T23:05:37Z
EUVD
Github GHSA