CVE-2018-7249

HIGH

Microsoft Windows Vista, 7, 8, 8.1 - Use-After-Free via secdrv.sys IOCTL Race Condition

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2018-7249. PoCs published by alonhr.

AI-analyzed exploit summary This is a working exploit for CVE-2018-7249, a use-after-free vulnerability in the secdrv.sys driver. The PoC leverages a race condition to achieve local privilege escalation by spraying and manipulating paged pool allocations to execute shellcode in kernel mode.

Description

An issue was discovered in secdrv.sys as shipped in Microsoft Windows Vista, Windows 7, Windows 8, and Windows 8.1 before KB3086255, and as shipped in Macrovision SafeDisc. Two carefully timed calls to IOCTL 0xCA002813 can cause a race condition that leads to a use-after-free. When exploited, an unprivileged attacker can run arbitrary code in the kernel.

Exploits (1)

nomisec WORKING POC 15 stars
by alonhr · poc
https://github.com/alonhr/NotSecDrv

This is a working exploit for CVE-2018-7249, a use-after-free vulnerability in the secdrv.sys driver. The PoC leverages a race condition to achieve local privilege escalation by spraying and manipulating paged pool allocations to execute shellcode in kernel mode.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Complex
Reliability
Racy
Target: Microsoft Windows secdrv.sys driver (versions prior to the patch for CVE-2018-7249)
No auth needed
Prerequisites: Local access to the target system · Presence of the vulnerable secdrv.sys driver
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (1)

Core 1
Core References

Scores

CVSS v3 7.0
EPSS 0.0152
EPSS Percentile 71.3%
Attack Vector LOCAL
CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-362 CWE-416
Status published
Products (5)
microsoft/windows_7
microsoft/windows_8
microsoft/windows_8.1
microsoft/windows_vista
tivo/safedisc
Published Feb 26, 2018
Tracked Since Feb 18, 2026