---
title: "CWE-782: Exposed IOCTL with Insufficient Access Control"
url: https://radicalnotion.ai/cwe/cwe-782
type: cwe
description: "The product implements an IOCTL with functionality that should be restricted, but it does not properly enforce access control for the IOCTL."
updated: 2026-11-10
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# CWE-782: Exposed IOCTL with Insufficient Access Control

- **Abstraction:** Variant
- **Structure:** Simple
- **Status:** Draft
- **CVEs with this as primary weakness:** 55
- **Of those, in CISA KEV:** 1
- **New in 2026:** 27
- **CWE catalog version:** 4.21

## Description

The product implements an IOCTL with functionality that should be restricted, but it does not properly enforce access control for the IOCTL.

When an IOCTL contains privileged functionality and is exposed unnecessarily, attackers may be able to access this functionality by invoking the IOCTL. Even if the functionality is benign, if the programmer has assumed that the IOCTL would only be accessed by a trusted process, there may be little or no validation of the incoming data, exposing weaknesses that would never be reachable if the attacker cannot call the IOCTL directly.

The implementations of IOCTLs will differ between operating system types and versions, so the methods of attack and prevention may vary widely.

## Modes of introduction

| Phase | Note |
| --- | --- |
| Architecture and Design | - |
| Implementation | REALIZATION: This weakness is caused during implementation of an architectural security tactic. |

## Applicable platforms

**Languages:** C (Often), C++ (Often)

**Operating systems:** Unix (Undetermined), Windows (Undetermined)

## Common consequences

| Scope | Impact | Note |
| --- | --- | --- |
| Integrity, Availability, Confidentiality | Varies by Context | Attackers can invoke any functionality that the IOCTL offers. Depending on the functionality, the consequences may include code execution, denial-of-service, and theft of data. |

## Potential mitigations

### Architecture and Design

In Windows environments, use proper access control for the associated device or device namespace. See References.

## Observed examples

| CVE | Description |
| --- | --- |
| CVE-2009-2208 | Operating system does not enforce permissions on an IOCTL that can be used to modify network settings. |
| CVE-2008-3831 | Device driver does not restrict ioctl calls to its direct rendering manager. |
| CVE-2008-3525 | ioctl does not check for a required capability before processing certain requests. |
| CVE-2008-0322 | Chain: insecure device permissions allows access to an IOCTL, allowing arbitrary memory to be overwritten. |
| CVE-2007-4277 | Chain: anti-virus product uses weak permissions for a device, leading to resultant buffer overflow in an exposed IOCTL. |
| CVE-2007-1400 | Chain: sandbox allows opening of a TTY device, enabling shell commands through an exposed ioctl. |
| CVE-2006-4926 | Anti-virus product uses insecure security descriptor for a device driver, allowing access to a privileged IOCTL. |
| CVE-1999-0728 | Unauthorized user can disable keyboard or mouse by directly invoking a privileged IOCTL. |

## Real CVEs with this weakness (sample of 12 of 55)

| CVE | Title | Severity | CVSS | EPSS | CISA KEV | Published |
| --- | --- | --- | --- | --- | --- | --- |
| CVE-2021-21551 | Dell dbutil Driver Insufficient Access Control Vulnerability | critical | 9.3 | - | Yes | 2021-05-04 |
| CVE-2024-39251 | - | critical | 10.0 | - | No | 2024-07-01 |
| CVE-2024-4196 | Avaya IP Office Web Control RCE Vulnerability | critical | 10.0 | - | No | 2024-06-25 |
| CVE-2024-32370 | - | critical | 9.8 | - | No | 2024-05-07 |
| CVE-2024-30804 | - | critical | 9.8 | - | No | 2024-04-26 |
| CVE-2026-129261 | Kingston FURY CTRL RGB Control Software IOCTL NTIOLib\_X64.sys exposed ioctl with insufficient access control | critical | 9.3 | - | No | 2026-11-14 |
| CVE-2024-33220 | - | high | 8.8 | - | No | 2024-05-22 |
| CVE-2021-21789 | IOBit Advanced SystemCare ultimate privileged I/O write vulnerabilities | high | 8.8 | - | No | 2021-07-07 |
| CVE-2021-21788 | IOBit Advanced SystemCare ultimate privileged I/O write vulnerabilities | high | 8.8 | - | No | 2021-07-07 |
| CVE-2021-21787 | IOBit Advanced SystemCare ultimate privileged I/O write vulnerabilities | high | 8.8 | - | No | 2021-07-07 |
| CVE-2026-84408 | Improper access control on a named pipe in QND | high | 8.7 | - | No | 2026-09-16 |
| CVE-2025-7771 | Code Execution / Escalation of Privileges in ThrottleStop | high | 8.7 | - | No | 2025-08-06 |

## Related weaknesses

| Relationship | CWE | Name |
| --- | --- | --- |
| Parent | [CWE-749](https://radicalnotion.ai/cwe/cwe-749) | Exposed Dangerous Method or Function |
| Can precede | [CWE-781](https://radicalnotion.ai/cwe/cwe-781) | Improper Address Validation in IOCTL with METHOD\_NEITHER I/O Control Code |

## Frequently asked questions

### What is CWE-782?

The product implements an IOCTL with functionality that should be restricted, but it does not properly enforce access control for the IOCTL.

### What CVEs are caused by CWE-782?

55 recorded CVEs are attributed to CWE-782, including CVE-2021-21551, CVE-2024-39251 and CVE-2024-4196. 1 is listed in CISA's Known Exploited Vulnerabilities (KEV) catalog.

### How do you prevent CWE-782?

In Windows environments, use proper access control for the associated device or device namespace. See References.

### What are the consequences of CWE-782?

Exploiting CWE-782 can lead to: Varies by Context.

### Is CWE-782 actively exploited?

Yes. 1 CWE-782 vulnerability is in CISA's KEV catalog of actively exploited flaws, out of 55 recorded CVEs.

Primary source: [MITRE CWE](https://cwe.mitre.org/data/definitions/782.html)

---

Source: [RadicalNotion.AI](https://radicalnotion.ai/cwe/cwe-782). Licensed CC BY-NC 4.0; attribute RadicalNotion.AI and link the source page when you reuse this data.
