CVE-2024-45402

Source
https://cve.org/CVERecord?id=CVE-2024-45402
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-45402.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-45402
Aliases
  • GHSA-w7c8-wjx9-vvvv
Published
2024-10-11T14:38:59.695Z
Modified
2026-04-02T12:19:26.618489Z
Severity
  • 8.6 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H CVSS Calculator
Summary
Picotls double free
Details

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.

Database specific
{
    "cwe_ids": [
        "CWE-415"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/45xxx/CVE-2024-45402.json",
    "cna_assigner": "GitHub_M"
}
References

Affected packages

Git / github.com/h2o/picotls

Affected ranges

Type
GIT
Repo
https://github.com/h2o/picotls
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-45402.json"
unresolved_ranges
[
    {
        "events": [
            {
                "introduced": "2024-08-12"
            },
            {
                "fixed": "2024-10-10"
            }
        ]
    }
]