# CVE-2020-5207: Request smuggling is possible in Ktor when both chunked TE and content length specified

- Severity: Medium 5.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/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): 0.76%, higher than 56% of CVEs (2026-12-01)
- Published: 2020-01-27T19:28:40.000Z
- Modified: 2026-07-08T05:59:54.373Z
- Also known as: GHSA-xrr9-rh8p-433v
- Weaknesses: CWE-444
- Assigned by: GitHub_M

## Description

In Ktor before 1.3.0, request smuggling is possible when running behind a proxy that doesn't handle Content-Length and Transfer-Encoding properly or doesn't handle \n as a headers separator.

(As written by CVE List.)

## Affected

- Ktor.io Ktor: < 1.3.0
- io.ktor:ktor-client-cio (Maven): before 1.3.0
- io.ktor:ktor-server-cio (Maven): before 1.3.0
- jetbrains ktor: before 1.3.0

## Every score

- GitHub_M: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 5.4 Low `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A: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/ktorio/ktor/security/advisories/GHSA-xrr9-rh8p-433v> (third-party-advisory, web)
- <https://github.com/ktorio/ktor/pull/1547> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-5207> (advisory)

## Sources

- CVE List: [CVE-2020-5207](https://www.cve.org/CVERecord?id=CVE-2020-5207), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-xrr9-rh8p-433v](https://github.com/advisories/GHSA-xrr9-rh8p-433v), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2020-5207](https://nvd.nist.gov/vuln/detail/CVE-2020-5207), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-5207 · Whole record: https://cve.day/CVE-2020-5207.json · Rebuilt by cve.day 2026-11-25T22:57:50.685Z
