{"id":"CVE-2023-6180","aliases":["GHSA-pjrj-h4fg-6gm4"],"url":"https://o3.security/vulnerability/CVE-2023-6180","summary":"Resource exhaustion via memory leak in tokio-boring","details":"### Impact\nThe 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.\n\n### Patches\nThe issue is fixed in version 4.1.0 of tokio-boring.\n\n### References\n[CVE-2023-6180 at cve.org](https://www.cve.org/CVERecord?id=CVE-2023-6180)\n","published":"2023-12-05T15:02:40.007Z","modified":"2026-08-12T03:51:28.680531732Z","cvss":{"score":5.3,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"},"epss":{"score":0.00619,"percentile":0.48013,"asOf":"2026-09-16"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"crates.io","name":"tokio-boring","fixedVersion":"4.1.0"}],"fix":{"url":"https://github.com/cloudflare/boring/commit/a32783374f2682e6949fdb713910b1b9f103d3ed","label":"cloudflare/boring@a327833"},"references":[{"type":"WEB","url":"https://github.com/cloudflare/boring/tree/master/tokio-boring"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/6xxx/CVE-2023-6180.json"},{"type":"ADVISORY","url":"https://github.com/cloudflare/boring/security/advisories/GHSA-pjrj-h4fg-6gm4"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-6180"},{"type":"WEB","url":"https://github.com/cloudflare/boring/commit/a32783374f2682e6949fdb713910b1b9f103d3ed"},{"type":"PACKAGE","url":"https://github.com/cloudflare/boring"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:28.680531732Z"}}