Description
When performing transfers via libcurl’s multi interface, pooled TLS connections can outlive their originating easy handles. In OpenSSL 3 provider configurations, libcurl attaches an allocated library context to the easy handle's state and passes it to OpenSSL without acquiring an ownership reference; destroying the easy handle prematurely frees this context while the active connection retains a dangling pointer, leading to a heap-use-after-free upon subsequent I/O or post-handshake operations.
Weaknesses
- — CWE-416 Use After Free
Affected products
| Vendor | Product | Versions |
|---|---|---|
| curl | curl | 8.21.0 to <=8.21.0; 8.20.0 to <=8.20.0; 8.19.0 to <=8.19.0; 8.18.0 to <=8.18.0; 8.17.0 to <=8.17.0; 8.16.0 to <=8.16.0; 8.15.0 to <=8.15.0; 8.14.1 to <=8.14.1; 8.14.0 to <=8.14.0 |
References
Generated from the official CVE List on 07 Sep 2026 07:02 UTC.