# CVE-2024-32650: Rustls vulnerable to an infinite loop in rustls::conn::ConnectionCommon::complete_io() with proper client input

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/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): 0.95%, higher than 62% of CVEs (2026-12-01)
- Published: 2024-04-19T12:00:00.000Z
- Modified: 2026-10-12T18:00:07.054Z
- Also known as: GHSA-6g7w-8wpp-frhj, RUSTSEC-2024-0336
- Weaknesses: CWE-835
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

Rustls is a modern TLS library written in Rust. `rustls::ConnectionCommon::complete_io` could fall into an infinite loop based on network input. When using a blocking rustls server, if a client send a `close_notify` message immediately after `client_hello`, the server's `complete_io` will get in an infinite loop. This vulnerability is fixed in 0.23.5, 0.22.4, and 0.21.11.

(As written by CVE List.)

## Affected

- rustls rustls: >= 0.23.0, < 0.23.5; >= 0.22.0, < 0.22.4; >= 0.21.0, < 0.21.11; = 0.20.0
- rustls_project rustls: 0.21.11
- rustls (crates.io): from 0.23.0 before 0.23.5; from 0.22.0 before 0.22.4; from 0.21.0 before 0.21.11; 0.20; from 0.0.0-0 before 0.21.11

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- RustSec Advisory Database: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/rustls/rustls/security/advisories/GHSA-6g7w-8wpp-frhj> (web)
- <https://github.com/rustls/rustls/commit/2123576840aa31043a31b0770e6572136fbe0c2d> (web)
- <https://github.com/rustls/rustls/commit/6e938bcfe82a9da7a2e1cbf10b928c7eca26426e> (web)
- <https://github.com/rustls/rustls/commit/f45664fbded03d833dffd806503d3c8becd1b71e> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-32650> (advisory)
- <https://github.com/rustls/rustls/commit/5374108df698e78c3e9ef8265cac311556be24af> (web)
- <https://github.com/rustls/rustls/commit/ebcb4782f23b4edf9b10a7065d9e8d4362439d9c> (web)
- <https://github.com/rustls/rustls> (package)
- <https://rustsec.org/advisories/RUSTSEC-2024-0336.html> (advisory, web)
- <https://crates.io/crates/rustls> (package)

## Sources

- CVE List: [CVE-2024-32650](https://www.cve.org/CVERecord?id=CVE-2024-32650), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-6g7w-8wpp-frhj](https://github.com/advisories/GHSA-6g7w-8wpp-frhj), CC-BY-4.0, modified 2026-09-10
- RustSec Advisory Database: [RUSTSEC-2024-0336](https://rustsec.org/advisories/RUSTSEC-2024-0336.html), CC0-1.0, modified 2026-10-12
- NVD: [CVE-2024-32650](https://nvd.nist.gov/vuln/detail/CVE-2024-32650), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-32650 · Whole record: https://cve.day/CVE-2024-32650.json · Rebuilt by cve.day 2026-11-25T22:58:39.488Z
