CAPEC-131
Resource Leak Exposure
An adversary utilizes a resource leak on the target to deplete the quantity of the resource available to service legitimate requests.
On this page
Resource leaks most often come in the form of memory leaks where memory is allocated but never released after it has served its purpose, however, theoretically, any other resource that can be reserved can be targeted if the target fails to release the reservation when the reserved resource block is no longer needed.
In this attack, the adversary determines what activity results in leaked resources and then triggers that activity on the target. Since some leaks may be small, this may require a large number of requests by the adversary. However, this attack differs from a flooding attack in that the rate of requests is generally not significant. This is because the lost resources due to the leak accumulate until the target is reset, usually by restarting it. Thus, a resource-poor adversary who would be unable to flood the target can still utilize this attack.
Resource depletion through leak differs from resource depletion through allocation in that, in the former, the adversary may not be able to control the size of each leaked allocation, but instead allows the leak to accumulate until it is large enough to affect the target's performance. When depleting resources through allocation, the allocated resource may eventually be released by the target so the attack relies on making sure that the allocation size itself is prohibitive of normal operations by the target.
Ask an AI about this attack pattern
Show the prompt
Explain the attack pattern CAPEC-131: Resource Leak Exposure: how it unfolds, what it needs and how to prevent and detect it in my systems. Use https://capec.mitre.org/data/definitions/131.html and https://cve.bz/cve/capec/131?via=ask-ai-copy, which lists recent CVEs with the weaknesses it exploits. Cite the sources.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this attack pattern's id and public links.
Prerequisites
The target must have a resource leak that the adversary can repeatedly trigger.
Resources required
None: No specialized resources are required to execute this type of attack.
Consequences
| Impact | Affects | Note |
|---|---|---|
| Unreliable Execution, Resource Consumption | Availability | A successful resource leak exposure attack compromises the availability of the target system's services. |
Mitigations
If possible, leverage coding language(s) that do not allow this weakness to occur (e.g., Java, Ruby, and Python all perform automatic garbage collection that releases memory for objects that have been deallocated).
Memory should always be allocated/freed using matching functions (e.g., malloc/free, new/delete, etc.)
Implement best practices with respect to memory management, including the freeing of all allocated resources at all exit points and ensuring consistency with how and where memory is freed in a function.
Weaknesses it exploits
- CWE-404 Improper Resource Shutdown or Release
Recent CVEs with these weaknesses
- 8.7CVE-2026-140129
A vulnerability was detected in Tenda CP3 31.1.9.91. The impacted element is an unknown function of the component RTSP Service. The manipulation results in resource consumption. The attack may be performed from remote. The exploit is now p…
- 5.5CVE-2026-140043
A vulnerability was found in frangoteam FUXA up to 1.3.5. This impacts the function updateDeviceValues of the file server/runtime/index.js of the component Socket.IO Runtime. The manipulation results in denial of service. The attack may be…
- 5.5CVE-2026-138432
A flaw has been found in Zylon PrivateGPT up to 0.6.2. This affects the function ingest_bin_data of the file private_gpt/server/ingest/ingest_service.py of the component Ingest API. This manipulation of the argument File causes resource co…
- 5.5CVE-2026-138363
A flaw has been found in Open5GS 2.8.0. The affected element is the function pcf_metrics_inst_by_slice_add of the file src/pcf/metrics.c of the component PCF. This manipulation of the argument allowedSnssais causes resource consumption. Re…
- 0.9CVE-2026-138212
A security flaw has been discovered in CCExtractor up to 0.96.6. This impacts the function sei_message of the file src/lib_ccx/avc_functions.c of the component lib_ccx. The manipulation results in null pointer dereference. Attacking locall…
- 2.1CVE-2026-138209
A vulnerability was found in BBC bmx up to 1.7. The affected element is the function GetReferencedPackage of the file src/mxf_reader/MXFFileReader.cpp of the component mxf2raw. Performing a manipulation results in uncontrolled recursion. T…
- 5.5CVE-2026-138052
A vulnerability was detected in OpenAirInterface oai-cn5g-amf up to 2.2.2. Impacted is the function amf_sbi::discover_smf of the file src/amf-app/amf_sbi.cpp of the component AMF. The manipulation results in denial of service. The attack c…
- 5.5CVE-2026-138049
A security flaw has been discovered in OpenAirInterface oai-cn5g-nrf up to 2.2.1. This affects the function notify_subscribed_event of the file src/nrf_app/nrf_client.cpp of the component NRF. Performing a manipulation results in null poin…
The newest records naming one of them. Each weakness's page lists them all.
MITRE's words, unchanged: CAPEC-131 at MITRE. CAPEC is Copyright © 2007–2026, The MITRE Corporation, used under the CAPEC terms of use: “The MITRE Corporation (MITRE) hereby grants you a non-exclusive, royalty-free license to use Common Attack Pattern Enumeration and Classification (CAPEC™) for research, development, and commercial purposes. Any copy you make for such purposes is authorized provided that you reproduce MITRE’s copyright designation and this license in any such copy.” CAPEC and the CAPEC logo are trademarks of The MITRE Corporation. Credits. All attack patterns.