CWE-910
Use of Expired File Descriptor
AI Translation Available
The product uses or accesses a file descriptor after it has been closed.
Status
incomplete
Abstraction
base
Likelihood
medium
Affected Platforms
C
C++
Not Language-Specific
Extended Description
AI Translation
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.
Technical Details
AI Translation
Common Consequences
confidentiality
availability
Impacts
read files or directories
dos: crash, exit, or restart
Detection Methods
automated static analysis