cve.bz

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

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. 5.5CVE-2020-21686nasm netwide assemblerEPSS 0.4%

    A stack-use-after-scope issue discovered in expand_mmac_params function in preproc.c in nasm before 2.15.04 allows remote attackers to cause a denial of service via crafted asm file.