GHSA-37mw-44qp-f5jm · Severity: medium · Ecosystem: pip — Transformers is vulnerable to ReDoS attack through its DonutProcessor class
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.
Conclusion & alert: CVE-2025-3933 is rated Exploit Available (50/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.43%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.09% | 0.43% | +0.35% |
| 2 | 2026-05-07 | 0.03% | 0.09% | +0.06% |
| 3 | 2026-02-18 | — | 0.03% | — |
Full EPSS history (9 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 5.3 | 3.1 | MEDIUM |
|
3.9 | 1.4 | [email protected] |
| 5.3 | 3.0 | MEDIUM |
|
3.9 | 1.4 | [email protected] |
GHSA-37mw-44qp-f5jm · Severity: medium · Ecosystem: pip — Transformers is vulnerable to ReDoS attack through its DonutProcessor class
| vendor | priority | summary | link |
|---|---|---|---|
redhat
|
medium | — | https://access.redhat.com/security/cve/CVE-2025-3933 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| huggingface | transformers | < 4.52.1 | cpe:2.3:a:huggingface:transformers:*:*:*:*:*:*:*:* |
| URL | Tags |
|---|---|
| https://github.com/huggingface/transformers/commit/ebbe9b12dd75b69f92100d684c47f923ee262a93 | Patch |
| https://huntr.com/bounties/25282953-5827-4384-bb6f-5790d275721b | Exploit Third Party Advisory |