CVE-2024-4027
HighCVSS 7.5Exploitation Probability (EPSS)
Low risk44th percentile - higher than 44% of all known CVEs
Summary
A flaw in Undertow causes an OutOfMemoryError when servlets call HttpServletRequestImpl.getParameterNames() with large parameter names. An unauthorized user can exploit this to cause a remote denial-of-service (DoS) attack.
Risk Assessment
The attack can exhaust server memory and disrupt application operation, leading to service unavailability for users.
Recommendation
Immediately update Undertow to a patched version and consider limiting parameter name sizes at the web application firewall (WAF) level.
Other vulnerabilities in Undertow
See all- CVE-2025-12543Critical
The Undertow HTTP server library used in WildFly, JBoss EAP, and other Java applications does not properly validate the Host header, allowing malicious requests to be processed.
- CVE-2024-1635High
A vulnerability was found in Undertow that impacts a server supporting the wildfly-http-client protocol. When a malicious user opens and closes a connection with the HTTP port and then closes it immediately, the server may exhaust memory and open file limits. During HTTP upgrade to remoting, WriteTimeoutStreamSinkConduit leaks connections if RemotingConnection is closed by Remoting ServerConnectionOpenListener, leading to a leak of the entire dependency tree.
- CVE-2026-5680High
A flaw was found in Undertow. A remote attacker could exploit this vulnerability by sending specially crafted WebSocket messages with permessage-deflate negotiated. This could lead to excessive memory consumption due to the PerMessageDeflateFunction.largerBuffer() method using exponential doubling, resulting in a Denial of Service (DoS) for the affected application.
- CVE-2026-19879Medium
A flaw in Undertow, an HTTP server, in its HTTP response header writing path. The writeString() method performs a silent narrowing cast from 16-bit Unicode characters to 8-bit bytes when writing HTTP response header values. A remote attacker can exploit this by supplying specific Unicode characters in user-controlled input that an application places into response headers, leading to truncation into ASCII control characters or special symbols, potentially resulting in limited integrity impact or information disclosure if the application does not properly sanitize user input.
- CVE-2026-14180Medium
A flaw was found in the ChunkReader component of the Undertow HTTP server, used by WildFly and JBoss EAP for chunked transfer encoding. The parser uses a single internal variable for both remaining chunk size and state flags, allowing an attacker to craft a request with an extremely large chunk size to overlap these values, tricking the parser into thinking a request has finished prematurely and enabling request smuggling.
- CVE-2026-15565High
A flaw was found in Undertow. A remote attacker can cause Out of Memory on websockets endpoint without authentication on any @ServerEndpoint class that has any @OnMessage method. This allows an attacker to cause Denial of Service attack without authentication and using only a standard WebSocket handshake.
- CVE-2026-15554High
The Undertow AJP listener honors forged ssl_cert and is_ssl AJP attributes without requiring any shared-secret authentication. This enables an unauthenticated attacker with direct TCP access to port 8009 to bypass CLIENT-CERT authentication by injecting a forged X.509 certificate via the AJP protocol.
- CVE-2026-28369High
In Undertow, when the first header line of an HTTP request starts with one or more spaces, the server strips these spaces, violating HTTP standards. A remote attacker can exploit this for request smuggling.
- CVE-2026-28368High
A flaw was found in Undertow that allows a remote attacker to craft specially crafted requests where header names are parsed differently by Undertow compared to upstream proxies. This discrepancy in header interpretation can be exploited to launch request smuggling attacks.
- CVE-2026-28367High
A flaw in Undertow allows HTTP request smuggling via the `\r\r\r` header terminator. This can be exploited with certain proxy servers like older Apache Traffic Server and Google Cloud Classic Application Load Balancer.
Original NVD description (English source)
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.

