CURL-CVE-2025-0665

Source
https://curl.se/docs/CVE-2025-0665.html
Import Source
https://curl.se/docs/CURL-CVE-2025-0665.json
JSON Data
https://api.osv.dev/v1/vulns/CURL-CVE-2025-0665
Aliases
Published
2025-02-05T08:00:00Z
Modified
2025-05-15T17:48:29Z
Summary
eventfd double close
Details

libcurl would wrongly close the same eventfd file descriptor twice when taking down a connection channel after having completed a threaded name resolve.

Database specific
{
    "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"
}
References
Credits
    • Christian Heusel - FINDER
    • Andy Pan - REMEDIATION_DEVELOPER

Affected packages

Git / github.com/curl/curl.git

Affected ranges

Type
SEMVER
Events
Introduced
8.11.1
Fixed
8.12.0
Type
GIT
Repo
https://github.com/curl/curl.git
Events

Affected versions

8.*

8.11.1

Database specific

vanir_signatures

[
    {
        "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"
    }
]