CVE-2025-12543
undertow-core: Undertow HTTP Server Fails to Reject Malformed Host Headers Leading to Potential Cache Poisoning and SSRF
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA. Rated lower by Red Hat (high), Ubuntu (high).
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 packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| maven::GitHub Security Advisory Maven | io.undertow:undertow-core | 2.3.21.Final, 2.2.39.Final |
| chainguard | wildfly | 39.0.0-r0 |
| debian 14 | undertow | no fix listed |
| ubuntu 16.04-ESM | undertow | 1.3.16-1ubuntu0.1~esm1 |
| ubuntu 18.04-ESM | undertow | 1.4.23-3ubuntu0.1~esm1 |
| ubuntu 20.04-ESM | undertow | 2.0.29-1ubuntu0.1~esm1 |
| ubuntu 22.04 | undertow | no fix listed |
| ubuntu 24.04 | undertow | no fix listed |
| ubuntu 26.04 | undertow | 2.3.20-1ubuntu1 |
| ubuntu 26.10 | undertow | 2.3.20-1ubuntu1 |
| wolfi | wildfly | 39.0.0-r0 |
References
- https://access.redhat.com/errata/RHSA-2026:0383
- https://access.redhat.com/errata/RHSA-2026:0384
- https://access.redhat.com/errata/RHSA-2026:0386
- https://access.redhat.com/errata/RHSA-2026:33371
- https://access.redhat.com/errata/RHSA-2026:33372
- https://access.redhat.com/errata/RHSA-2026:3889
- https://access.redhat.com/errata/RHSA-2026:3890
- https://access.redhat.com/errata/RHSA-2026:3891
All 34 references
- https://access.redhat.com/errata/RHSA-2026:3892
- https://access.redhat.com/errata/RHSA-2026:4915
- https://access.redhat.com/errata/RHSA-2026:4916
- https://access.redhat.com/errata/RHSA-2026:4917
- https://access.redhat.com/errata/RHSA-2026:4924
- https://access.redhat.com/errata/RHSA-2026:76128
- https://access.redhat.com/errata/RHSA-2026:76129
- https://access.redhat.com/errata/RHSA-2026:76130
- https://access.redhat.com/errata/RHSA-2026:76132
- https://access.redhat.com/errata/RHSA-2026:76134
- https://access.redhat.com/security/cve/CVE-2025-12543
- https://bugzilla.redhat.com/show_bug.cgi?id=2408784
- https://github.com/undertow-io/undertow
- https://github.com/undertow-io/undertow/pull/1857
- https://github.com/undertow-io/undertow/pull/1857%20%28main%29
- https://github.com/undertow-io/undertow/pull/1860
- https://github.com/undertow-io/undertow/pull/1860%20%282.3.x%29
- https://github.com/undertow-io/undertow/pull/1882%20%282.2.x%29
- https://github.com/undertow-io/undertow/pull/1894%20%282.4.x%29
- https://github.com/undertow-io/undertow/releases/tag/2.2.39.Final
- https://github.com/undertow-io/undertow/releases/tag/2.3.21.Final
- https://issues.redhat.com/browse/UNDERTOW-2656
- https://nvd.nist.gov/vuln/detail/CVE-2025-12543
- https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-12543.json
- https://ubuntu.com/security/notices/USN-8144-1
- https://www.cve.org/CVERecord?id=CVE-2025-12543