When an FTP wildcard LIST operation fails, libcurl omits the restoration path meant for successful listings, leaving the write callback set to the… (CVE-2026-92388)
Description
CVE-2026-92388 is a vulnerability in libcurl's FTP wildcard LIST operation handling. When such a LIST operation fails, libcurl fails to restore the write callback properly, leaving it set to an internal parser with corrupted state. Reusing or cloning the affected handle can cause immediate crashes, heap use-after-free reads, or type confusion leading to memory misinterpretation.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability occurs when an FTP wildcard LIST operation fails in libcurl. The restoration path for successful listings is omitted, leaving the write callback set to the internal listing parser and its data pointing directly to the easy handle. Reusing the handle triggers crashes, and cloning it copies the corrupted state. Freeing the original handle and then using the clone causes heap use-after-free reads. Additionally, reusing either handle while changing only CURLOPT_WRITEDATA without resetting CURLOPT_WRITEFUNCTION causes type confusion, making the internal parser interpret server response bytes into application memory incorrectly.
Potential Impact
The vulnerability can cause immediate application crashes, heap use-after-free memory reads, and type confusion leading to potential memory corruption. These issues arise from improper state restoration in libcurl's FTP wildcard LIST operation failure scenario. There is no indication of remote code execution or data disclosure in the provided data.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid reusing or cloning libcurl easy handles after a failed FTP wildcard LIST operation. Carefully manage CURLOPT_WRITEDATA and CURLOPT_WRITEFUNCTION settings to prevent type confusion.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-r22r-3m6c-qv5r
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-92388"]
Threat ID: 6ad7ec102cdf04f6566aefb0
Added to database: 10/20/2026, 22:32:48 UTC
Last enriched: 10/20/2026, 22:35:26 UTC
Last updated: 10/20/2026, 22:35:26 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.