{
  "schemaVersion": 1,
  "attribution": [
    {
      "source": "CISA Known Exploited Vulnerabilities",
      "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog",
      "licence": "US government work"
    },
    {
      "source": "GitHub Advisory Database",
      "url": "https://github.com/advisories",
      "licence": "CC BY 4.0"
    },
    {
      "source": "Have I Been Pwned",
      "url": "https://haveibeenpwned.com/",
      "licence": "CC BY 4.0"
    },
    {
      "source": "CVE Program (CVE records)",
      "url": "https://www.cve.org/Legal/TermsOfUse",
      "licence": "CVE Terms of Use",
      "notice": "Copyright © 1999-2026, The MITRE Corporation. CVE is a trademark and the CVE logo is a registered trademark of The MITRE Corporation.",
      "terms": "CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE™). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy."
    },
    {
      "source": "FIRST EPSS",
      "url": "https://www.first.org/epss/",
      "licence": "free to use; FIRST requests attribution"
    }
  ],
  "record": {
    "id": "CVE-2026-56814",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2026-56814",
    "idYear": 2026,
    "status": "PUBLISHED",
    "publishedAt": "2026-07-10T11:14:35.574Z",
    "updatedAt": "2026-09-24T21:31:15.419Z",
    "importedAt": "2026-10-24T01:58:20.586Z",
    "snapshot": {
      "id": "cve_2026-10-24_midnight_baseline",
      "at": "2026-10-24T00:00:00.000Z",
      "source": "https://github.com/CVEProject/cvelistV5/releases/tag/cve_2026-10-24_0100Z"
    },
    "facts": {
      "title": "Plug: multipart :length limit is not charged for part headers, enabling unbounded temp-file creation (denial of service)",
      "summary": "Plug.Parsers.MULTIPART, the multipart request-body parser used to handle file uploads and multipart forms, does not enforce its :length budget against all consumed resources, allowing an unauthenticated remote attacker to cause denial of service. The parser charges the :length limit only for part body bytes; part header bytes are never counted, and a part with an empty body costs zero.\n\nBecause every part whose Content-Disposition carries a non-empty filename creates a fresh temporary file (via Plug.Upload) and retains a Plug.Upload struct for the duration of the request, an attacker can send a single request composed of many empty-body file parts. Such a request stays well under the configured :length limit (8,000,000 bytes by default) while creating one temporary file per part, leading to inode and disk exhaustion and unbounded memory growth. Any application using Plug.Parsers with the :multipart parser is affected, and no authentication is required, only reachability of a multipart endpoint over HTTP.\n\nThis vulnerability is associated with program files lib/plug/parsers/multipart.ex and program routines Plug.Parsers.MULTIPART.parse_multipart/2, Plug.Parsers.MULTIPART.parse_multipart_headers/5, Plug.Parsers.MULTIPART.parse_multipart_body/4, and Plug.Parsers.MULTIPART.parse_multipart_file/4.\n\nThis issue affects plug: from 1.4.0-rc.0 before 1.16.6, from 1.17.0 before 1.17.4, from 1.18.0 before 1.18.5, from 1.19.1 before 1.19.5, and from 1.20.0 before 1.20.3.",
      "affected": [
        {
          "vendor": "elixir-plug",
          "product": "plug",
          "packageName": "plug",
          "collectionURL": "https://repo.hex.pm",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "1.4.0-rc.0",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "1.16.6"
            },
            {
              "version": "1.17.0",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "1.17.4"
            },
            {
              "version": "1.18.0",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "1.18.5"
            },
            {
              "version": "1.19.1",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "1.19.5"
            },
            {
              "version": "1.20.0",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "1.20.3"
            }
          ]
        },
        {
          "vendor": "elixir-plug",
          "product": "plug",
          "packageName": "elixir-plug/plug",
          "collectionURL": "https://github.com",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "c52b2f32c90bccd718202bafccb5f95594e30183",
              "status": "affected",
              "versionType": "git",
              "lessThan": "*",
              "changes": [
                {
                  "at": "981597d3a4271ede64373c7a731702a42c500dd6",
                  "status": "unaffected"
                },
                {
                  "at": "56edca2ce35fe5589cd581644d8a4493fa5f484e",
                  "status": "unaffected"
                },
                {
                  "at": "0ee8afcc61466dc5f7a8f048d0632c899165b81f",
                  "status": "unaffected"
                },
                {
                  "at": "cae36053350e5215a4e0ca33cd130af9c5fc6364",
                  "status": "unaffected"
                },
                {
                  "at": "f7effaed811c00b5f5bf817936bfd9c5df27b7dc",
                  "status": "unaffected"
                },
                {
                  "at": "df97d3f17f808a9916a7700a701fb85314559d56",
                  "status": "unaffected"
                }
              ]
            }
          ]
        }
      ]
    }
  }
}