CWE-832β€”Unlock of a Resource that is not Locked

PUBLISHEDweakness record
released 2010-12-13 Β· last modified 2025-12-11

Metadata

CWE ID:
CWE-832
Abstraction:
Base
Structure:
Simple
Status:
Incomplete
Release Date:
2010-12-13
Latest Modification Date:
2025-12-11

Weakness Name

Unlock of a Resource that is not Locked

Description

The product attempts to unlock a resource that is not locked.

Depending on the locking functionality, an unlock of a non-locked resource might cause memory corruption or other modification to the resource (or its associated metadata that is used for tracking locks).

Common Consequences

Scope:
Integrity, Confidentiality, Availability, Other
Impact:
DoS: Crash, Exit, or Restart, Execute Unauthorized Code or Commands, Modify Memory, Other
Notes:
Depending on the locking being used, an unlock operation might not have any adverse effects. When effects exist, the most common consequence will be a corruption of the state of the product, possibly leading to a crash or exit; depending on the implementation of the unlocking, memory corruption or code execution could occur.

Related Weaknesses