{"id":"UBUNTU-CVE-2026-115877","details":"Twisted is an event-based framework for internet applications, supporting Python 3.6+. Prior to 26.10.0rc1, twisted.web.http.HTTPChannel.headerReceived rejects a NUL byte in an HTTP header value but accepts a bare carriage return or bare line feed. Because Twisted splits header lines only on CRLF, a hidden Content-Length header can remain folded into another value while a lenient front end treats the bare character as a line terminator. The resulting framing disagreement can smuggle a following request past front-end access controls, poison a shared connection or cache, and expose a later client to the wrong response. This issue is an incomplete-fix residual of earlier Twisted request-smuggling protections. This issue is fixed in version 26.10.0rc1.","modified":"2026-10-27T04:16:52.360549758Z","published":"2026-10-26T00:00:00Z","upstream":["CVE-2026-115877"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-115877"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-115877"},{"type":"REPORT","url":"https://github.com/twisted/twisted/commit/022b6f7feb5980166c71f54e2c0d8f4f21ff6e1a"},{"type":"REPORT","url":"https://github.com/twisted/twisted/commit/1616f702d36eda8990a5a5b22ad70fab140a7eb1"},{"type":"REPORT","url":"https://github.com/twisted/twisted/pull/12755"},{"type":"REPORT","url":"https://github.com/twisted/twisted/releases/tag/twisted-26.10.0rc1"},{"type":"REPORT","url":"https://github.com/twisted/twisted/security/advisories/GHSA-q7qq-6mhp-9rc4"}],"affected":[{"package":{"name":"twisted","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/twisted?arch=source&distro=esm-infra-legacy%2Ftrusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["13.0.0-1ubuntu1","13.2.0-1ubuntu1","13.2.0-1ubuntu1.2","13.2.0-1ubuntu1.2+esm1","13.2.0-1ubuntu1.2+esm2","13.2.0-1ubuntu1.2+esm3"],"ecosystem_specific":{"binaries":[{"binary_name":"python-twisted","binary_version":"13.2.0-1ubuntu1.2+esm3"},{"binary_name":"python-twisted-bin","binary_version":"13.2.0-1ubuntu1.2+esm3"},{"binary_name":"python-twisted-conch","binary_version":"1:13.2.0-1ubuntu1.2+esm3"},{"binary_name":"python-twisted-core","binary_version":"13.2.0-1ubuntu1.2+esm3"},{"binary_version":"13.2.0-1ubuntu1.2+esm3","binary_name":"python-twisted-lore"},{"binary_name":"python-twisted-mail","binary_version":"13.2.0-1ubuntu1.2+esm3"},{"binary_name":"python-twisted-names","binary_version":"13.2.0-1ubuntu1.2+esm3"},{"binary_name":"python-twisted-news","binary_version":"13.2.0-1ubuntu1.2+esm3"},{"binary_version":"13.2.0-1ubuntu1.2+esm3","binary_name":"python-twisted-runner"},{"binary_name":"python-twisted-web","binary_version":"13.2.0-1ubuntu1.2+esm3"},{"binary_name":"python-twisted-words","binary_version":"13.2.0-1ubuntu1.2+esm3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-115877.json"}},{"package":{"name":"twisted","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/twisted?arch=source&distro=esm-infra%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["15.2.1-1ubuntu2","15.5.0-1","15.5.0-2","15.5.0-2ubuntu1","15.5.0-4","16.0.0~pre1-1","16.0.0~pre1-1ubuntu1","16.0.0~pre1-2ubuntu1","16.0.0~pre1-3","16.0.0-1","16.0.0-1ubuntu0.2","16.0.0-1ubuntu0.4","16.0.0-1ubuntu0.4+esm1","16.0.0-1ubuntu0.4+esm2"],"ecosystem_specific":{"binaries":[{"binary_version":"16.0.0-1ubuntu0.4+esm2","binary_name":"python-twisted"},{"binary_name":"python-twisted-bin","binary_version":"16.0.0-1ubuntu0.4+esm2"},{"binary_version":"1:16.0.0-1ubuntu0.4+esm2","binary_name":"python-twisted-conch"},{"binary_name":"python-twisted-core","binary_version":"16.0.0-1ubuntu0.4+esm2"},{"binary_name":"python-twisted-mail","binary_version":"16.0.0-1ubuntu0.4+esm2"},{"binary_version":"16.0.0-1ubuntu0.4+esm2","binary_name":"python-twisted-names"},{"binary_name":"python-twisted-news","binary_version":"16.0.0-1ubuntu0.4+esm2"},{"binary_name":"python-twisted-runner","binary_version":"16.0.0-1ubuntu0.4+esm2"},{"binary_name":"python-twisted-web","binary_version":"16.0.0-1ubuntu0.4+esm2"},{"binary_version":"16.0.0-1ubuntu0.4+esm2","binary_name":"python-twisted-words"},{"binary_name":"python3-twisted","binary_version":"16.0.0-1ubuntu0.4+esm2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-115877.json"}},{"package":{"name":"twisted","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/twisted?arch=source&distro=esm-infra%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["16.6.0-2ubuntu3","17.9.0-1","17.9.0-2","17.9.0-2ubuntu0.1","17.9.0-2ubuntu0.3","17.9.0-2ubuntu0.3+esm1","17.9.0-2ubuntu0.3+esm2"],"ecosystem_specific":{"binaries":[{"binary_version":"17.9.0-2ubuntu0.3+esm2","binary_name":"python-twisted"},{"binary_version":"17.9.0-2ubuntu0.3+esm2","binary_name":"python-twisted-bin"},{"binary_version":"1:17.9.0-2ubuntu0.3+esm2","binary_name":"python-twisted-conch"},{"binary_name":"python-twisted-core","binary_version":"17.9.0-2ubuntu0.3+esm2"},{"binary_name":"python-twisted-mail","binary_version":"17.9.0-2ubuntu0.3+esm2"},{"binary_version":"17.9.0-2ubuntu0.3+esm2","binary_name":"python-twisted-names"},{"binary_name":"python-twisted-news","binary_version":"17.9.0-2ubuntu0.3+esm2"},{"binary_version":"17.9.0-2ubuntu0.3+esm2","binary_name":"python-twisted-runner"},{"binary_version":"17.9.0-2ubuntu0.3+esm2","binary_name":"python-twisted-web"},{"binary_version":"17.9.0-2ubuntu0.3+esm2","binary_name":"python-twisted-words"},{"binary_version":"17.9.0-2ubuntu0.3+esm2","binary_name":"python3-twisted"},{"binary_name":"python3-twisted-bin","binary_version":"17.9.0-2ubuntu0.3+esm2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-115877.json"}},{"package":{"name":"twisted","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/twisted?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["18.9.0-3ubuntu1","18.9.0-5","18.9.0-6","18.9.0-6build1","18.9.0-6ubuntu1","18.9.0-8","18.9.0-11","18.9.0-11ubuntu0.20.04.1","18.9.0-11ubuntu0.20.04.2","18.9.0-11ubuntu0.20.04.3","18.9.0-11ubuntu0.20.04.4","18.9.0-11ubuntu0.20.04.5"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-twisted","binary_version":"18.9.0-11ubuntu0.20.04.5"},{"binary_name":"python3-twisted-bin","binary_version":"18.9.0-11ubuntu0.20.04.5"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-115877.json"}},{"package":{"name":"twisted","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/twisted?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["20.3.0-7ubuntu1","20.3.0-7ubuntu3","22.1.0-2ubuntu2","22.1.0-2ubuntu2.1","22.1.0-2ubuntu2.3","22.1.0-2ubuntu2.4","22.1.0-2ubuntu2.5","22.1.0-2ubuntu2.6","22.1.0-2ubuntu2.7"],"ecosystem_specific":{"binaries":[{"binary_version":"22.1.0-2ubuntu2.7","binary_name":"python3-twisted"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-115877.json"}},{"package":{"name":"twisted","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/twisted?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["22.4.0-4","22.4.0-4ubuntu1","23.10.0-2","24.3.0-1","24.3.0-1ubuntu0.1","24.3.0-1ubuntu0.2"],"ecosystem_specific":{"binaries":[{"binary_version":"24.3.0-1ubuntu0.2","binary_name":"python3-twisted"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-115877.json"}},{"package":{"name":"twisted","ecosystem":"Ubuntu:26.10","purl":"pkg:deb/ubuntu/twisted?arch=source&distro=stonking"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["25.5.0-5","26.4.0-4"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-twisted","binary_version":"26.4.0-4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-115877.json"}},{"package":{"name":"twisted","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/twisted?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["24.11.0-1","25.5.0-4","25.5.0-5","25.5.0-5ubuntu0.1"],"ecosystem_specific":{"binaries":[{"binary_version":"25.5.0-5ubuntu0.1","binary_name":"python3-twisted"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-115877.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N"},{"type":"Ubuntu","score":"medium"}]}