CWE-590: Free of Memory not on the Heap, published in 2021
Filter
The product calls free() on a pointer to memory that was not allocated using associated heap allocation functions such as malloc(), calloc(), or realloc().
What the weakness is: CWE-590 at MITRE. All weaknesses
Ask an AI about CWE-590
Show the prompt
Explain CWE-590: Free of Memory not on the Heap and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/590.html and https://cve.bz/cve/cwe/590?via=ask-ai-copy for recent CVEs with this weakness. Cite the sources.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this weakness's id and public links.
By year: all 2026 2025 2024 2023 2022 2021
- 7.8CVE-2021-3939canonicalEPSS 0.4%
Ubuntu-specific modifications to accountsservice (in patch file debian/patches/0010-set-language.patch) caused the fallback_locale variable, pointing to static storage, to be freed, in the user_change_language_authorized_cb function. This …
- 9.8CVE-2021-42377EPSS 3.6%
An attacker-controlled pointer free in Busybox's hush applet leads to denial of service and possible code execution when processing a crafted shell command, due to the shell mishandling the &&& string. This may be used for remote code exec…
- 6.3CVE-2021-39218EPSS 0.3%
Wasmtime is an open source runtime for WebAssembly & WASI. In Wasmtime from version 0.26.0 and before version 0.30.0 is affected by a memory unsoundness vulnerability. There was an invalid free and out-of-bounds read and write bug when run…