CVE-2025-12543
Undertow HTTP server core doesn't properly validate the Host header in incoming HTTP requests
Description
A flaw was found in the Undertow HTTP server core, which is used in WildFly, JBoss EAP, and other Java applications. The Undertow library fails to properly validate the Host header in incoming HTTP requests. As a result, requests containing malformed or malicious Host headers are processed without rejection, enabling attackers to poison caches, perform internal network scans, or hijack user sessions.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| io.undertow » undertow-core | < 2.2.39.Final>= 2.3.0.Alpha1, < 2.3.21.Final | 2.2.39.Final, 2.3.21.Final |
Blast radius
70% of the dependent artifacts (3,950) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 35,761 |
| 2 hops | 61,534 |
| 3 hops | 51,099 |
| 4 hops | 25,659 |
| 5 hops | 9,180 |
| 6 hops | 4,478 |
Most used dependents
- io.quarkus » quarkus-maven-plugin1,484 usages
- io.quarkus » quarkus-resteasy1,251 usages
- com.networknt » json-schema-validator837 usages
- org.springframework.boot » spring-boot-starter-undertow804 usages
- org.infinispan » infinispan-core644 usages
- org.apache.camel.springboot » camel-core-starter558 usages
- io.quarkus » quarkus-resteasy-jackson543 usages
- org.apache.camel.springboot » camel-spring-boot-starter478 usages
- org.wildfly.core » wildfly-server477 usages
- io.quarkus » quarkus-smallrye-health469 usages
- io.undertow » undertow-servlet443 usages
- org.wildfly.plugins » wildfly-maven-plugin430 usages
- io.quarkus » quarkus-smallrye-openapi419 usages
- org.wildfly » wildfly-feature-pack372 usages
- com.alibaba » dubbo337 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | NVD CVE-2025-12543 | nvd.nist.gov |
| Package | undertow-io/undertow | github.com |
| Web | undertow-io/undertow pull request #1860 | github.com |
| Web | undertow-io/undertow pull request #1857 | github.com |
| Web | browse/UNDERTOW-2656 | issues.redhat.com |
| Web | undertow-io/undertow release 2.3.21.Final | github.com |
| Web | undertow-io/undertow release 2.2.39.Final | github.com |
| Web | show_bug.cgi | bugzilla.redhat.com |
| Web | security/cve/CVE-2025-12543 | access.redhat.com |
| Web | errata/RHSA-2026:4924 | access.redhat.com |
| Web | errata/RHSA-2026:4917 | access.redhat.com |
| Web | errata/RHSA-2026:4916 | access.redhat.com |
| Web | errata/RHSA-2026:4915 | access.redhat.com |
| Web | errata/RHSA-2026:3892 | access.redhat.com |
| Web | errata/RHSA-2026:3891 | access.redhat.com |
| Web | errata/RHSA-2026:3890 | access.redhat.com |
| Web | errata/RHSA-2026:3889 | access.redhat.com |
| Web | errata/RHSA-2026:0386 | access.redhat.com |
| Web | errata/RHSA-2026:0384 | access.redhat.com |
| Web | errata/RHSA-2026:0383 | access.redhat.com |
