Security Advisories

This page lists known security vulnerabilities (CVEs) affecting Undertow and Undertow EE, along with the versions that contain fixes.

If you discover a security vulnerability, please see here how to report security issues and CVEs.


Supported Versions

The following versions of Undertow receive security updates:

Version Supported

2.4.x

✓ Yes

2.3.x

✓ Yes

2.2.x

✓ Yes

< 2.2.x

✗ No

Note: Undertow 2.4.x requires JDK 17+ and uses separate Undertow EE artifacts for Servlet/WebSocket support. See the Version Compatibility Notes section below for details.


Security Vulnerabilities

Note
This list includes CVEs documented in Undertow’s GitHub releases and Red Hat’s security advisories. For historical CVEs affecting older Undertow versions (1.x and early 2.x releases), please consult the Red Hat Security Database for comprehensive CVE information.

2026 CVEs

CVE ID Description Severity Affected Versions Fixed In

CVE-2026-28369

Request Smuggling via Malformed HTTP Request Headers
Undertow can be exploited for request smuggling via malformed HTTP request headers.

Important

Undertow ≤ 2.2.39, 2.3.x < 2.3.21, 2.4.x < 2.4.0

2.2.40.Final, 2.3.21.Final, 2.4.0.Final

CVE-2026-28368

Request Smuggling via Inconsistent Header Parsing
Undertow can be exploited for request smuggling due to inconsistent header parsing.

Important

Undertow ≤ 2.2.39, 2.3.x < 2.3.21, 2.4.x < 2.4.0

2.2.40.Final, 2.3.21.Final, 2.4.0.Final

CVE-2026-28367

Request Smuggling via \r\r\r as Header Block Terminator
Undertow can be exploited for request smuggling by using \r\r\r as a header block terminator.

Important

Undertow ≤ 2.2.39, 2.3.x < 2.3.21, 2.4.x < 2.4.0

2.2.40.Final, 2.3.21.Final, 2.4.0.Final

CVE-2026-15565

Pre-Auth DoS on WebSocket Endpoint
Undertow WebSocket endpoints with @ServerEndpoint class containing any @OnMessage method are vulnerable to pre-authentication denial of service attacks.

Important

Undertow ≤ 2.2.40, ≤ 2.3.26, 2.4.x < 2.4.3
Undertow EE ≤ 1.0.1, ≤ 2.0.1

2.2.41.Final, 2.3.27.Final, 2.4.3.Final
EE 1.0.2.Final, EE 2.0.2.Final

CVE-2026-15561

OOM via Missing Limits in Chunked Trailer
Undertow can suffer from out-of-memory conditions when missing limits in chunked trailers are exploited.

Important

Undertow ≤ 2.2.40, ≤ 2.3.26, 2.4.x < 2.4.3

2.2.41.Final, 2.3.27.Final, 2.4.3.Final

CVE-2026-15554

Authentication Bypass via AJP ssl_cert/is_ssl Forgery
Undertow AJP connector is vulnerable to authentication bypass when ssl_cert or is_ssl headers can be forged.

Important

Undertow ≤ 2.2.40, ≤ 2.3.26, 2.4.x < 2.4.4
Undertow EE ≤ 1.0.1, ≤ 2.0.1

2.2.41.Final, 2.3.27.Final, 2.4.4.Final
EE 1.0.2.Final, EE 2.0.2.Final

CVE-2026-14180

HTTP Request Smuggling via Oversized Chunk-Size Bit Overlap
Undertow is vulnerable to HTTP request smuggling through oversized chunk-size bit overlap exploitation.

Moderate

Undertow ≤ 2.2.40, ≤ 2.3.26, 2.4.x < 2.4.3

2.2.41.Final, 2.3.27.Final, 2.4.3.Final

CVE-2026-5680

Denial of Service via WebSocket permessage-deflate Processing
Undertow WebSocket permessage-deflate processing can be exploited to cause denial of service.

Important

Undertow ≤ 2.2.40, ≤ 2.3.26, 2.4.x < 2.4.3
Undertow EE ≤ 1.0.1, ≤ 2.0.1

2.2.41.Final, 2.3.27.Final, 2.4.3.Final
EE 1.0.2.Final, EE 2.0.2.Final

2025 CVEs

CVE ID Description Severity Affected Versions Fixed In

CVE-2025-12543

Malformed Host Headers Leading to Cache Poisoning and SSRF
Undertow HTTP Server fails to reject malformed Host headers, potentially leading to cache poisoning and server-side request forgery (SSRF) attacks.

Important

Undertow ≤ 2.2.38, 2.3.x < 2.3.21, 2.4.x < 2.4.0

2.2.39.Final, 2.3.21.Final, 2.4.0.Beta1

CVE-2025-9784

