CVE-2025-0665: eventfd double close
What the report claims
Potential for attacker control of arbitrary file descriptors via a double close in libcurl 8.11.1, leading to remote code execution or sensitive data leakage.
Compare with curl's recorded outcome
Known vulnerability
A real vulnerability: CVE-2025-0665 eventfd double close
Shown for comparison after analysis. The pipeline did not see this label.
ProveIt's finding
There is not enough information to verify the reported bug.
Why this finding?
- No curl source code was provided for the target revision (7e814c871793, master on 2025-01-22). The curl_source section explicitly states '(no curl code could be retrieved for this report)'.
- All claims depend on examining the eventfd implementation (likely in lib/eventfd.c or similar) to check for double-close bugs and thread-safety guards, but that code is absent.
- Without the code, it is impossible to verify whether a double close exists, whether it is reachable in multi-threaded scenarios, or whether the described race condition is feasible.
What still needs checking
- The eventfd implementation source code (e.g., lib/eventfd.c) from libcurl 8.11.1 or the checked revision 7e814c871793.
- Any fix commits referenced by the reporter ('A fix already exists for this') to understand what was changed.
How this analysis ran 5 claims · 0 citations verified
Checked against curl master on 2025-01-22 (7e814c871793). Test evaluation split. Citation verification checks that a referenced line was in the evidence; it does not prove the model interpreted it correctly.
Review a draft reply to the reporter
Edit and verify before sending.
Thank you for reporting this. We cannot evaluate the claim because the relevant curl source code (eventfd implementation) was not retrieved for the target revision. Please provide a link to the specific file and function you believe contains the double close, or the GitHub issue #15725 if it contains code excerpts. With the code, we can check for missing fd validity checks before close() calls and thread-safety guards.
Inspect all claims and source code 5 claims · 0 code excerpts
Report claims
double close in libcurl 8.11.1
Read the reasoning
No curl source code was provided for the revision checked (7e814c871793). The report mentions 'eventfd' but the relevant files (likely lib/eventfd.c or similar) are not in the provided context, so I cannot verify whether a double close exists.
in multi threaded code
Read the reasoning
The claim that the flaw is 'in multi threaded code' cannot be assessed without seeing the actual eventfd implementation and its thread-safety mechanisms.
three threads, one writing a sensitive file (writer), one listening for outside connections (listener), and one using curl (curl thread)
Read the reasoning
This describes a hypothetical race condition scenario. Without the actual curl code showing how eventfd file descriptors are managed, closed, and protected against reuse, I cannot verify if this sequence is possible.
Potential for attacker control of arbitrary file descriptors, provided a race condition. Potential for remote code execution, or leaking of sensitive information.
Read the reasoning
Impact claims depend on the existence and reachability of the double-close flaw (C1), which cannot be verified without the source code.
Steps To Reproduce: 1. Have three threads... 2. The curl thread uses curl... 3. The writer opens the sensitive file... 4. The curl thread gets to the second close... 5. The listener accepts a connection... 6. The writer begins writing sensitive data to descriptor X
Read the reasoning
Reproduction steps assume the double-close flaw exists. Without the code, I cannot confirm the steps would actually trigger the vulnerability.
Read the original report
Source code
No source code was retrieved for this analysis. The evidence may be incomplete.