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 curl_easy_duphandle() 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 CURLOPT_WRITEDATA (and omitting CURLOPT_WRITEFUNCTION)
results in type confusion, forcing the internal parser to interpret incoming
server response bytes into memory at the application-supplied write data
pointer.
{
"CWE": {
"desc": "Use After Free",
"id": "CWE-416"
},
"URL": "https://curl.se/docs/CVE-2026-92388.json",
"affects": "lib",
"issue": "https://hackerone.com/reports/4022070",
"last_affected": "8.22.0",
"package": "curl",
"severity": "Low",
"www": "https://curl.se/docs/CVE-2026-92388.html"
}"https://curl.se/docs/CURL-CVE-2026-92388.json"
[
{
"deprecated": false,
"digest": {
"function_hash": "143061753882336494767680983486733687706",
"length": 635
},
"id": "CURL-CVE-2026-92388-37eddad8",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/curl/curl.git/commit/ba8f8a7f27a5c5e19e4ef212b90b35a93559163e",
"target": {
"file": "lib/cw-out.c",
"function": "cw_get_writefunc"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"77727340163860766620554115872749740762",
"215965894333253655639099792401512670376",
"338709366524257140505242780017015014304",
"23029853775342374852775865103147536005",
"311180633746911954006935032641693793537",
"80350778472714746253146260024223957333",
"222609923567134588938204587869455767597",
"169197121860397991234228114410720690241",
"317286478409241654378978163462513032399",
"35700631642782495486784183851604008463",
"120880201332487352896192931346932531400",
"82385839063148637403254157976501332086",
"136748861001560477059610996662755042352",
"196289514771246689056811597931181018401"
],
"threshold": 0.9
},
"id": "CURL-CVE-2026-92388-3b791e24",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/curl/curl.git/commit/ba8f8a7f27a5c5e19e4ef212b90b35a93559163e",
"target": {
"file": "lib/ftp.c"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"114755344196661425492569263542981357873",
"216946763721863210338275750488593142941",
"162416506894139747275011875526134287056",
"183527793812269515122717277074107565725",
"28961063934339295747761129566909650945"
],
"threshold": 0.9
},
"id": "CURL-CVE-2026-92388-4a4e8297",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/curl/curl.git/commit/ba8f8a7f27a5c5e19e4ef212b90b35a93559163e",
"target": {
"file": "lib/cw-out.c"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"130817863030890983118293296577638000062",
"274140575119242962993643831035280188434",
"5841000899797701248683675423466086736",
"258286239204315396966363537849735098229",
"103146799315916396288288599903965856533",
"111949090213710644811275320467051447277",
"300345411605006602316296185193936705877"
],
"threshold": 0.9
},
"id": "CURL-CVE-2026-92388-638f98b3",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/curl/curl.git/commit/ba8f8a7f27a5c5e19e4ef212b90b35a93559163e",
"target": {
"file": "lib/ftp-int.h"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"79512658832897824693821628832367898633",
"157747559540249585786259191057782044418",
"272747727497140786403123478759168137600"
],
"threshold": 0.9
},
"id": "CURL-CVE-2026-92388-94de10bd",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/curl/curl.git/commit/ba8f8a7f27a5c5e19e4ef212b90b35a93559163e",
"target": {
"file": "lib/ftplistparser.c"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "267106453770063182066636679835557640",
"length": 1639
},
"id": "CURL-CVE-2026-92388-c1b74874",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/curl/curl.git/commit/ba8f8a7f27a5c5e19e4ef212b90b35a93559163e",
"target": {
"file": "lib/ftp.c",
"function": "init_wc_data"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"329684666632550105705617958310312955708",
"256551381214279993971512015697635146721",
"19211126177995515624582079239923789260",
"291283242837785715977183739621750759514",
"26612390542160893402792408707125809158",
"4050957483259296026291694455142709245"
],
"threshold": 0.9
},
"id": "CURL-CVE-2026-92388-c2a28f8a",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/curl/curl.git/commit/ba8f8a7f27a5c5e19e4ef212b90b35a93559163e",
"target": {
"file": "lib/ftplistparser.h"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "41863799115737491445661384955522584312",
"length": 3010
},
"id": "CURL-CVE-2026-92388-d137e3bd",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/curl/curl.git/commit/ba8f8a7f27a5c5e19e4ef212b90b35a93559163e",
"target": {
"file": "lib/ftp.c",
"function": "wc_statemach"
}
}
]
"2026-10-14T07:04:24Z"