Security Resilience

CWE · MITRE source

CWE-404Improper Resource Shutdown or Release

Abstraction: Class · CVEs in our corpus: 841

The product does not release or incorrectly releases a resource before it is made available for re-use.

When a resource is created or allocated, the developer is responsible for properly releasing the resource as well as accounting for all potential paths of expiration or invalidation, such as a set period of time or revocation.

Last updated: 15 October 2026 07:26 UTC

Control responseHuman-reviewed

Answering this weakness across the control lifecycle, from our framework cross-walks.

Prevent
Stop it (NIST 800-53 / CSF Protect)
  • SC-10 Network Disconnect
  • SC-4 Information in Shared System Resources
  • CP-5 Contingency Plan Update
  • SI-17 Fail-safe Procedures
Detect
Catch it (CSF Detect / Respond)

—

Harden
Shrink the surface (DISA STIG)

—

Validate
Prove the fix (OWASP ASVS)

—

NIST 800-53 r5 controls PROPOSED for this weakness (4)AI-assisted

These are model PROPOSALS, not graded mappings. They come from controls_to_cwe_proposals, which carries no grade field at all; across the CWE pages 1,540 of 1,722 such associations (89%) have never been graded by anything. The heading said “address” until 2026-09-29, which asserted a relationship the data does not carry. Graded cross-walks are on the framework map, not here.

Control Title Family Why it addresses this CWE
SC-10Network DisconnectSCMandates explicit shutdown of the network connection at session conclusion, directly addressing improper resource release.
SC-4Information in Shared System ResourcesSCRequires proper shutdown/release procedures that include overwriting or isolating data to block unintended transfer via reused system objects.
CP-5Contingency Plan UpdateCPContingency plan updates incorporate proper resource shutdown and release steps, preventing attackers from leveraging incomplete cleanup during recovery scenarios.
SI-17Fail-safe ProceduresSIProcedures can mandate orderly shutdown or release of resources when failures occur, preventing improper resource handling after a fault.

Top CVEs of this weakness type, ranked by Risk Priority

CVE Risk CVSS EPSS Published
CVE-2017-6627 KEV 8.57.50.06162017-09-07
CVE-2018-8405 KEV 8.57.80.03442018-08-15
CVE-2018-8406 KEV 8.57.80.03442018-08-15
CVE-2018-8611 KEV 8.57.80.04202018-12-12
CVE-2018-8639 KEV 8.57.80.22182018-12-12
CVE-2018-8120 KEV 7.97.00.73432018-05-09
CVE-2018-8450 7.78.80.16082018-11-14
CVE-2022-44267 7.76.50.76582023-02-06
CVE-2023-24444 7.59.80.01152023-01-26
CVE-2022-25762 7.48.60.08402022-05-13
CVE-2018-8210 7.37.80.25242018-06-14
CVE-2026-418697.09.10.00722026-09-09
CVE-2024-31611 6.99.10.00572024-06-10
CVE-2017-5650 6.77.50.08282017-04-17
CVE-2018-8213 6.77.80.08612018-06-14
CVE-2022-2591 6.77.50.08902022-08-01
CVE-2025-8761 6.77.50.08582025-08-13
CVE-2017-1145 6.68.60.01912017-03-20
CVE-2019-1708 6.68.60.02062019-05-03
CVE-2020-26070 6.68.60.01902020-11-12
CVE-2018-19591 6.57.50.05532018-12-04
CVE-2018-8410 6.47.80.03982018-09-13
CVE-2019-1706 6.48.60.01072019-05-03
CVE-2025-48989 6.47.50.03692025-08-13
CVE-2025-8671 6.47.50.03622025-08-13