cve.bz

CWE-562: Return of Stack Variable Address, published in 2024

Filter

A function returns the address of a stack variable.

What the weakness is: CWE-562 at MITRE. All weaknesses

Ask an AI about CWE-562

Show the promptExplain CWE-562: Return of Stack Variable Address and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/562.html and https://cve.bz/cve/cwe/562?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

  1. 7.8CVE-2024-33045qualcommEPSS 0.2%

    Memory corruption when BTFM client sends new messages over Slimbus to ADSP.

  2. 6.2CVE-2024-4418EPSS 0.5%

    A race condition leading to a stack use-after-free flaw was found in libvirt. Due to a bad assumption in the virNetClientIOEventLoop() method, the `data` pointer to a stack-allocated virNetClientIOEventData structure ended up being used in…