# CVE-2021-32714: Integer Overflow in Chunked Transfer-Encoding

- Severity: Medium 5.9 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- 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): 1.16%, higher than 67% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-07-07T12:00:00.000Z
- Modified: 2026-10-12T18:00:02.671Z
- Also known as: GHSA-5h46-h7hh-c6x9, RUSTSEC-2021-0079
- Weaknesses: CWE-190
- Assigned by: GitHub_M

## Description

hyper is an HTTP library for Rust. In versions prior to 0.14.10, hyper's HTTP server and client code had a flaw that could trigger an integer overflow when decoding chunk sizes that are too big. This allows possible data loss, or if combined with an upstream HTTP proxy that allows chunk sizes larger than hyper does, can result in "request smuggling" or "desync attacks." The vulnerability is patched in version 0.14.10. Two possible workarounds exist. One may reject requests manually that contain a `Transfer-Encoding` header or ensure any upstream proxy rejects `Transfer-Encoding` chunk sizes greater than what fits in 64-bit unsigned integers.

(As written by CVE List.)

## Affected

- hyperium hyper: < 0.14.10
- hyper (crates.io): before 0.14.10; from 0.0.0-0 before 0.14.10
- hyper hyper: before 0.14.10

## Every score

- GitHub_M: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- RustSec Advisory Database: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H`
- NVD: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H`
- NVD: CVSS:2.0 6.4 Medium `AV:N/AC:L/Au:N/C:N/I:P/A:P`

## References

- <https://github.com/hyperium/hyper/security/advisories/GHSA-5h46-h7hh-c6x9> (exploit, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-32714> (advisory)
- <https://github.com/hyperium/hyper> (package)
- <https://rustsec.org/advisories/RUSTSEC-2021-0079.html> (advisory, web)
- <https://crates.io/crates/hyper> (package)
- <https://github.com/hyperium/hyper/commit/efd9a9821fd2f1ae04b545094de76a435b62e70f> (web)

## Sources

- CVE List: [CVE-2021-32714](https://www.cve.org/CVERecord?id=CVE-2021-32714), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-5h46-h7hh-c6x9](https://github.com/advisories/GHSA-5h46-h7hh-c6x9), CC-BY-4.0, modified 2026-09-10
- RustSec Advisory Database: [RUSTSEC-2021-0079](https://rustsec.org/advisories/RUSTSEC-2021-0079.html), CC0-1.0, modified 2026-10-12
- NVD: [CVE-2021-32714](https://nvd.nist.gov/vuln/detail/CVE-2021-32714), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-32714 · Whole record: https://cve.day/CVE-2021-32714.json · Rebuilt by cve.day 2026-11-25T22:58:02.468Z
