CWE
415 416
Advisory Published
Updated

CVE-2024-45402: Picotls double free

First published: Fri Oct 11 2024(Updated: )

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.

Credit: security-advisories@github.com

Affected SoftwareAffected VersionHow to fix
Dena Picotls>=2024-08-12<2024-10-10

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2024-45402?

    CVE-2024-45402 is considered a medium severity vulnerability due to its potential to cause memory corruption.

  • How do I fix CVE-2024-45402?

    To fix CVE-2024-45402, update to the latest version of Dena Picotls released after October 10, 2024.

  • What software is affected by CVE-2024-45402?

    CVE-2024-45402 affects Dena Picotls versions from August 12, 2024, to October 10, 2024.

  • What type of vulnerability is CVE-2024-45402?

    CVE-2024-45402 is a memory corruption vulnerability that occurs during the parsing of TLS handshake messages.

  • What can happen if CVE-2024-45402 is exploited?

    Exploitation of CVE-2024-45402 may lead to application crashes or unexpected behavior due to double-free memory errors.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203