CVE-2026-1605: The Eclipse Jetty Server Artifact has a Gzip request memory leak
Description (as reported) There is a memory leak when using GzipHandler in jetty-12.0.30 that can cause off-heap OOMs. This can be used for DoS attacks so I'm reporting this as a vulnerability. The leak is created by requests where the request is inflated (Content-Encoding: gzip) and the response is not deflated (no Accept-Encoding: gzip).
Published Mar 5, 2026 · Updated Mar 6, 2026
Affected packages
org.eclipse.jetty:jetty-server
- Ecosystem
- Maven
- Affected
- >= 12.1.0, <= 12.1.5
- Fixed in
- 12.1.6
- Check
mvn dependency:tree -Dincludes=org.eclipse.jetty:jetty-server
org.eclipse.jetty:jetty-server
- Ecosystem
- Maven
- Affected
- >= 12.0.0, <= 12.0.31
- Fixed in
- 12.0.32
- Check
mvn dependency:tree -Dincludes=org.eclipse.jetty:jetty-server
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Description (as reported)
There is a memory leak when using GzipHandler in jetty-12.0.30 that can cause off-heap OOMs. This can be used for DoS attacks so I'm reporting this as a vulnerability.
The leak is created by requests where the request is inflated (Content-Encoding: gzip) and the response is not deflated (no Accept-Encoding: gzip). In these conditions, a new inflator will be created by GzipRequest and never released back into GzipRequest.__inflaterPool because gzipRequest.destory() is not called.
In heap dumps one can see thousands of java.util.zip.Inflator objects, which use both Java heaps and native memory. Leaking native memory causes of off-heap OOMs.
Code path in GzipHandler.handle():
- Line 601:
GzipRequestis created when request inflation is needed. - Lines 611-616: The callback is only wrapped in
GzipResponseAndCallbackwhen both inflation and deflation are needed. - Lines 619-625: If the handler accepts the request (returns true),
gzipRequest.destroy()is only called in the "request not accepted" path (returns false)
When deflation is needed, GzipResponseAndCallback (lines 102 and 116) properly calls gzipRequest.destroy() in its succeeded() and failed() methods. But this wrapper is only created when deflation is needed.
Possible fix: The callback should be wrapped whenever a GzipRequest is created, not just when deflation is needed. This ensures gzipRequest.destroy() is always called when the request completes.
Impact
The leak causes the JVM to crash with OOME.
Patches
No patches yet.
Workarounds
Disable GzipHandler.
References
https://github.com/jetty/jetty.project/issues/14260
https://gitlab.eclipse.org/security/cve-assignment/-/issues/79
Credited to glebashnik, bjorncs.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Maven vulnerabilities
All Maven entriesCVE-2024-7708
Eclipse Jetty: DoS attack triggering OutOfMemory with 100-Continue requests
high7.5Jul 22, 2026CVE-2026-10051
Eclipse Jetty: Cross-Request Leakage for trailers on HTTP/1.1 keep-alive connections
medium6.9Jul 22, 2026CVE-2026-6790
Eclipse Jetty: HTTP Authority/Host mismatch
medium5.3No fixJul 22, 2026CVE-2024-13009
**UNSUPPORTED WHEN ASSIGNED** GzipHandler causes part of request body to be seen as request body of a separate request
high7.2May 8, 2025CVE-2024-8184
Eclipse Jetty's ThreadLimitHandler.getRemote() vulnerable to remote DoS attacks
medium5.9Oct 14, 2024
