{"id":"CVE-2025-6921","aliases":["GHSA-4w7r-h757-3r74","PYSEC-2026-1980","openSUSE-SU-2026:11499-1"],"summary":"Regular Expression Denial of Service (ReDoS) in huggingface/transformers","published_at":"2025-09-23T13:56:15.636Z","modified_at":"2026-09-10T03:50:27.867584Z","products":[],"rating":{"severity":"high","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","attack_path":"internet_unauthenticated","user_interaction":false,"malicious":false,"red_hat":"Moderate","vendor_ratings":[{"source":"SUSE","rating":"important"},{"source":"SUSE","rating":"moderate"},{"source":"Red Hat","rating":"Moderate"}]},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.005109999794512987,"percentile":0.44332000613212585,"date":"2026-11-19T00:00:00Z"},"priority":9.5,"details":"The huggingface/transformers library, versions prior to 4.53.0, is vulnerable to Regular Expression Denial of Service (ReDoS) in the AdamWeightDecay optimizer. The vulnerability arises from the _do_use_weight_decay method, which processes user-controlled regular expressions in the include_in_weight_decay and exclude_from_weight_decay lists. Malicious regular expressions can cause catastrophic backtracking during the re.search call, leading to 100% CPU utilization and a denial of service. This issue can be exploited by attackers who can control the patterns in these lists, potentially causing the machine learning task to hang and rendering services unresponsive.","affected_stack":[],"affected_other":[{"ecosystem":"CVE","package":"huggingface/huggingface/transformers","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.53.0"}]}],"fixed":["4.53.0"],"provider":"cvelistv5","source":"CVE-2025-6921","relation":"self"},{"ecosystem":"NVD","package":"huggingface:transformers","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.53.0"}]}],"fixed":["4.53.0"],"provider":"nvd","source":"CVE-2025-6921","relation":"self"},{"ecosystem":"PyPI","package":"transformers","purl":"pkg:pypi/transformers","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.53.0"}]}],"versions":["0.1","2.0.0","2.1.0","2.1.1","2.10.0","2.11.0","2.2.0","2.2.1","2.2.2","2.3.0","2.4.0","2.4.1","2.5.0","2.5.1","2.6.0","2.7.0","2.8.0","2.9.0","2.9.1","3.0.0","3.0.1","3.0.2","3.1.0","3.2.0","3.3.0","3.3.1","3.4.0","3.5.0","3.5.1","4.0.0","4.0.0rc1","4.0.1","4.1.0","4.1.1","4.10.0","4.10.1","4.10.2","4.10.3","4.11.0","4.11.1","4.11.2","4.11.3","4.12.0","4.12.1","4.12.2","4.12.3","4.12.4","4.12.5","4.13.0","4.14.0","4.14.1","4.15.0","4.16.0","4.16.1","4.16.2","4.17.0","4.18.0","4.19.0","4.19.1","4.19.2","4.19.3","4.19.4","4.2.0","4.2.1","4.2.2","4.20.0","4.20.1","4.21.0","4.21.1","4.21.2","4.21.3","4.22.0","4.22.1","4.22.2","4.23.0","4.23.1","4.24.0","4.25.0","4.25.1","4.26.0","4.26.1","4.27.0","4.27.1","4.27.2","4.27.3","4.27.4","4.28.0","4.28.1","4.29.0","4.29.1","4.29.2","4.3.0","4.3.0rc1","4.3.1","4.3.2","4.3.3","4.30.0","4.30.1","4.30.2","4.31.0","4.32.0","4.32.1","4.33.0","4.33.1","4.33.2","4.33.3","4.34.0","4.34.1","4.35.0","4.35.1","4.35.2","4.36.0","4.36.1","4.36.2","4.37.0","4.37.1","4.37.2","4.38.0","4.38.1","4.38.2","4.39.0","4.39.1","4.39.2","4.39.3","4.4.0","4.4.1","4.4.2","4.40.0","4.40.1","4.40.2","4.41.0","4.41.1","4.41.2","4.42.0","4.42.1","4.42.2","4.42.3","4.42.4","4.43.0","4.43.1","4.43.2","4.43.3","4.43.4","4.44.0","4.44.1","4.44.2","4.45.0","4.45.1","4.45.2","4.46.0","4.46.1","4.46.2","4.46.3","4.47.0","4.47.1","4.48.0","4.48.1","4.48.2","4.48.3","4.49.0","4.5.0","4.5.1","4.50.0","4.50.1","4.50.2","4.50.3","4.51.0","4.51.1","4.51.2","4.51.3","4.52.0","4.52.1","4.52.2","4.52.3","4.52.4","4.6.0","4.6.1","4.7.0","4.8.0","4.8.1","4.8.2","4.9.0","4.9.1","4.9.2"],"fixed":["4.53.0"],"provider":"osv","source":"GHSA-4w7r-h757-3r74","relation":"self"},{"ecosystem":"PyPI","package":"transformers","purl":"pkg:pypi/transformers","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.53.0"}]}],"versions":["0.1","2.0.0","2.1.0","2.1.1","2.10.0","2.11.0","2.2.0","2.2.1","2.2.2","2.3.0","2.4.0","2.4.1","2.5.0","2.5.1","2.6.0","2.7.0","2.8.0","2.9.0","2.9.1","3.0.0","3.0.1","3.0.2","3.1.0","3.2.0","3.3.0","3.3.1","3.4.0","3.5.0","3.5.1","4.0.0","4.0.0rc1","4.0.1","4.1.0","4.1.1","4.10.0","4.10.1","4.10.2","4.10.3","4.11.0","4.11.1","4.11.2","4.11.3","4.12.0","4.12.1","4.12.2","4.12.3","4.12.4","4.12.5","4.13.0","4.14.0","4.14.1","4.15.0","4.16.0","4.16.1","4.16.2","4.17.0","4.18.0","4.19.0","4.19.1","4.19.2","4.19.3","4.19.4","4.2.0","4.2.1","4.2.2","4.20.0","4.20.1","4.21.0","4.21.1","4.21.2","4.21.3","4.22.0","4.22.1","4.22.2","4.23.0","4.23.1","4.24.0","4.25.0","4.25.1","4.26.0","4.26.1","4.27.0","4.27.1","4.27.2","4.27.3","4.27.4","4.28.0","4.28.1","4.29.0","4.29.1","4.29.2","4.3.0","4.3.0rc1","4.3.1","4.3.2","4.3.3","4.30.0","4.30.1","4.30.2","4.31.0","4.32.0","4.32.1","4.33.0","4.33.1","4.33.2","4.33.3","4.34.0","4.34.1","4.35.0","4.35.1","4.35.2","4.36.0","4.36.1","4.36.2","4.37.0","4.37.1","4.37.2","4.38.0","4.38.1","4.38.2","4.39.0","4.39.1","4.39.2","4.39.3","4.4.0","4.4.1","4.4.2","4.40.0","4.40.1","4.40.2","4.41.0","4.41.1","4.41.2","4.42.0","4.42.1","4.42.2","4.42.3","4.42.4","4.43.0","4.43.1","4.43.2","4.43.3","4.43.4","4.44.0","4.44.1","4.44.2","4.45.0","4.45.1","4.45.2","4.46.0","4.46.1","4.46.2","4.46.3","4.47.0","4.47.1","4.48.0","4.48.1","4.48.2","4.48.3","4.49.0","4.5.0","4.5.1","4.50.0","4.50.1","4.50.2","4.50.3","4.51.0","4.51.1","4.51.2","4.51.3","4.52.0","4.52.1","4.52.2","4.52.3","4.52.4","4.6.0","4.6.1","4.7.0","4.8.0","4.8.1","4.8.2","4.9.0","4.9.1","4.9.2"],"fixed":["4.53.0"],"provider":"osv","source":"PYSEC-2026-1980","relation":"self"},{"ecosystem":"openSUSE:Tumbleweed","package":"python-transformers","purl":"pkg:rpm/opensuse/python-transformers&distro=openSUSE%20Tumbleweed","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.15.0-1.1"}]}],"fixed":["5.15.0-1.1"],"provider":"osv","source":"openSUSE-SU-2026:11499-1","relation":"self"}],"product_status":[{"vendor":"SUSE","product":"openSUSE Tumbleweed","cpe":"cpe:/o:opensuse:tumbleweed","status":"fixed","packages":["python313-transformers","python314-transformers"],"package_count":2,"fixed":["python313-transformers-5.15.0-1.1","python314-transformers-5.15.0-1.1"],"advisories":[],"provider":"csaf-suse","source":"CVE-2025-6921"},{"vendor":"Red Hat","product":"OpenShift Lightspeed","cpe":"cpe:/a:redhat:openshift_lightspeed:1","status":"affected","packages":["openshift-lightspeed-tech-preview/lightspeed-rag-tool-rhel9","openshift-lightspeed/lightspeed-service-api-rhel9"],"package_count":2,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2025-6921"},{"vendor":"Red Hat","product":"Red Hat AI Inference Server","cpe":"cpe:/a:redhat:ai_inference_server:3","status":"affected","packages":["rhaiis-preview/vllm-cuda-rhel9","rhaiis/vllm-cuda-rhel9","rhaiis/vllm-rocm-rhel9","rhaiis/vllm-tpu-rhel9"],"package_count":4,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2025-6921"},{"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2","cpe":"cpe:/a:redhat:ansible_automation_platform:2","status":"affected","packages":["ansible-automation-platform-24/de-minimal-rhel8","ansible-automation-platform-24/de-minimal-rhel9","ansible-automation-platform-24/ee-minimal-rhel8","ansible-automation-platform-24/ee-minimal-rhel9","ansible-automation-platform-24/ee-supported-rhel8","ansible-automation-platform-24/ee-supported-rhel9","ansible-automation-platform-24/lightspeed-rhel8","ansible-automation-platform-24/platform-resource-runner-rhel8","ansible-automation-platform-25/aap-cloud-metrics-collector-rhel8","ansible-automation-platform-25/ansible-dev-tools-rhel8","ansible-automation-platform-25/de-minimal-rhel8","ansible-automation-platform-25/de-minimal-rhel9","ansible-automation-platform-25/ee-minimal-rhel8","ansible-automation-platform-25/ee-minimal-rhel9","ansible-automation-platform-25/ee-supported-rhel8","ansible-automation-platform-25/ee-supported-rhel9","ansible-automation-platform-25/lightspeed-chatbot-rhel8","ansible-automation-platform-25/lightspeed-rhel8","ansible-automation-platform-25/platform-resource-runner-rhel8","ansible-automation-platform-tech-preview/ansible-devspaces-rhel9","ansible-automation-platform/ee-minimal-rhel8","ansible-automation-platform/ee-minimal-rhel9"],"package_count":22,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2025-6921"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux AI (RHEL AI)","cpe":"cpe:/a:redhat:enterprise_linux_ai:1","status":"affected","packages":["rhelai1/bootc-amd-rhel9","rhelai1/bootc-aws-nvidia-rhel9","rhelai1/bootc-azure-amd-rhel9","rhelai1/bootc-azure-nvidia-rhel9","rhelai1/bootc-gcp-nvidia-rhel9","rhelai1/bootc-intel-rhel9","rhelai1/bootc-nvidia-rhel9","rhelai1/instructlab-amd-rhel9","rhelai1/instructlab-intel-rhel9","rhelai1/instructlab-nvidia-rhel9"],"package_count":10,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2025-6921"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","cpe":"cpe:/a:redhat:openshift_ai","status":"affected","packages":["rhoai/odh-feast-operator-rhel9","rhoai/odh-feature-server-rhel9","rhoai/odh-llama-stack-core-rhel9","rhoai/odh-training-operator-rhel8","rhoai/odh-training-operator-rhel9"],"package_count":5,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2025-6921"}],"records":[{"provider":"cvelistv5","source_id":"CVE-2025-6921","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2025-6921","license":"CC-BY-4.0","published_at":"2025-09-23T13:56:15.636Z","modified_at":"2025-09-23T14:56:29.038Z","summary":"Regular Expression Denial of Service (ReDoS) in huggingface/transformers","details":"The huggingface/transformers library, versions prior to 4.53.0, is vulnerable to Regular Expression Denial of Service (ReDoS) in the AdamWeightDecay optimizer. The vulnerability arises from the _do_use_weight_decay method, which processes user-controlled regular expressions in the include_in_weight_decay and exclude_from_weight_decay lists. Malicious regular expressions can cause catastrophic backtracking during the re.search call, leading to 100% CPU utilization and a denial of service. This issue can be exploited by attackers who can control the patterns in these lists, potentially causing the machine learning task to hang and rendering services unresponsive.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","source":"CVE-2025-6921"}],"affected":[{"ecosystem":"CVE","package":"huggingface/huggingface/transformers","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.53.0"}]}],"fixed":["4.53.0"],"provider":"cvelistv5","source":"CVE-2025-6921","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://huntr.com/bounties/287d15a7-6e7c-45d2-8c05-11e305776f1f"},{"type":"WEB","url":"https://github.com/huggingface/transformers/commit/47c34fba5c303576560cb29767efb452ff12b8be"}]},{"provider":"csaf-suse","source_id":"CVE-2025-6921","relation":"self","url":"https://www.suse.com/security/cve/CVE-2025-6921/","license":"TLP:CLEAR, mirroring permitted","published_at":"2025-09-24T23:28:09Z","modified_at":"2025-10-11T23:26:31Z","summary":"SUSE CVE CVE-2025-6921","details":"SUSE CVE-2025-6921\n\nThe huggingface/transformers library, versions prior to 4.53.0, is vulnerable to Regular Expression Denial of Service (ReDoS) in the AdamWeightDecay optimizer. The vulnerability arises from the _do_use_weight_decay method, which processes user-controlled regular expressions in the include_in_weight_decay and exclude_from_weight_decay lists. Malicious regular expressions can cause catastrophic backtracking during the re.search call, leading to 100% CPU utilization and a denial of service. This issue can be exploited by attackers who can control the patterns in these lists, potentially causing the machine learning task to hang and rendering services unresponsive.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"CVE-2025-6921"},{"type":"SUSE","score":"important","source":"CVE-2025-6921"}],"affected":[],"product_status":[{"vendor":"SUSE","product":"openSUSE Tumbleweed","cpe":"cpe:/o:opensuse:tumbleweed","status":"fixed","packages":["python313-transformers","python314-transformers"],"package_count":2,"fixed":["python313-transformers-5.15.0-1.1","python314-transformers-5.15.0-1.1"],"advisories":[],"provider":"csaf-suse","source":"CVE-2025-6921"}],"references":[{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2025-6921"},{"type":"WEB","url":"https://www.suse.com/support/security/rating/"},{"type":"WEB","url":"https://bugzilla.suse.com/1250447"}]},{"provider":"csaf-suse","source_id":"openSUSE-SU-2026:11499-1","relation":"self","url":"https://www.suse.com/security/cve/CVE-2025-6921/","license":"TLP:CLEAR, mirroring permitted","published_at":"2026-08-11T00:00:00Z","modified_at":"2026-08-11T00:00:00Z","summary":"python313-transformers-5.15.0-1.1 on GA media","details":"python313-transformers-5.15.0-1.1 on GA media\n\nThese are all security issues fixed in the python313-transformers-5.15.0-1.1 package on the GA media of openSUSE Tumbleweed.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"openSUSE-SU-2026:11499-1"},{"type":"SUSE","score":"moderate","source":"openSUSE-SU-2026:11499-1"}],"affected":[],"product_status":[],"references":[{"type":"WEB","url":"https://www.suse.com/support/security/rating/"},{"type":"WEB","url":"https://ftp.suse.com/pub/projects/security/csaf/2026/opensuse-su-2026_11499-1.json"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2025-6921/"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2025-6921"},{"type":"WEB","url":"https://bugzilla.suse.com/1250447"}]},{"provider":"nvd","source_id":"CVE-2025-6921","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-6921","severity":[],"affected":[{"ecosystem":"NVD","package":"huggingface:transformers","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.53.0"}]}],"fixed":["4.53.0"],"provider":"nvd","source":"CVE-2025-6921","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"GHSA-4w7r-h757-3r74","relation":"self","url":"https://osv.dev/vulnerability/GHSA-4w7r-h757-3r74","license":"CC-BY-4.0","published_at":"2025-09-23T15:31:09Z","modified_at":"2026-09-10T03:50:27.867584Z","summary":"Hugging Face Transformers vulnerable to Regular Expression Denial of Service (ReDoS) in the AdamWeightDecay optimizer","details":"The huggingface/transformers library, versions prior to 4.53.0, is vulnerable to Regular Expression Denial of Service (ReDoS) in the AdamWeightDecay optimizer. The vulnerability arises from the _do_use_weight_decay method, which processes user-controlled regular expressions in the include_in_weight_decay and exclude_from_weight_decay lists. Malicious regular expressions can cause catastrophic backtracking during the re.search call, leading to 100% CPU utilization and a denial of service. This issue can be exploited by attackers who can control the patterns in these lists, potentially causing the machine learning task to hang and rendering services unresponsive.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","source":"GHSA-4w7r-h757-3r74"}],"affected":[{"ecosystem":"PyPI","package":"transformers","purl":"pkg:pypi/transformers","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.53.0"}]}],"versions":["0.1","2.0.0","2.1.0","2.1.1","2.10.0","2.11.0","2.2.0","2.2.1","2.2.2","2.3.0","2.4.0","2.4.1","2.5.0","2.5.1","2.6.0","2.7.0","2.8.0","2.9.0","2.9.1","3.0.0","3.0.1","3.0.2","3.1.0","3.2.0","3.3.0","3.3.1","3.4.0","3.5.0","3.5.1","4.0.0","4.0.0rc1","4.0.1","4.1.0","4.1.1","4.10.0","4.10.1","4.10.2","4.10.3","4.11.0","4.11.1","4.11.2","4.11.3","4.12.0","4.12.1","4.12.2","4.12.3","4.12.4","4.12.5","4.13.0","4.14.0","4.14.1","4.15.0","4.16.0","4.16.1","4.16.2","4.17.0","4.18.0","4.19.0","4.19.1","4.19.2","4.19.3","4.19.4","4.2.0","4.2.1","4.2.2","4.20.0","4.20.1","4.21.0","4.21.1","4.21.2","4.21.3","4.22.0","4.22.1","4.22.2","4.23.0","4.23.1","4.24.0","4.25.0","4.25.1","4.26.0","4.26.1","4.27.0","4.27.1","4.27.2","4.27.3","4.27.4","4.28.0","4.28.1","4.29.0","4.29.1","4.29.2","4.3.0","4.3.0rc1","4.3.1","4.3.2","4.3.3","4.30.0","4.30.1","4.30.2","4.31.0","4.32.0","4.32.1","4.33.0","4.33.1","4.33.2","4.33.3","4.34.0","4.34.1","4.35.0","4.35.1","4.35.2","4.36.0","4.36.1","4.36.2","4.37.0","4.37.1","4.37.2","4.38.0","4.38.1","4.38.2","4.39.0","4.39.1","4.39.2","4.39.3","4.4.0","4.4.1","4.4.2","4.40.0","4.40.1","4.40.2","4.41.0","4.41.1","4.41.2","4.42.0","4.42.1","4.42.2","4.42.3","4.42.4","4.43.0","4.43.1","4.43.2","4.43.3","4.43.4","4.44.0","4.44.1","4.44.2","4.45.0","4.45.1","4.45.2","4.46.0","4.46.1","4.46.2","4.46.3","4.47.0","4.47.1","4.48.0","4.48.1","4.48.2","4.48.3","4.49.0","4.5.0","4.5.1","4.50.0","4.50.1","4.50.2","4.50.3","4.51.0","4.51.1","4.51.2","4.51.3","4.52.0","4.52.1","4.52.2","4.52.3","4.52.4","4.6.0","4.6.1","4.7.0","4.8.0","4.8.1","4.8.2","4.9.0","4.9.1","4.9.2"],"fixed":["4.53.0"],"provider":"osv","source":"GHSA-4w7r-h757-3r74","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-6921"},{"type":"WEB","url":"https://github.com/huggingface/transformers/commit/47c34fba5c303576560cb29767efb452ff12b8be"},{"type":"WEB","url":"https://github.com/huggingface/transformers/commit/d37f7517972f67e3f2194c000ed0f87f064e5099"},{"type":"PACKAGE","url":"https://github.com/huggingface/transformers"},{"type":"WEB","url":"https://huntr.com/bounties/287d15a7-6e7c-45d2-8c05-11e305776f1f"}]},{"provider":"osv","source_id":"PYSEC-2026-1980","relation":"self","url":"https://osv.dev/vulnerability/PYSEC-2026-1980","license":"CC-BY-4.0","published_at":"2026-07-07T16:03:05.256373Z","modified_at":"2026-07-07T17:48:13.614617Z","summary":"Hugging Face Transformers vulnerable to Regular Expression Denial of Service (ReDoS) in the AdamWeightDecay optimizer","details":"The huggingface/transformers library, versions prior to 4.53.0, is vulnerable to Regular Expression Denial of Service (ReDoS) in the AdamWeightDecay optimizer. The vulnerability arises from the _do_use_weight_decay method, which processes user-controlled regular expressions in the include_in_weight_decay and exclude_from_weight_decay lists. Malicious regular expressions can cause catastrophic backtracking during the re.search call, leading to 100% CPU utilization and a denial of service. This issue can be exploited by attackers who can control the patterns in these lists, potentially causing the machine learning task to hang and rendering services unresponsive.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","source":"PYSEC-2026-1980"}],"affected":[{"ecosystem":"PyPI","package":"transformers","purl":"pkg:pypi/transformers","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.53.0"}]}],"versions":["0.1","2.0.0","2.1.0","2.1.1","2.10.0","2.11.0","2.2.0","2.2.1","2.2.2","2.3.0","2.4.0","2.4.1","2.5.0","2.5.1","2.6.0","2.7.0","2.8.0","2.9.0","2.9.1","3.0.0","3.0.1","3.0.2","3.1.0","3.2.0","3.3.0","3.3.1","3.4.0","3.5.0","3.5.1","4.0.0","4.0.0rc1","4.0.1","4.1.0","4.1.1","4.10.0","4.10.1","4.10.2","4.10.3","4.11.0","4.11.1","4.11.2","4.11.3","4.12.0","4.12.1","4.12.2","4.12.3","4.12.4","4.12.5","4.13.0","4.14.0","4.14.1","4.15.0","4.16.0","4.16.1","4.16.2","4.17.0","4.18.0","4.19.0","4.19.1","4.19.2","4.19.3","4.19.4","4.2.0","4.2.1","4.2.2","4.20.0","4.20.1","4.21.0","4.21.1","4.21.2","4.21.3","4.22.0","4.22.1","4.22.2","4.23.0","4.23.1","4.24.0","4.25.0","4.25.1","4.26.0","4.26.1","4.27.0","4.27.1","4.27.2","4.27.3","4.27.4","4.28.0","4.28.1","4.29.0","4.29.1","4.29.2","4.3.0","4.3.0rc1","4.3.1","4.3.2","4.3.3","4.30.0","4.30.1","4.30.2","4.31.0","4.32.0","4.32.1","4.33.0","4.33.1","4.33.2","4.33.3","4.34.0","4.34.1","4.35.0","4.35.1","4.35.2","4.36.0","4.36.1","4.36.2","4.37.0","4.37.1","4.37.2","4.38.0","4.38.1","4.38.2","4.39.0","4.39.1","4.39.2","4.39.3","4.4.0","4.4.1","4.4.2","4.40.0","4.40.1","4.40.2","4.41.0","4.41.1","4.41.2","4.42.0","4.42.1","4.42.2","4.42.3","4.42.4","4.43.0","4.43.1","4.43.2","4.43.3","4.43.4","4.44.0","4.44.1","4.44.2","4.45.0","4.45.1","4.45.2","4.46.0","4.46.1","4.46.2","4.46.3","4.47.0","4.47.1","4.48.0","4.48.1","4.48.2","4.48.3","4.49.0","4.5.0","4.5.1","4.50.0","4.50.1","4.50.2","4.50.3","4.51.0","4.51.1","4.51.2","4.51.3","4.52.0","4.52.1","4.52.2","4.52.3","4.52.4","4.6.0","4.6.1","4.7.0","4.8.0","4.8.1","4.8.2","4.9.0","4.9.1","4.9.2"],"fixed":["4.53.0"],"provider":"osv","source":"PYSEC-2026-1980","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-6921"},{"type":"WEB","url":"https://github.com/huggingface/transformers/commit/47c34fba5c303576560cb29767efb452ff12b8be"},{"type":"WEB","url":"https://github.com/huggingface/transformers/commit/d37f7517972f67e3f2194c000ed0f87f064e5099"},{"type":"PACKAGE","url":"https://github.com/huggingface/transformers"},{"type":"WEB","url":"https://huntr.com/bounties/287d15a7-6e7c-45d2-8c05-11e305776f1f"},{"type":"PACKAGE","url":"https://pypi.org/project/transformers"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-4w7r-h757-3r74"}]},{"provider":"osv","source_id":"openSUSE-SU-2026:11499-1","relation":"self","url":"https://osv.dev/vulnerability/openSUSE-SU-2026:11499-1","published_at":"2026-08-11T00:00:00Z","modified_at":"2026-08-12T10:45:07.66504Z","summary":"python313-transformers-5.15.0-1.1 on GA media","details":"These are all security issues fixed in the python313-transformers-5.15.0-1.1 package on the GA media of openSUSE Tumbleweed.","severity":[],"affected":[{"ecosystem":"openSUSE:Tumbleweed","package":"python-transformers","purl":"pkg:rpm/opensuse/python-transformers&distro=openSUSE%20Tumbleweed","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.15.0-1.1"}]}],"fixed":["5.15.0-1.1"],"provider":"osv","source":"openSUSE-SU-2026:11499-1","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":""},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2025-6921"}]},{"provider":"redhat-vex","source_id":"CVE-2025-6921","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2025-6921","license":"CC-BY-4.0","published_at":"2025-09-23T13:56:15.636Z","modified_at":"2026-03-16T08:31:18Z","summary":"transformers: Regular Expression Denial of Service (ReDoS) in huggingface/transformers","details":"The huggingface/transformers library, is vulnerable to a Regular Expression Denial of Service (ReDoS) in the AdamWeightDecay optimizer. The vulnerability arises from the _do_use_weight_decay method, which processes user-controlled regular expressions in the include_in_weight_decay and exclude_from_weight_decay lists. Malicious regular expressions can cause catastrophic backtracking during the re.search call, leading to 100% CPU utilization and a denial of service. This issue can be exploited by attackers who can control the patterns in these lists, potentially causing the machine learning task to hang and rendering services unresponsive.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","source":"CVE-2025-6921"},{"type":"Red Hat","score":"Moderate","source":"CVE-2025-6921"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"OpenShift Lightspeed","cpe":"cpe:/a:redhat:openshift_lightspeed:1","status":"affected","packages":["openshift-lightspeed-tech-preview/lightspeed-rag-tool-rhel9","openshift-lightspeed/lightspeed-service-api-rhel9"],"package_count":2,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2025-6921"},{"vendor":"Red Hat","product":"Red Hat AI Inference Server","cpe":"cpe:/a:redhat:ai_inference_server:3","status":"affected","packages":["rhaiis-preview/vllm-cuda-rhel9","rhaiis/vllm-cuda-rhel9","rhaiis/vllm-rocm-rhel9","rhaiis/vllm-tpu-rhel9"],"package_count":4,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2025-6921"},{"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2","cpe":"cpe:/a:redhat:ansible_automation_platform:2","status":"affected","packages":["ansible-automation-platform-24/de-minimal-rhel8","ansible-automation-platform-24/de-minimal-rhel9","ansible-automation-platform-24/ee-minimal-rhel8","ansible-automation-platform-24/ee-minimal-rhel9","ansible-automation-platform-24/ee-supported-rhel8","ansible-automation-platform-24/ee-supported-rhel9","ansible-automation-platform-24/lightspeed-rhel8","ansible-automation-platform-24/platform-resource-runner-rhel8","ansible-automation-platform-25/aap-cloud-metrics-collector-rhel8","ansible-automation-platform-25/ansible-dev-tools-rhel8","ansible-automation-platform-25/de-minimal-rhel8","ansible-automation-platform-25/de-minimal-rhel9","ansible-automation-platform-25/ee-minimal-rhel8","ansible-automation-platform-25/ee-minimal-rhel9","ansible-automation-platform-25/ee-supported-rhel8","ansible-automation-platform-25/ee-supported-rhel9","ansible-automation-platform-25/lightspeed-chatbot-rhel8","ansible-automation-platform-25/lightspeed-rhel8","ansible-automation-platform-25/platform-resource-runner-rhel8","ansible-automation-platform-tech-preview/ansible-devspaces-rhel9","ansible-automation-platform/ee-minimal-rhel8","ansible-automation-platform/ee-minimal-rhel9"],"package_count":22,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2025-6921"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux AI (RHEL AI)","cpe":"cpe:/a:redhat:enterprise_linux_ai:1","status":"affected","packages":["rhelai1/bootc-amd-rhel9","rhelai1/bootc-aws-nvidia-rhel9","rhelai1/bootc-azure-amd-rhel9","rhelai1/bootc-azure-nvidia-rhel9","rhelai1/bootc-gcp-nvidia-rhel9","rhelai1/bootc-intel-rhel9","rhelai1/bootc-nvidia-rhel9","rhelai1/instructlab-amd-rhel9","rhelai1/instructlab-intel-rhel9","rhelai1/instructlab-nvidia-rhel9"],"package_count":10,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2025-6921"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","cpe":"cpe:/a:redhat:openshift_ai","status":"affected","packages":["rhoai/odh-feast-operator-rhel9","rhoai/odh-feature-server-rhel9","rhoai/odh-llama-stack-core-rhel9","rhoai/odh-training-operator-rhel8","rhoai/odh-training-operator-rhel9"],"package_count":5,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2025-6921"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-6921.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2025-6921"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2397617"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2025-6921"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-6921"},{"type":"WEB","url":"https://github.com/huggingface/transformers/commit/47c34fba5c303576560cb29767efb452ff12b8be"},{"type":"WEB","url":"https://huntr.com/bounties/287d15a7-6e7c-45d2-8c05-11e305776f1f"}]}],"references":[{"type":"WEB","url":"https://huntr.com/bounties/287d15a7-6e7c-45d2-8c05-11e305776f1f"},{"type":"WEB","url":"https://github.com/huggingface/transformers/commit/47c34fba5c303576560cb29767efb452ff12b8be"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2025-6921"},{"type":"WEB","url":"https://www.suse.com/support/security/rating/"},{"type":"WEB","url":"https://bugzilla.suse.com/1250447"},{"type":"WEB","url":"https://ftp.suse.com/pub/projects/security/csaf/2026/opensuse-su-2026_11499-1.json"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2025-6921/"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-6921"},{"type":"WEB","url":"https://github.com/huggingface/transformers/commit/d37f7517972f67e3f2194c000ed0f87f064e5099"},{"type":"PACKAGE","url":"https://github.com/huggingface/transformers"},{"type":"PACKAGE","url":"https://pypi.org/project/transformers"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-4w7r-h757-3r74"},{"type":"ADVISORY","url":""},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-6921.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2025-6921"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2397617"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2025-6921"}],"sources":[{"provider":"cvelistv5","source_id":"CVE-2025-6921","url":"https://www.cve.org/CVERecord?id=CVE-2025-6921","license":"CC-BY-4.0","modified_at":"2025-09-23T14:56:29.038Z","relation":"self"},{"provider":"csaf-suse","source_id":"CVE-2025-6921","url":"https://www.suse.com/security/cve/CVE-2025-6921/","license":"TLP:CLEAR, mirroring permitted","modified_at":"2025-10-11T23:26:31Z","relation":"self"},{"provider":"csaf-suse","source_id":"openSUSE-SU-2026:11499-1","url":"https://www.suse.com/security/cve/CVE-2025-6921/","license":"TLP:CLEAR, mirroring permitted","modified_at":"2026-08-11T00:00:00Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2025-6921","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-6921","relation":"self"},{"provider":"osv","source_id":"GHSA-4w7r-h757-3r74","url":"https://osv.dev/vulnerability/GHSA-4w7r-h757-3r74","license":"CC-BY-4.0","modified_at":"2026-09-10T03:50:27.867584Z","relation":"self"},{"provider":"osv","source_id":"PYSEC-2026-1980","url":"https://osv.dev/vulnerability/PYSEC-2026-1980","license":"CC-BY-4.0","modified_at":"2026-07-07T17:48:13.614617Z","relation":"self"},{"provider":"osv","source_id":"openSUSE-SU-2026:11499-1","url":"https://osv.dev/vulnerability/openSUSE-SU-2026:11499-1","modified_at":"2026-08-12T10:45:07.66504Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2025-6921","url":"https://access.redhat.com/security/cve/CVE-2025-6921","license":"CC-BY-4.0","modified_at":"2026-03-16T08:31:18Z","relation":"self"}]}
