CVE-2023-26048

OutOfMemoryError for large multipart without filename in Eclipse Jetty

Description

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).

Categories

5.3
CVSS
Severity: Medium
CVSS 3.1 •
EPSS 41.17% Top 5%
Vendor Advisory github.com
Affected: eclipse jetty.project
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2023-26048?
CVE-2023-26048 has been scored as a medium severity vulnerability.
How to fix CVE-2023-26048?
To fix CVE-2023-26048, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2023-26048 being actively exploited in the wild?
It is possible that CVE-2023-26048 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~41% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2023-26048?
CVE-2023-26048 affects eclipse jetty.project.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.