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

- Priority: **Routine**
- Reason: Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2023-12-05 · Modified: 2024-08-02
- Aliases: GHSA-pjrj-h4fg-6gm4
- Record: https://cvemate.com/vulnerability/CVE-2023-6180 · JSON: https://cvemate.com/vulnerability/CVE-2023-6180/json

## Description

```text
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.
```

## Signals

- CVSS: 5.3 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- EPSS: 0.619%, percentile 51.093%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- Crates.Io tokio-boring (Crates.Io): ≥ 4.0.0, \< 4.1.0
- cloudflare boring: 4.0.0
- cloudflare tokio-boring: ≥ 4.0.0, ≤ 4.1.0

## References

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

---

Data as of 2026-12-05T11:51:28.103Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
