undertow — security advisory
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.
- Products
- undertow
- Affected versions
- 1.3.11-1, 1.3.16-1, 1.3.16-1ubuntu0.1~esm1, 1.3.4-1, 1.3.5-1, 1.3.7-1, 1.4.20-1, 1.4.21-1, 1.4.22-1, 1.4.23-1, 1.4.23-2build1, 1.4.23-3, 1.4.23-3ubuntu0.1~esm1, 2.0.23-1, 2.0.27-1, 2.0.28-1, 2.0.29-1, 2.0.29-1ubuntu0.1~esm1, 2.2.12-1, 2.2.13-1, 2.2.14-1, 2.2.16-1, 2.2.16-1ubuntu0.1~esm1, 2.2.8-1, 2.3.18-2, 2.3.20-1, 2.3.20-1ubuntu1, 2.3.8-2, 2.3.8-2ubuntu0.1~esm1
- Fixed versions
- Not specified
- CVEs
- CVE-2026-19879
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 02:42 UTC · Revision 1
Source evidence
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.
osv:UBUNTU-CVE-2026-19879
undertow
Fixed versions: Not specified
undertow
Fixed versions: Not specified
undertow
Fixed versions: Not specified
undertow
Fixed versions: Not specified
undertow
Fixed versions: Not specified
undertow
Fixed versions: Not specified
undertow
Fixed versions: Not specified
Complete source record
{
"id": "1236d75ae31bd53e49c900732f820af6b0f439e06803f5d594150a62e2b02b26",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-19879",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2026-19879",
"summary": "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.",
"evidence": "osv:UBUNTU-CVE-2026-19879",
"products": [
{
"name": {
"value": "undertow",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.3.4-1",
"evidence": "/affected/0/versions"
},
{
"value": "1.3.5-1",
"evidence": "/affected/0/versions"
},
{
"value": "1.3.7-1",
"evidence": "/affected/0/versions"
},
{
"value": "1.3.11-1",
"evidence": "/affected/0/versions"
},
{
"value": "1.3.16-1",
"evidence": "/affected/0/versions"
},
{
"value": "1.3.16-1ubuntu0.1~esm1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "undertow",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.4.20-1",
"evidence": "/affected/1/versions"
},
{
"value": "1.4.21-1",
"evidence": "/affected/1/versions"
},
{
"value": "1.4.22-1",
"evidence": "/affected/1/versions"
},
{
"value": "1.4.23-1",
"evidence": "/affected/1/versions"
},
{
"value": "1.4.23-2build1",
"evidence": "/affected/1/versions"
},
{
"value": "1.4.23-3",
"evidence": "/affected/1/versions"
},
{
"value": "1.4.23-3ubuntu0.1~esm1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "undertow",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.0.23-1",
"evidence": "/affected/2/versions"
},
{
"value": "2.0.27-1",
"evidence": "/affected/2/versions"
},
{
"value": "2.0.28-1",
"evidence": "/affected/2/versions"
},
{
"value": "2.0.29-1",
"evidence": "/affected/2/versions"
},
{
"value": "2.0.29-1ubuntu0.1~esm1",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "undertow",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.2.8-1",
"evidence": "/affected/3/versions"
},
{
"value": "2.2.12-1",
"evidence": "/affected/3/versions"
},
{
"value": "2.2.13-1",
"evidence": "/affected/3/versions"
},
{
"value": "2.2.14-1",
"evidence": "/affected/3/versions"
},
{
"value": "2.2.16-1",
"evidence": "/affected/3/versions"
},
{
"value": "2.2.16-1ubuntu0.1~esm1",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "undertow",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.3.8-2",
"evidence": "/affected/4/versions"
},
{
"value": "2.3.8-2ubuntu0.1~esm1",
"evidence": "/affected/4/versions"
}
]
},
{
"name": {
"value": "undertow",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.3.20-1ubuntu1",
"evidence": "/affected/5/versions"
}
]
},
{
"name": {
"value": "undertow",
"evidence": "/affected/6/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.3.18-2",
"evidence": "/affected/6/versions"
},
{
"value": "2.3.20-1",
"evidence": "/affected/6/versions"
},
{
"value": "2.3.20-1ubuntu1",
"evidence": "/affected/6/versions"
}
]
}
],
"severity": "medium",
"structured": {
"id": "UBUNTU-CVE-2026-19879",
"aliases": [
"UBUNTU-CVE-2026-19879"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "undertow",
"purl": "pkg:deb/ubuntu/undertow?arch=source&distro=esm-apps%2Fxenial",
"ecosystem": "Ubuntu:Pro:16.04:LTS"
},
"versions": [
"1.3.4-1",
"1.3.5-1",
"1.3.7-1",
"1.3.11-1",
"1.3.16-1",
"1.3.16-1ubuntu0.1~esm1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-19879.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libundertow-java",
"binary_version": "1.3.16-1ubuntu0.1~esm1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "undertow",
"purl": "pkg:deb/ubuntu/undertow?arch=source&distro=esm-apps%2Fbionic",
"ecosystem": "Ubuntu:Pro:18.04:LTS"
},
"versions": [
"1.4.20-1",
"1.4.21-1",
"1.4.22-1",
"1.4.23-1",
"1.4.23-2build1",
"1.4.23-3",
"1.4.23-3ubuntu0.1~esm1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-19879.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libundertow-java",
"binary_version": "1.4.23-3ubuntu0.1~esm1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "undertow",
"purl": "pkg:deb/ubuntu/undertow?arch=source&distro=esm-apps%2Ffocal",
"ecosystem": "Ubuntu:Pro:20.04:LTS"
},
"versions": [
"2.0.23-1",
"2.0.27-1",
"2.0.28-1",
"2.0.29-1",
"2.0.29-1ubuntu0.1~esm1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-19879.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libundertow-java",
"binary_version": "2.0.29-1ubuntu0.1~esm1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "undertow",
"purl": "pkg:deb/ubuntu/undertow?arch=source&distro=esm-apps%2Fjammy",
"ecosystem": "Ubuntu:Pro:22.04:LTS"
},
"versions": [
"2.2.8-1",
"2.2.12-1",
"2.2.13-1",
"2.2.14-1",
"2.2.16-1",
"2.2.16-1ubuntu0.1~esm1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-19879.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libundertow-java",
"binary_version": "2.2.16-1ubuntu0.1~esm1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "undertow",
"purl": "pkg:deb/ubuntu/undertow?arch=source&distro=esm-apps%2Fnoble",
"ecosystem": "Ubuntu:Pro:24.04:LTS"
},
"versions": [
"2.3.8-2",
"2.3.8-2ubuntu0.1~esm1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-19879.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libundertow-java",
"binary_version": "2.3.8-2ubuntu0.1~esm1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "undertow",
"purl": "pkg:deb/ubuntu/undertow?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"2.3.20-1ubuntu1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-19879.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libundertow-java",
"binary_version": "2.3.20-1ubuntu1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "undertow",
"purl": "pkg:deb/ubuntu/undertow?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"2.3.18-2",
"2.3.20-1",
"2.3.20-1ubuntu1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-19879.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libundertow-java",
"binary_version": "2.3.20-1ubuntu1"
}
]
}
}
],
"modified": "2026-10-17T12:58:47.339226553Z",
"provider": "osv",
"upstream": [
"CVE-2026-19879"
],
"references": [
"https://ubuntu.com/security/CVE-2026-19879",
"https://www.cve.org/CVERecord?id=CVE-2026-19879",
"https://bugzilla.redhat.com/show_bug.cgi?id=2516038",
"https://access.redhat.com/security/cve/CVE-2026-19879"
]
},
"related_cves": [
{
"value": "CVE-2026-19879",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 359055,
"published_at": "2026-08-14T15:17:00+00:00"
}