CVE-2025-34457
wb2osz/direwolf (Dire Wolf) versions up to and including 1.8, prior …
wb2osz/direwolf (Dire Wolf) versions up to and including 1.8, prior to commit 694c954, contain a stack-based buffer overflow vulnerability in the function kiss_rec_byte() located in src/kiss_frame.c. When processing crafted KISS frames that reach the maximum allowed frame length (MAX_KISS_LEN), the function appends a terminating FEND byte without reserving sufficient space in the stack buffer. This results in an out-of-bounds write followed by an out-of-bounds read during the subsequent call to kiss_unwrap(), leading to stack memory corruption or application crashes. This vulnerability may allow remote unauthenticated attackers to trigger a denial-of-service condition.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/marlinkcyber/advisories/blob/main/advisories/MCSAID-2025-010-direwolf-stack-buf
- github.com/wb2osz/direwolf/commit/694c954
- github.com/wb2osz/direwolf/issues/617
- www.vulncheck.com/advisories/wb2osz-direwolf-stack-based-buffer-overflow-dos
- nvd.nist.gov/vuln/detail/CVE-2025-34457
- cve.org/CVERecord?id=CVE-2025-34457
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.