CVE-2024-4027: Undertow Servlets Vulnerable to Remote DoS via OutOfMemoryError when Passed Large Parameter Names
A flaw was found in Undertow. Servlets using a method that calls HttpServletRequestImpl.getParameterNames() can cause an OutOfMemoryError when the client sends a request with large parameter names. This issue can be exploited by an unauthorized user to cause a remote denial-of-service (DoS) attack.
Published Jan 30, 2026 · Updated Feb 25, 2026
Affected packages
io.undertow:undertow-core
- Ecosystem
- Maven
- Affected
- < 2.2.39.Final
- Fixed in
- 2.2.39.Final
- Check
mvn dependency:tree -Dincludes=io.undertow:undertow-core
io.undertow:undertow-core
- Ecosystem
- Maven
- Affected
- = 2.4.0.Alpha1
- Fixed in
- 2.4.0.Beta1
- Check
mvn dependency:tree -Dincludes=io.undertow:undertow-core
io.undertow:undertow-core
- Ecosystem
- Maven
- Affected
- >= 2.3.0.Alpha1, < 2.3.21.Final
- Fixed in
- 2.3.21.Final
- Check
mvn dependency:tree -Dincludes=io.undertow:undertow-core
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
A flaw was found in Undertow. Servlets using a method that calls HttpServletRequestImpl.getParameterNames() can cause an OutOfMemoryError when the client sends a request with large parameter names. This issue can be exploited by an unauthorized user to cause a remote denial-of-service (DoS) attack.
Credited to za-rudeboy.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-4027
- https://access.redhat.com/security/cve/CVE-2024-4027
- https://bugzilla.redhat.com/show_bug.cgi?id=2276410
- https://github.com/undertow-io/undertow/commit/6b7c18481ce65ae4012d92fe2b7f17a21ef4d70b
- https://github.com/undertow-io/undertow/releases/tag/2.3.21.Final
- https://issues.redhat.com/browse/UNDERTOW-2377
- https://github.com/undertow-io/undertow/pull/1860
- https://github.com/undertow-io/undertow/pull/1882
- https://github.com/undertow-io/undertow/pull/1894
- https://github.com/undertow-io/undertow/commit/8318dd36fdc2c9842baf10c5f1bfbb3bc23f75e7
- https://github.com/undertow-io/undertow/commit/cb854c779b9e2368c3c274ebd7217c8e75d505be
- https://github.com/undertow-io/undertow/commit/fb14baa51b611a4a9f755f1d8b07d6e12eac68e3
- https://github.com/undertow-io/undertow/releases/tag/2.2.39.Final
- https://github.com/undertow-io/undertow/releases/tag/2.4.0.Beta1
- https://github.com/advisories/GHSA-33hj-rcmx-86mv
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-2026-28367
Undertow is Vulnerable to HTTP Request/Response Smuggling
high8.7Mar 27, 2026CVE-2026-28368
Undertow is Vulnerable to HTTP Request/Response Smuggling
high8.7Mar 27, 2026CVE-2026-28369
Undertow is Vulnerable to HTTP Request/Response Smuggling
high8.7Mar 27, 2026CVE-2026-3260
Undertow: Denial of Service via Multipart/Form-Data Parsing on HTTP GET Requests
medium5.9No fixMar 24, 2026CVE-2025-12543
Undertow HTTP server core doesn't properly validate the Host header in incoming HTTP requests
critical9.6No fixJan 7, 2026CVE-2024-3884
Undertow OutOfMemory when parsing form data encoding with application/x-www-form-urlencoded
high7.5Dec 3, 2025
