UBUNTU-CVE-2026-92388: Use After Free

Published Oct 14, 2026
·
Updated

When an FTP wildcard LIST operation fails, libcurl omits the restoration path meant for successful listings, leaving the write callback set to the internal listing parser and the write callback data pointing directly to the easy handle. Subsequent reuse of this handle triggers an immediate crash, and cloning it via curleasyduphandle() copies this corrupted state into the duplicate. If the original handle is subsequently freed, executing a transfer on the cloned handle causes a heap use-after-free read against the dangling handle reference; alternatively, reusing the original or cloned handle while changing only CURLOPTWRITEDATA (and omitting CURLOPTWRITEFUNCTION) results in type confusion, forcing the internal parser to interpret incoming server response bytes into memory at the application-supplied write data pointer.

Affected Software

8 affected componentsFixes available
ubuntu/curl<7.35.0-1ubuntu2.20+esm24
7.35.0-1ubuntu2.20+esm24
ubuntu/curl<7.47.0-1ubuntu2.19+esm21
7.47.0-1ubuntu2.19+esm21
ubuntu/curl<7.58.0-2ubuntu3.24+esm15
7.58.0-2ubuntu3.24+esm15
ubuntu/curl<7.68.0-1ubuntu2.25+esm10
7.68.0-1ubuntu2.25+esm10
ubuntu/curl<7.81.0-1ubuntu1.30
7.81.0-1ubuntu1.30
ubuntu/curl<8.5.0-2ubuntu10.16
8.5.0-2ubuntu10.16
ubuntu/curl<8.20.0-2ubuntu11.1
8.20.0-2ubuntu11.1
ubuntu/curl<8.18.0-1ubuntu2.8
8.18.0-1ubuntu2.8

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ubuntu/curl to a version that resolves this vulnerability.

    Fixed in 7.35.0-1ubuntu2.20+esm24
  2. Upgrade

    Upgrade ubuntu/curl to a version that resolves this vulnerability.

    Fixed in 7.47.0-1ubuntu2.19+esm21
  3. Upgrade

    Upgrade ubuntu/curl to a version that resolves this vulnerability.

    Fixed in 7.58.0-2ubuntu3.24+esm15
  4. Upgrade

    Upgrade ubuntu/curl to a version that resolves this vulnerability.

    Fixed in 7.68.0-1ubuntu2.25+esm10
  5. Upgrade

    Upgrade ubuntu/curl to a version that resolves this vulnerability.

    Fixed in 7.81.0-1ubuntu1.30
  6. Upgrade

    Upgrade ubuntu/curl to a version that resolves this vulnerability.

    Fixed in 8.5.0-2ubuntu10.16
  7. Upgrade

    Upgrade ubuntu/curl to a version that resolves this vulnerability.

    Fixed in 8.20.0-2ubuntu11.1
  8. Upgrade

    Upgrade ubuntu/curl to a version that resolves this vulnerability.

    Fixed in 8.18.0-1ubuntu2.8

Event History

Oct 14, 2026
CVE Published
via OSV·06:00 AM
Data Sourced
via OSV·06:00 AM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What application behavior is required to reach the vulnerable state?

An application must perform an FTP wildcard LIST operation that fails. The affected easy handle must then be reused or duplicated for the crash, use-after-free, or type-confusion conditions to occur.

2

When can this become a use-after-free rather than an immediate crash?

The application must clone the affected handle with curl_easy_duphandle(), free the original handle, and then execute a transfer using the clone. The clone retains a dangling reference to the freed original handle.

3

What reuse pattern can lead to type confusion?

After the failed FTP wildcard LIST operation, reuse either the original or cloned handle while setting CURLOPT_WRITEDATA but not CURLOPT_WRITEFUNCTION. This leaves libcurl's internal listing parser installed as the write callback and makes it process response bytes using the application-provided write-data pointer.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203