# CVE-2023-6180: Resource exhaustion via memory leak in tokio-boring

- Severity: Medium 5.3 (CVSS:3.1, scored by cloudflare) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- 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.62%, higher than 51% of CVEs (2026-12-02)
- Published: 2023-12-05T15:02:40.007Z
- Modified: 2026-07-08T06:29:08.895Z
- Also known as: GHSA-pjrj-h4fg-6gm4
- Weaknesses: CWE-400, CWE-401, CWE-404
- Assigned by: cloudflare

## Description

The tokio-boring library in version 4.0.0 is affected by a memory leak issue that can lead to excessive resource consumption and potential DoS by resource exhaustion. The set_ex_data function used by the library did not deallocate memory used by pre-existing data in memory each time after completing a TLS connection causing the program to consume more resources with each new connection.

(As written by CVE List.)

## Affected

- boring: from 4.0.0 up to 4.1.0
- tokio-boring (crates.io): from 4.0.0 before 4.1.0
- cloudflare boring: 4.0.0

## Every score

- cloudflare: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`

## References

- <https://github.com/cloudflare/boring/security/advisories/GHSA-pjrj-h4fg-6gm4> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-6180> (advisory)
- <https://github.com/cloudflare/boring/commit/a32783374f2682e6949fdb713910b1b9f103d3ed> (web)
- <https://github.com/cloudflare/boring> (package)

## Sources

- CVE List: [CVE-2023-6180](https://www.cve.org/CVERecord?id=CVE-2023-6180), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-pjrj-h4fg-6gm4](https://github.com/advisories/GHSA-pjrj-h4fg-6gm4), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2023-6180](https://nvd.nist.gov/vuln/detail/CVE-2023-6180), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-6180 · Whole record: https://cve.day/CVE-2023-6180.json · Rebuilt by cve.day 2026-11-25T22:58:31.060Z
