Description
A flaw was found in Undertow, an HTTP server, within 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. This can lead to the truncation of these characters 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.
Published: 2026-08-14
Score: 5.3 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability lies in Undertow’s response header construction path where the writeString() method silently casts 16‑bit Unicode characters to 8‑bit bytes. This truncates unsupported Unicode characters into ASCII control characters or symbols. When an attacker supplies crafted Unicode input that an application places into response headers, the resulting header values can be corrupted, potentially exposing information or altering request handling if the application fails to sanitize the data.

Affected Systems

The flaw affects Red Hat Enterprise Linux 8, 9 and 10, Red Hat JBoss Enterprise Application Platform 7 and 8 with the Expansion Pack, Red Hat Single Sign‑On 7, and Red Hat build of Apache Camel for Spring Boot 4. The specific affected product releases are not enumerated in the available data.

Risk and Exploitability

The CVSS score of 5.3 indicates a moderate severity, and the EPSS score is not available, suggesting no quantified evidence of current exploitation. The vulnerability is not listed in the CISA KEV catalog. An attacker can exploit it remotely by crafting HTTP requests that embed Unicode characters in user‑controlled fields that are subsequently reflected in HTTP response headers. The narrow cast causes these characters to be truncated into ASCII control characters or symbols, which can lead to integrity violations or limited information disclosure if the application does not perform proper input validation. The attack requires only the ability to send HTTP requests to the affected server and does not rely on elevated privileges.

Generated by OpenCVE AI on August 14, 2026 at 16:27 UTC.

Remediation

Vendor Workaround

Applications utilizing Undertow should implement robust input validation and sanitization for all user-controlled data before it is placed into HTTP response headers. It is recommended to restrict header values to printable ASCII characters (0x20–0x7E) at the application level. Where available, use framework-provided header-safe encoding mechanisms to ensure proper handling of special characters.


OpenCVE Recommended Actions

  • Obtain and deploy the vendor’s latest patch release that updates Undertow to a version with the fixed header handling logic.
  • Validate and sanitise all data before inserting it into HTTP response headers, restricting header values to printable ASCII characters (0x20–0x7E).
  • If non‑ASCII characters are necessary, use the framework’s header‑safe encoding mechanisms to prevent truncation.

Generated by OpenCVE AI on August 14, 2026 at 16:27 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 14 Aug 2026 15:00:00 +0000

Type Values Removed Values Added
Description A flaw was found in Undertow, an HTTP server, within 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. This can lead to the truncation of these characters 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.
Title Io.undertow/undertow: undertow: http response header integrity issue due to character truncation
First Time appeared Redhat
Redhat camel Spring Boot
Redhat enterprise Linux
Redhat jboss Enterprise Application Platform
Redhat jbosseapxp
Redhat red Hat Single Sign On
Weaknesses CWE-681
CPEs cpe:/a:redhat:camel_spring_boot:4
cpe:/a:redhat:jboss_enterprise_application_platform:7
cpe:/a:redhat:jboss_enterprise_application_platform:8
cpe:/a:redhat:jbosseapxp
cpe:/a:redhat:red_hat_single_sign_on:7
cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
Vendors & Products Redhat
Redhat camel Spring Boot
Redhat enterprise Linux
Redhat jboss Enterprise Application Platform
Redhat jbosseapxp
Redhat red Hat Single Sign On
References
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N'}


Subscriptions

Redhat Camel Spring Boot Enterprise Linux Jboss Enterprise Application Platform Jbosseapxp Red Hat Single Sign On
cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2026-08-14T14:51:36.106Z

Reserved: 2026-08-14T14:26:12.605Z

Link: CVE-2026-19879

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-14T15:17:09.310

Modified: 2026-08-14T15:17:09.310

Link: CVE-2026-19879

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-14T16:30:05Z

Weaknesses
  • CWE-681

    Incorrect Conversion between Numeric Types