Curl
OpenSSL provider use-after-free
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 8.14.0, < 8.14.2
- >= 8.15.0, < 8.16.1
- >= 8.17.0, < 8.20.1
- >= 8.21.0, < 8.22.0
Fixed in 8.14.2, 8.16.1, 8.20.1, 8.22.0
- >= f2ce6c46b9dcc46ced0ce43fa95176ea7599a854, < 7ea37abc6ac0120ba5f6d94be8d196f7cf1506bb
Fixed in 7ea37abc6ac0120ba5f6d94be8d196f7cf1506bb
- 8.21.0
- 8.20.0
- 8.19.0
- 8.18.0
- 8.17.0
- 8.16.0
- 8.15.0
- 8.14.1
- 8.14.0
Mitigation
Upgrade curl to 8.14.2 or 8.16.1 or 8.20.1 or 8.22.0 or later.
Upgrade curl to 7ea37abc6ac0120ba5f6d94be8d196f7cf1506bb or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.