CWE-562: Return of Stack Variable Address, published in 2026
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 prompt
Explain 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
- 6.4CVE-2026-102959zephyrproject zephyrEPSS 0.3%
The Grow R502-A fingerprint sensor driver (drivers/sensor/grow_r502a/grow_r502a.c) points drv_data->rx_buf.data at an rx_packet buffer on the caller's stack and enables the UART RX interrupt before waiting 1500 ms for a reply. When the wai…
- 7.5CVE-2026-52790bacnet-stackEPSS 0.5%
BACnet Stack is a BACnet open source protocol stack C library for embedded systems. Prior to versions 1.4.5, 1.5.1, and 1.6.0, there is a library-level memory safety issue that is reachable from an unmodified official sample server (apps/s…
- 5.3CVE-2026-26399EPSS 0.1%
A stack-use-after-return issue exists in the Arduino_Core_STM32 library prior to version 1.7.0. The pwm_start() function allocates a TIM_HandleTypeDef structure on the stack and passes its address to HAL initialization routines, where it i…
- 4.0CVE-2026-34553color iccdevEPSS 0.2%
iccDEV provides a set of libraries and tools for working with ICC color management profiles. Prior to version 2.3.1.6, there is a defect in LUT dump/iteration logic affecting CIccCLUT::Iterate() and output produced by CIccMBB::Describe() (…
- 5.4CVE-2026-3591isc bindEPSS 0.4%
A use-after-return vulnerability exists in the `named` server when handling DNS queries signed with SIG(0). Using a specially-crafted DNS request, an attacker may be able to cause an ACL to improperly (mis)match an IP address. In a default…