CWE Database
/

CWE-910

Back to CWE list

CWE-910

Use of Expired File Descriptor

Base
Incomplete

Description

The product uses or accesses a file descriptor after it has been closed.

After a file descriptor for a particular file or device has been released, it can be reused. The code might not write to the original file, since the reused file descriptor might reference a different file or device.

Common Consequences

Scope

Confidentiality

Impact

Read Files or Directories

Scope

Availability

Impact

DoS: Crash, Exit, or Restart

Applicable Platforms

C
C++
Not Language-Specific

Security Training

Train your team to recognize and prevent security threats with our comprehensive security awareness program.

Start Training

Vulnerability Scanning

Discover vulnerabilities in your applications and infrastructure before attackers do.

Scan Now