All reports
Low

curl: libcurl: Memory corruption vulnerability via OpenSSL 3 provider use-after-free

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-80229

Probability of exploitation in the next 30 days: 0.56%

FIRST EPSS · 2026-11-21

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.

A flaw was found in libcurl when performing transfers via its multi interface with OpenSSL 3 provider configurations. Pooled TLS connections can outlive their originating easy handles, causing an allocated library context to be prematurely freed. This leaves the active connection with a dangling pointer, leading to a heap-use-after-free upon subsequent I/O or post-handshake operations. This memory corruption vulnerability could allow a remote attacker to cause a denial of service or potentially execute arbitrary code.