Skip to content
Heist/ feed
Back to feed
Medium

OutOfMemoryError for large multipart without filename in Eclipse Jetty

Type: advisorySources: OSV

Jetty is a java based web server and servlet engine. In affected versions servlets with multipart support (e.g. annotated with `@MultipartConfig`) that call `HttpServletRequest.getParameter()` or `HttpServletRequest.getParts()` may cause `OutOfMemoryError` when the client sends a multipart request with a part that has a name but no filename and very large content. This happens even with the default settings of `fileSizeThreshold=0` which should stream the whole part content to disk. An attacker client may send a large multipart request and cause the server to throw `OutOfMemoryError`. However, the server may be able to recover after the `OutOfMemoryError` and continue its service -- although it may take some time. This issue has been patched in versions 9.4.51, 10.0.14, and 11.0.14. Users are advised to upgrade. Users unable to upgrade may set the multipart parameter `maxRequestSize` which must be set to a non-negative value, so the whole multipart content is limited (although still read into memory).

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2023-26048
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 11:44 UTC · Revision 1

Source evidence

OutOfMemoryError for large multipart without filename in Eclipse Jetty

core-osv · Original source

Published 18 Apr 2023, 20:30 UTC

Jetty is a java based web server and servlet engine. In affected versions servlets with multipart support (e.g. annotated with `@MultipartConfig`) that call `HttpServletRequest.getParameter()` or `HttpServletRequest.getParts()` may cause `OutOfMemoryError` when the client sends a multipart request with a part that has a name but no filename and very large content. This happens even with the default settings of `fileSizeThreshold=0` which should stream the whole part content to disk. An attacker client may send a large multipart request and cause the server to throw `OutOfMemoryError`. However, the server may be able to recover after the `OutOfMemoryError` and continue its service -- although it may take some time. This issue has been patched in versions 9.4.51, 10.0.14, and 11.0.14. Users are advised to upgrade. Users unable to upgrade may set the multipart parameter `maxRequestSize` which must be set to a non-negative value, so the whole multipart content is limited (although still read into memory).

osv:CVE-2023-26048
Complete source record
{
  "id": "bcda11ccfd153bbe0aef6f2b7d7b8bbec64a1744198138fb2fc14401fd46077a",
  "url": "https://osv.dev/vulnerability/CVE-2023-26048",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "OutOfMemoryError for large multipart without filename in Eclipse Jetty",
    "summary": "Jetty is a java based web server and servlet engine. In affected versions servlets with multipart support (e.g. annotated with `@MultipartConfig`) that call `HttpServletRequest.getParameter()` or `HttpServletRequest.getParts()` may cause `OutOfMemoryError` when the client sends a multipart request with a part that has a name but no filename and very large content. This happens even with the default settings of `fileSizeThreshold=0` which should stream the whole part content to disk. An attacker client may send a large multipart request and cause the server to throw `OutOfMemoryError`. However, the server may be able to recover after the `OutOfMemoryError` and continue its service -- although it may take some time. This issue has been patched in versions 9.4.51, 10.0.14, and 11.0.14. Users are advised to upgrade. Users unable to upgrade may set the multipart parameter `maxRequestSize` which must be set to a non-negative value, so the whole multipart content is limited (although still read into memory).",
    "evidence": "osv:CVE-2023-26048",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2023-26048",
      "aliases": [
        "CVE-2023-26048",
        "GHSA-qw69-rqj8-6qw8"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/jetty/jetty.project",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "b45c405e4544384de066f814ed42ae3dceacdd49"
                },
                {
                  "introduced": "b9645a17373e4e9b7f30b6c0a07defcea2cb660b"
                },
                {
                  "fixed": "976721d0f3e903a243584d47870ad2f2c1bf9e55"
                },
                {
                  "introduced": "432f896d7a4555fcc81f38108757ea0aca8788e6"
                },
                {
                  "fixed": "4601fe8dd805ce75b69c64466c115a162586641b"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:eclipse:jetty:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "9.4.51"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:eclipse:jetty:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "10.0.0"
                      },
                      {
                        "fixed": "10.0.14"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:eclipse:jetty:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "11.0.0"
                      },
                      {
                        "fixed": "11.0.14"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "jetty-11.0.9",
            "jetty-11.0.8",
            "jetty-10.0.8",
            "jetty-9.4.42.v20210604",
            "jetty-11.0.2",
            "jetty-10.0.2",
            "jetty-9.4.39.v20210325",
            "jetty-9.4.37.v20210219",
            "jetty-9.4.36.v20210114",
            "jetty-11.0.0.beta2",
            "jetty-9.4.32.v20200930",
            "jetty-11.0.0.beta1",
            "jetty-10.0.0.beta1",
            "jetty-11.0.0-alpha0",
            "jetty-9.4.28.v20200408",
            "jetty-9.4.27.v20200227",
            "jetty-9.4.26.v20200117",
            "jetty-9.4.15.v20190215",
            "jetty-9.4.14.v20181114",
            "jetty-9.4.13.v20181111",
            "jetty-9.4.12.v20180830",
            "jetty-9.4.6.v20170531",
            "jetty-9.4.2.v20170220",
            "jetty-9.4.10.v20180503",
            "jetty-9.2.1.v20140609",
            "jetty-9.2.0.v20140526",
            "jetty-9.2.0.v20140523",
            "jetty-9.2.0.RC0",
            "jetty-9.2.0.M1",
            "jetty-9.1.4.v20140401",
            "jetty-9.2.0.M0",
            "jetty-9.1.3.v20140225",
            "jetty-9.1.2.v20140210",
            "jetty-9.1.1.v20140108",
            "jetty-9.1.0.v20131115",
            "jetty-9.1.0.RC2",
            "jetty-9.1.0.RC1",
            "jetty-9.1.0.RC0",
            "jetty-9.1.0.M0",
            "jetty-8.1.0.RC0",
            "jetty-8.0.0.RC0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-26048.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:34.865788997Z",
      "provider": "osv",
      "references": [
        "https://github.com/jakartaee/servlet/blob/6.0.0/spec/src/main/asciidoc/servlet-spec-body.adoc#32-file-upload",
        "https://lists.debian.org/debian-lts-announce/2023/09/msg00039.html",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/26xxx/CVE-2023-26048.json",
        "https://github.com/eclipse/jetty.project/security/advisories/GHSA-qw69-rqj8-6qw8",
        "https://nvd.nist.gov/vuln/detail/CVE-2023-26048",
        "https://security.netapp.com/advisory/ntap-20230526-0001/",
        "https://www.debian.org/security/2023/dsa-5507",
        "https://github.com/eclipse/jetty.project/issues/9076",
        "https://github.com/eclipse/jetty.project/pull/9344",
        "https://github.com/eclipse/jetty.project/pull/9345"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-400"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/26xxx/CVE-2023-26048.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2023-26048",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 502138,
  "published_at": "2023-04-18T20:30:20.42+00:00"
}