{"id":66038,"date":"2025-07-11T16:33:02","date_gmt":"2025-07-11T13:03:02","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/cve-2025-3933-hugging-face-transformers-donutprocessor-redos-vulnerability\/"},"modified":"2025-07-11T16:33:02","modified_gmt":"2025-07-11T13:03:02","slug":"cve-2025-3933-hugging-face-transformers-donutprocessor-redos-vulnerability","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2025-3933-hugging-face-transformers-donutprocessor-redos-vulnerability\/","title":{"rendered":"CVE-2025-3933 &#8211; Hugging Face Transformers DonutProcessor ReDoS Vulnerability"},"content":{"rendered":"<p><strong>CVE ID : <\/strong>CVE-2025-3933<br \/>\n<br \/>\n<strong>Published : <\/strong> July 11, 2025, 10:15 a.m. | 1\u00a0hour, 58\u00a0minutes ago<br \/>\n<br \/>\n<strong>Description : <\/strong>A Regular Expression Denial of Service (ReDoS) vulnerability was discovered in the Hugging Face Transformers library, specifically within the DonutProcessor class&#8217;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.<br \/>\n<br \/>\n<strong>Severity:<\/strong> 5.3 | MEDIUM<br \/>\n<br \/>\nVisit the link for more details, such as CVSS details, affected products, timeline, and more&#8230;<\/s><\/p>\n","protected":false},"excerpt":{"rendered":"<p>CVE ID : CVE-2025-3933 Published : July 11, 2025, 10:15 a.m. | 1\u00a0hour, 58\u00a0minutes ago Description : A Regular Expression Denial of Service (ReDoS) vulnerability was discovered in the Hugging Face Transformers library, specifically within the DonutProcessor class&#8217;s `token2json()` method. This vulnerability affects versions 4.50.3 and earlier, and is fixed in version 4.52.1. The issue &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-66038","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/66038","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=66038"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/66038\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=66038"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=66038"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=66038"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}