MadeYouReset HTTP/2 DDoS Vulnerability
Undertow is vulnerable to HTTP/2 denial of service attacks through the MadeYouReset attack vector.

Important

Undertow ≤ 2.2.37, 2.3.x < 2.3.20

2.2.38.Final, 2.3.20.Final

2024 CVEs

CVE ID Description Severity Affected Versions Fixed In

CVE-2024-7885

Improper State Management in Proxy Protocol Parsing
Improper state management in Proxy Protocol parsing causes information leakage.

Important

Undertow ≤ 2.2.35, 2.3.x < 2.3.17

2.2.36.Final, 2.3.17.Final

CVE-2024-6162

URL-Encoded Request Path Information Broken on AJP Listener
URL-encoded request path information can be broken on the AJP listener.

Moderate

Undertow ≤ 2.2.32, 2.3.x < 2.3.14

2.2.33.Final, 2.3.14.Final

CVE-2024-5971

Response Write Hangs with Java 17 TLSv1.3 NewSessionTicket
Response writes can hang when using Java 17 with TLSv1.3 NewSessionTicket.

Important

Undertow ≤ 2.2.33

2.2.34.Final

CVE-2024-4109

Information Leakage via HTTP/2 Request Header Reuse
Undertow leaks information through HTTP/2 request header reuse.

Important

Undertow ≤ 2.2.37, 2.3.x < 2.3.19

2.2.38.Final, 2.3.19.Final

CVE-2024-4027

OutOfMemoryError in getParameterNames() Causes Remote DoS
HttpServletRequestImpl.getParameterNames() can trigger OutOfMemoryError, enabling remote denial of service attacks.

Important

Undertow ≤ 2.2.38, 2.3.x < 2.3.21
Undertow EE < 1.0.0, < 2.0.0

2.2.39.Final, 2.3.21.Final, 2.4.0.Beta1
EE 1.0.0.Final, EE 2.0.0.Final

CVE-2024-3884

OutOfMemory When Parsing Form Data with application/x-www-form-urlencoded
Undertow can suffer out-of-memory conditions when parsing form data encoded with application/x-www-form-urlencoded.

Moderate

Undertow ≤ 2.2.38, 2.3.x < 2.3.21
Undertow EE < 1.0.0, < 2.0.0

2.2.39.Final, 2.3.21.Final, 2.4.0.Beta1
EE 1.0.0.Final, EE 2.0.0.Final

CVE-2024-3653

LearningPushHandler Remote Memory DoS
LearningPushHandler can be exploited for remote memory denial of service attacks.

Low

Undertow ≤ 2.2.33

2.2.34.Final

CVE-2024-27316

CONTINUATION Frames DoS
HTTP/2 CONTINUATION frames can be used to cause denial of service.

Moderate

Undertow ≤ 2.2.32, 2.3.x < 2.3.14

2.2.33.Final, 2.3.14.Final

2023 CVEs

CVE ID Description Severity Affected Versions Fixed In

CVE-2023-5685

StackOverflowException in XNIO Notifier State Chain
XNIO (used by Undertow) can suffer from StackOverflowException when the chain of notifier states becomes problematically large.

Important

Undertow ≤ 2.2.32, 2.3.x < 2.3.14

2.2.33.Final, 2.3.14.Final

CVE-2023-1973

Unrestricted Request Storage Leads to Memory Exhaustion
Using FormAuthenticationMechanism, a malicious user could trigger a denial of service by sending crafted requests, leading the server to an OutOfMemory error. The fix forces session timeout to 2 minutes when session was created during the authentication phase.

Important

Undertow ≤ 2.2.34, 2.3.x < 2.3.15

2.2.35.Final, 2.3.15.Final


Version Upgrade Recommendations

To ensure you have all security fixes, we recommend:

  • Undertow 2.4.x users: Upgrade to 2.4.4.Final or later + Undertow EE 2.0.3.Final or 1.0.3.Final

  • Undertow 2.3.x users: Upgrade to 2.3.27.Final or later

  • Undertow 2.2.x users: Upgrade to 2.2.41.Final or later

Always check the latest Undertow release and latest Undertow EE release for the most up-to-date security fixes.


Version Compatibility Notes

Undertow 2.4.x and Later

Starting with Undertow 2.4.x, servlet and websocket functionality has been extracted into separate projects:

  • Undertow EE 2.0.x - Compatible with Jakarta EE 11 (Servlet 6.1, WebSocket 2.2)

  • Undertow EE 1.0.x - Compatible with Jakarta EE 10 (Servlet 6.0, WebSocket 2.1)

Both Undertow EE versions can be used with Undertow 2.4.x.

Undertow 2.3.x and Earlier

Versions 2.3.x and earlier include servlet and websocket functionality built-in and do not require Undertow EE.