UAF after pause in socket callback
curl
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| curl curl |
| No fix yet |
| curl curl |
| No fix yet |
| curl curl |
|
curl
| Product | Affected | Fixed in |
|---|---|---|
| curl curl |
| No fix yet |
| curl curl |
| No fix yet |
| curl curl |
|
8.19.08.18.08.17.08.16.08.15.0| No fix yet |
Calling `curl_easy_pause()` within the event-based `CURLMOPT_SOCKETFUNCTION` callback triggers a use-after-free vulnerability, where libcurl attempts to store a flag using a dangling struct pointer immediately after that pointer's memory has been freed.
From the CVE record · curl
libcurl has a use-after-free vulnerability when an application calls `curl_easy_pause()` from the event-based `CURLMOPT_SOCKETFUNCTION` callback. Immediately after freeing a structure, libcurl attempts to write a flag through a dangling pointer. The input does not establish whether an attacker can trigger this remotely or locally, or whether authentication or user interaction is required.
Engineers running curl or applications using libcurl should check their exposure; affected versions are not specified.