CVE catalog

CVE-2025-3933

Transformers is vulnerable to ReDoS attack through its DonutProcessor class

[CVE catalog]

Severity
Medium · CVSS 5.3CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Published
Source
[NVD] · [CVE record]
EPSS
0.50% · Oct 25, 2026

A regular expression denial of service flaw has been discovered in the Hugging Face Transformers library. The DonutProcessor class's `token2json()` method may consume excessive CPU resources given maliciously designed input. transformers: Regular Expression Denial of Service (ReDoS) in huggingface/transformers The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
PyPItransformersNot reported4.52.1fixed
PyPItransformersNot reported4.52.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
PyPItransformersPyPINot reported4.52.1Not reportedPYSEC-2026-1977Not reported
PyPItransformersPyPINot reported4.52.1Not reportedGHSA-37MW-44QP-F5JMNot reported

OpenFactory catalog packages

No matching packages in this catalog.

Observed:

References