Double Free in Dena Picotls
CVE-2024-45402
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.
Vulnerability class: Double Free
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.6 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H.
EPSS exploit prediction
EPSS 0.005, 41.9th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Dena Picotls
- H2o Picotls — versions < 9b88159ce763d680e4a13b6e8f3171ae923a535d
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 3 other repositories (fkie-cad/nvd-json-data-feeds, IES-Rafael-Alberti/Proyecto1_CybersecurityConsulting, QUICTester/QUIC-Fuzz). These reference the CVE in a list, notes or a scanner and are not exploit code for it.