Skip to content
Heist/ feed
Back to feed
High

Denial of Service (DoS) by Sending Large Filename at File Upload Endpoint in gradio-app/gradio

Type: advisorySources: OSV

A Denial of Service (DoS) vulnerability was discovered in the file upload feature of gradio-app/gradio version 0.39.1. The vulnerability is due to improper handling of form-data with a large filename in the file upload request. By sending a payload with an excessively large filename, the server becomes overwhelmed and unresponsive, leading to unavailability for legitimate users.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-0187
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 03:08 UTC · Revision 1

Source evidence

Denial of Service (DoS) by Sending Large Filename at File Upload Endpoint in gradio-app/gradio

core-osv · Original source

Published 20 Mar 2025, 10:10 UTC

A Denial of Service (DoS) vulnerability was discovered in the file upload feature of gradio-app/gradio version 0.39.1. The vulnerability is due to improper handling of form-data with a large filename in the file upload request. By sending a payload with an excessively large filename, the server becomes overwhelmed and unresponsive, leading to unavailability for legitimate users.

osv:CVE-2025-0187
Complete source record
{
  "id": "3ac184e3452689b39d2fe9fe48913d4f644440515d724ab3269e2df4bab8f8e3",
  "url": "https://osv.dev/vulnerability/CVE-2025-0187",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Denial of Service (DoS) by Sending Large Filename at File Upload Endpoint in gradio-app/gradio",
    "summary": "A Denial of Service (DoS) vulnerability was discovered in the file upload feature of gradio-app/gradio version 0.39.1. The vulnerability is due to improper handling of form-data with a large filename in the file upload request. By sending a payload with an excessively large filename, the server becomes overwhelmed and unresponsive, leading to unavailability for legitimate users.",
    "evidence": "osv:CVE-2025-0187",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2025-0187",
      "aliases": [
        "CVE-2025-0187"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/gradio-app/gradio",
              "type": "GIT",
              "events": [
                {
                  "introduced": "a381c35785b9705eb82aedce08041460b06b1e80"
                },
                {
                  "last_affected": "a381c35785b9705eb82aedce08041460b06b1e80"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:gradio_project:gradio:0.39.1:*:*:*:*:python:*:*",
                    "range": [
                      {
                        "introduced": "0.39.1"
                      },
                      {
                        "last_affected": "0.39.1"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "0.39.1",
            "website@0.39.1",
            "gradio@4.44.1",
            "@gradio/preview@0.11.2"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-0187.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:49.185093059Z",
      "provider": "osv",
      "references": [
        "https://huntr.com/bounties/77f3ed54-9e1c-4d9f-948f-ee6f82e2fe24",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/0xxx/CVE-2025-0187.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-0187"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-400"
        ],
        "cna_assigner": "@huntr_ai",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/0xxx/CVE-2025-0187.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-0187",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 517626,
  "published_at": "2025-03-20T10:10:42.759+00:00"
}