# CVE-2024-45402: Picotls double free

- Severity: High 8.6 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/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.48%, higher than 42% of CVEs (2026-12-01)
- Published: 2024-10-11T14:38:59.695Z
- Modified: 2026-06-17T07:54:08.720Z
- Weaknesses: CWE-415
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

Picotls is a TLS protocol library that allows users select different crypto backends based on their use case. When parsing a spoofed TLS handshake message, picotls (specifically, bindings within picotls that call the crypto libraries) may attempt to free the same memory twice. This double free occurs during the disposal of multiple objects without any intervening calls to malloc Typically, this triggers the malloc implementation to detect the error and abort the process. However, depending on the internals of malloc and the crypto backend being used, the flaw could potentially lead to a use-after-free scenario, which might allow for arbitrary code execution. The vulnerability is addressed with commit 9b88159ce763d680e4a13b6e8f3171ae923a535d.

(As written by CVE List.)

## Affected

- h2o picotls: < 9b88159ce763d680e4a13b6e8f3171ae923a535d
- h2o_project picotls: before 9b88159ce763d680e4a13b6e8f3171ae923a535d
- dena picotls: from 2024-08-12 before 2024-10-10

## Every score

- GitHub_M: CVSS:3.1 8.6 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/h2o/picotls/security/advisories/GHSA-w7c8-wjx9-vvvv> (vendor-advisory)
- <https://github.com/h2o/picotls/commit/9b88159ce763d680e4a13b6e8f3171ae923a535d> (patch)

## Sources

- CVE List: [CVE-2024-45402](https://www.cve.org/CVERecord?id=CVE-2024-45402), CVE Terms of Use, modified 2024-10-15
- NVD: [CVE-2024-45402](https://nvd.nist.gov/vuln/detail/CVE-2024-45402), Public domain, modified 2026-06-17

---

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