{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2025-68657",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2025-12-22T17:55:15.945Z",
        "datePublished": "2026-01-12T17:26:51.106Z",
        "dateUpdated": "2026-01-12T18:40:25.838Z"
    },
    "containers": {
        "cna": {
            "title": "espressif/usb_host_hid Double-Free Race Condition in USB Host HID Device Close Path",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-415",
                            "lang": "en",
                            "description": "CWE-415: Double Free",
                            "type": "CWE"
                        }
                    ]
                },
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-667",
                            "lang": "en",
                            "description": "CWE-667: Improper Locking",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "attackComplexity": "HIGH",
                        "attackVector": "PHYSICAL",
                        "availabilityImpact": "HIGH",
                        "baseScore": 6.4,
                        "baseSeverity": "MEDIUM",
                        "confidentialityImpact": "HIGH",
                        "integrityImpact": "HIGH",
                        "privilegesRequired": "NONE",
                        "scope": "UNCHANGED",
                        "userInteraction": "NONE",
                        "vectorString": "CVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
                        "version": "3.1"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/espressif/esp-usb/security/advisories/GHSA-gp8r-qjfr-gqfv",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/espressif/esp-usb/security/advisories/GHSA-gp8r-qjfr-gqfv"
                },
                {
                    "name": "https://github.com/espressif/esp-usb/commit/cd28106e9f72ac2719682c06f94601f9f034390b",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/espressif/esp-usb/commit/cd28106e9f72ac2719682c06f94601f9f034390b"
                },
                {
                    "name": "https://components.espressif.com/components/espressif/usb_host_hid/versions/1.1.0/changelog",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://components.espressif.com/components/espressif/usb_host_hid/versions/1.1.0/changelog"
                }
            ],
            "affected": [
                {
                    "vendor": "espressif",
                    "product": "esp-usb",
                    "versions": [
                        {
                            "version": "< 1.1.0",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2026-01-12T17:26:51.106Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "Espressif ESP-IDF USB Host HID (Human Interface Device) Driver allows access to HID devices. Prior to 1.1.0, calls to hid_host_device_close() can free the same usb_transfer_t twice. The USB event callback and user code share the hid_iface_t state without locking, so both can tear down a READY interface simultaneously, corrupting heap metadata inside the ESP USB host stack. This vulnerability is fixed in 1.1.0."
                }
            ],
            "source": {
                "advisory": "GHSA-gp8r-qjfr-gqfv",
                "discovery": "UNKNOWN"
            }
        },
        "adp": [
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2026-01-12T18:40:17.159910Z",
                                "id": "CVE-2025-68657",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "total"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2026-01-12T18:40:25.838Z"
                }
            }
        ]
    }
}