libcurl would wrongly close the same eventfd file descriptor twice when taking down a connection channel after having completed a threaded name resolve.
{
"issue": "https://hackerone.com/reports/2954286",
"CWE": {
"desc": "Multiple Releases of Same Resource or Handle",
"id": "CWE-1341"
},
"award": {
"currency": "USD",
"amount": "505"
},
"affects": "both",
"www": "https://curl.se/docs/CVE-2025-0665.html",
"last_affected": "8.11.1",
"severity": "Low",
"URL": "https://curl.se/docs/CVE-2025-0665.json",
"package": "curl"
}[
{
"signature_type": "Function",
"digest": {
"function_hash": "330746453560057327595202474110269703424",
"length": 386.0
},
"target": {
"file": "lib/asyn-thread.c",
"function": "destroy_thread_sync_data"
},
"signature_version": "v1",
"id": "CURL-CVE-2025-0665-8a1d0519",
"deprecated": false,
"source": "https://github.com/curl/curl.git/commit/ff5091aa9f73802e894b1cbdf24ab84e103200e2"
},
{
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"332922935470749792573867805379503604001",
"270402022324605171628271509787427407970",
"325748360549732944034300747162180532004",
"82281272682367692068585845682578917187",
"198747049406871451145987131241229838375",
"294513380310706942675812105694619897334"
]
},
"target": {
"file": "lib/asyn-thread.c"
},
"signature_version": "v1",
"id": "CURL-CVE-2025-0665-f8e1c049",
"deprecated": false,
"source": "https://github.com/curl/curl.git/commit/ff5091aa9f73802e894b1cbdf24ab84e103200e2"
}
]