Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CWE-911 (引用计数的更新不恰当) — Vulnerability Class 10

10 vulnerabilities classified as CWE-911 (引用计数的更新不恰当). AI Chinese analysis included.

CWE-911 represents a memory management weakness where a software product fails to correctly maintain the reference count for a shared resource, such as memory or file handles. This flaw typically arises when developers increment the count upon acquiring a reference but neglect to decrement it during release, or vice versa. Attackers exploit this inconsistency to trigger memory leaks, causing the application to consume excessive system resources and eventually crash, or to induce premature deallocation leading to use-after-free vulnerabilities that enable arbitrary code execution. To prevent this, developers must rigorously implement symmetric reference counting logic, ensuring every acquisition has a corresponding release. Utilizing automated static analysis tools and adhering to strict coding standards that enforce balanced reference manipulation can significantly mitigate the risk of improper updates and ensure stable resource lifecycle management.

MITRE CWE Description
The product uses a reference count to manage a resource, but it does not update or incorrectly updates the reference count. Reference counts can be used when tracking how many objects contain a reference to a particular resource, such as in memory management or garbage collection. When the reference count reaches zero, the resource can be de-allocated or reused because there are no more objects that use it. If the reference count accidentally reaches zero, then the resource might be released too soon, even though it is still in use. If all objects no longer use the resource, but the reference count is not zero, then the resource might not ever be released.
Common Consequences (2)
AvailabilityDoS: Resource Consumption (Memory), DoS: Resource Consumption (Other)
An adversary that can cause a resource counter to become inaccurate may be able to create situations where resources are not accounted for and not released, thus causing resources to become scarce for future needs.
AvailabilityDoS: Crash, Exit, or Restart
An adversary that can cause a resource counter to become inaccurate may be able to force an error that causes the product to crash or exit out of its current operation.

Vulnerabilities classified as CWE-911 (引用计数的更新不恰当) represent 10 CVEs. The CWE taxonomy describes the weakness; review individual CVEs for product-specific impact.