CWE-911
Improper Update of Reference Count
Description
The product uses a reference count to manage a resource, but it does not update or incorrectly updates the reference count.
Consequences
Availability
—
DoS: Resource Consumption (Memory), DoS: Resource Consumption (Other)
If an adversary can prevent a reference count from reaching zero, then resources might not be released when they are supposed to, thus causing resources to become scarce for future needs.
Availability
—
DoS: Crash, Exit, or Restart
If an adversary can cause a reference count to reach zero when the resource is still in use, then a resource might be released before it is supposed to be, possibly forcing an error that causes the product to crash or exit out of its current operation.