# CVE-2019-16785: HTTP Request Smuggling: LF vs CRLF handling in Waitress

- Severity: High 7.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.54%, higher than 85% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2019-12-20T23:00:25.000Z
- Modified: 2026-09-10T03:49:24.779Z
- Also known as: GHSA-pg36-wpm5-g57p, PYSEC-2019-136
- Weaknesses: CWE-444
- Assigned by: GitHub_M

## Description

Waitress through version 1.3.1 implemented a "MAY" part of the RFC7230 which states: "Although the line terminator for the start-line and header fields is the sequence CRLF, a recipient MAY recognize a single LF as a line terminator and ignore any preceding CR." Unfortunately if a front-end server does not parse header fields with an LF the same way as it does those with a CRLF it can lead to the front-end and the back-end server parsing the same HTTP message in two different ways. This can lead to a potential for HTTP request smuggling/splitting whereby Waitress may see two requests while the front-end server only sees a single HTTP message. This issue is fixed in Waitress 1.4.0.

(As written by CVE List.)

## Affected

- Pylons Waitress: from <= 1.3.1 up to 1.3.1
- waitress (PyPI): before 1.4.0; before 8eba394ad75deaf9e5cd15b78a3d16b12e6b0eba
- agendaless waitress: up to 1.3.1
- oracle communications_cloud_native_core_network_function_cloud_native_environment: 1.10.0
- debian debian_linux: 9.0
- fedoraproject fedora: 30; 31
- redhat openstack: 15

## Every score

- GitHub_M: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:N`
- GitHub: CVSS:3.1 7.1 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:L/SA:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:P/A:N`

## References

- <https://github.com/Pylons/waitress/security/advisories/GHSA-pg36-wpm5-g57p> (exploit, advisory, third-party-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GVDHR2DNKCNQ7YQXISJ45NT4IQDX3LJ7/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LYEOTGWJZVKPRXX2HBNVIYWCX73QYPM5/> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2020:0720> (advisory, third-party-advisory, vendor-advisory, web)
- <https://www.oracle.com/security-alerts/cpuapr2022.html> (patch, third-party-advisory, web)
- <https://docs.pylonsproject.org/projects/waitress/en/latest/#security-fixes> (vendor-advisory, web)
- <https://github.com/Pylons/waitress/commit/8eba394ad75deaf9e5cd15b78a3d16b12e6b0eba> (fix, patch, third-party-advisory, web)
- <https://lists.debian.org/debian-lts-announce/2022/05/msg00011.html> (mailing-list, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2019-16785> (advisory)
- <https://github.com/Pylons/waitress> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/waitress/PYSEC-2019-136.yaml> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GVDHR2DNKCNQ7YQXISJ45NT4IQDX3LJ7> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LYEOTGWJZVKPRXX2HBNVIYWCX73QYPM5> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GVDHR2DNKCNQ7YQXISJ45NT4IQDX3LJ7/> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LYEOTGWJZVKPRXX2HBNVIYWCX73QYPM5/> (web)

## Sources

- CVE List: [CVE-2019-16785](https://www.cve.org/CVERecord?id=CVE-2019-16785), CVE Terms of Use, modified 2024-08-05
- GitHub Advisory Database: [GHSA-pg36-wpm5-g57p](https://github.com/advisories/GHSA-pg36-wpm5-g57p), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2019-16785](https://nvd.nist.gov/vuln/detail/CVE-2019-16785), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2019-136](https://osv.dev/vulnerability/PYSEC-2019-136), CC-BY-4.0, modified 2023-11-08

---

Page: https://cve.day/CVE-2019-16785 · Whole record: https://cve.day/CVE-2019-16785.json · Rebuilt by cve.day 2026-11-25T22:57:49.001Z
