CVE-2024-45402

Picotls double free

Published Oct 11, 2024 CVSS 3.1 · 8.6 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-41460 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.
History
Type Values Removed Values Added
First Time appeared Dena
Dena picotls
CPEs cpe:2.3:a:dena:picotls:*:*:*:*:*:*:*:*
Vendors & Products Dena
Dena picotls
Type Values Removed Values Added
First Time appeared H2o Project
H2o Project picotls
CPEs cpe:2.3:a:h20:picotis:*:*:*:*:*:*:*:* cpe:2.3:a:h2o_project:picotls:*:*:*:*:*:*:*:*
Vendors & Products H20
H20 picotis
H2o Project
H2o Project picotls
Type Values Removed Values Added
First Time appeared H20
H20 picotis
CPEs cpe:2.3:a:h20:picotis:*:*:*:*:*:*:*:*
Vendors & Products H20
H20 picotis
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Picotls double free
Weaknesses CWE-415
References
Metrics cvssV3_1

{'score': 8.6, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 15, 2024, 4:11 PM
Reserved
Aug 28, 2024, 8:21 PM
Status
Analyzed
Published
Oct 11, 2024, 3:15 PM
Modified
Jun 17, 2026, 7:54 AM