ubuntu-cve-2026-31842
Vulnerability from osv_ubuntu
Tinyproxy through 1.11.3 is vulnerable to HTTP request parsing desynchronization due to a case-sensitive comparison of the Transfer-Encoding header in src/reqs.c. The is_chunked_transfer() function uses strcmp() to compare the header value against "chunked", even though RFC 7230 specifies that transfer-coding names are case-insensitive. By sending a request with Transfer-Encoding: Chunked, an unauthenticated remote attacker can cause Tinyproxy to misinterpret the request as having no body. In this state, Tinyproxy sets content_length.client to -1, skips pull_client_data_chunked(), forwards request headers upstream, and transitions into relay_connection() raw TCP forwarding while unread body data remains buffered. This leads to inconsistent request state between Tinyproxy and backend servers. RFC-compliant backends (e.g., Node.js, Nginx) will continue waiting for chunked body data, causing connections to hang indefinitely. This behavior enables application-level denial of service through backend worker exhaustion. Additionally, in deployments where Tinyproxy is used for request-body inspection, filtering, or security enforcement, the unread body may be forwarded without proper inspection, resulting in potential security control bypass.
{
"affected": [
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "tinyproxy",
"binary_version": "1.8.3-3ubuntu14.04.1~esm3"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:14.04:LTS",
"name": "tinyproxy",
"purl": "pkg:deb/ubuntu/tinyproxy@1.8.3-3ubuntu14.04.1~esm3?arch=source\u0026distro=esm-infra-legacy/trusty"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.8.3-3ubuntu1",
"1.8.3-3ubuntu14.04.1~esm1",
"1.8.3-3ubuntu14.04.1~esm2",
"1.8.3-3ubuntu14.04.1~esm3"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "tinyproxy",
"binary_version": "1.8.3-3ubuntu16.04.1~esm3"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:16.04:LTS",
"name": "tinyproxy",
"purl": "pkg:deb/ubuntu/tinyproxy@1.8.3-3ubuntu16.04.1~esm3?arch=source\u0026distro=esm-apps/xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.8.3-3ubuntu1",
"1.8.3-3ubuntu16.04.1~esm1",
"1.8.3-3ubuntu16.04.1~esm2",
"1.8.3-3ubuntu16.04.1~esm3"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "tinyproxy",
"binary_version": "1.8.4-5ubuntu0.1~esm3"
},
{
"binary_name": "tinyproxy-bin",
"binary_version": "1.8.4-5ubuntu0.1~esm3"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:18.04:LTS",
"name": "tinyproxy",
"purl": "pkg:deb/ubuntu/tinyproxy@1.8.4-5ubuntu0.1~esm3?arch=source\u0026distro=esm-apps/bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.8.4-2",
"1.8.4-3",
"1.8.4-5",
"1.8.4-5ubuntu0.1~esm1",
"1.8.4-5ubuntu0.1~esm2",
"1.8.4-5ubuntu0.1~esm3"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "tinyproxy",
"binary_version": "1.10.0-4ubuntu0.2"
},
{
"binary_name": "tinyproxy-bin",
"binary_version": "1.10.0-4ubuntu0.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "tinyproxy",
"purl": "pkg:deb/ubuntu/tinyproxy@1.10.0-4ubuntu0.2?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.10.0-2",
"1.10.0-4",
"1.10.0-4ubuntu0.1",
"1.10.0-4ubuntu0.2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "tinyproxy",
"binary_version": "1.11.0-1ubuntu0.1~esm2"
},
{
"binary_name": "tinyproxy-bin",
"binary_version": "1.11.0-1ubuntu0.1~esm2"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:22.04:LTS",
"name": "tinyproxy",
"purl": "pkg:deb/ubuntu/tinyproxy@1.11.0-1ubuntu0.1~esm2?arch=source\u0026distro=esm-apps/jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.10.0-5",
"1.11.0-1",
"1.11.0-1ubuntu0.1~esm1",
"1.11.0-1ubuntu0.1~esm2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "tinyproxy",
"binary_version": "1.11.1-3ubuntu0.1"
},
{
"binary_name": "tinyproxy-bin",
"binary_version": "1.11.1-3ubuntu0.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:24.04:LTS",
"name": "tinyproxy",
"purl": "pkg:deb/ubuntu/tinyproxy@1.11.1-3ubuntu0.1?arch=source\u0026distro=noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.11.1-2.1",
"1.11.1-3",
"1.11.1-3ubuntu0.1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "tinyproxy",
"binary_version": "1.11.2-1"
},
{
"binary_name": "tinyproxy-bin",
"binary_version": "1.11.2-1"
}
]
},
"package": {
"ecosystem": "Ubuntu:25.10",
"name": "tinyproxy",
"purl": "pkg:deb/ubuntu/tinyproxy@1.11.2-1?arch=source\u0026distro=questing"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.11.2-1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "tinyproxy",
"binary_version": "1.11.3-1"
},
{
"binary_name": "tinyproxy-bin",
"binary_version": "1.11.3-1"
}
]
},
"package": {
"ecosystem": "Ubuntu:26.04:LTS",
"name": "tinyproxy",
"purl": "pkg:deb/ubuntu/tinyproxy@1.11.3-1?arch=source\u0026distro=resolute"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.11.2-1",
"1.11.2-1build1",
"1.11.3-1"
]
}
],
"aliases": [],
"details": "Tinyproxy through 1.11.3 is vulnerable to HTTP request parsing desynchronization due to a case-sensitive comparison of the Transfer-Encoding header in src/reqs.c. The is_chunked_transfer() function uses strcmp() to compare the header value against \"chunked\", even though RFC 7230 specifies that transfer-coding names are case-insensitive. By sending a request with Transfer-Encoding: Chunked, an unauthenticated remote attacker can cause Tinyproxy to misinterpret the request as having no body. In this state, Tinyproxy sets content_length.client to -1, skips pull_client_data_chunked(), forwards request headers upstream, and transitions into relay_connection() raw TCP forwarding while unread body data remains buffered. This leads to inconsistent request state between Tinyproxy and backend servers. RFC-compliant backends (e.g., Node.js, Nginx) will continue waiting for chunked body data, causing connections to hang indefinitely. This behavior enables application-level denial of service through backend worker exhaustion. Additionally, in deployments where Tinyproxy is used for request-body inspection, filtering, or security enforcement, the unread body may be forwarded without proper inspection, resulting in potential security control bypass.",
"id": "UBUNTU-CVE-2026-31842",
"modified": "2026-05-20T15:27:20Z",
"published": "2026-04-07T12:16:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2026-31842"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2026-31842"
},
{
"type": "REPORT",
"url": "https://datatracker.ietf.org/doc/html/rfc7230"
},
{
"type": "REPORT",
"url": "https://github.com/tinyproxy/tinyproxy"
}
],
"related": [],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
"type": "CVSS_V4"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2026-31842"
]
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.