{"id":"UBUNTU-CVE-2025-34457","details":"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.","modified":"2026-05-20T16:21:24.181894664Z","published":"2025-12-22T22:16:00Z","upstream":["CVE-2025-34457"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2025-34457"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2025-34457"},{"type":"REPORT","url":"https://github.com/marlinkcyber/advisories/blob/main/advisories/MCSAID-2025-010-direwolf-stack-buffer-overflow-kiss-frame.md"},{"type":"REPORT","url":"https://github.com/wb2osz/direwolf/commit/694c954"},{"type":"REPORT","url":"https://github.com/wb2osz/direwolf/issues/617"},{"type":"REPORT","url":"https://www.vulncheck.com/advisories/wb2osz-direwolf-stack-based-buffer-overflow-dos"}],"affected":[{"package":{"name":"direwolf","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/direwolf?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2-1","1.2-2","1.2-2build1"],"ecosystem_specific":{"binaries":[{"binary_name":"direwolf","binary_version":"1.2-2build1"},{"binary_name":"direwolf-docs","binary_version":"1.2-2build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-34457.json"}},{"package":{"name":"direwolf","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/direwolf?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3-2","1.4+dfsg-1build1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.4+dfsg-1build1","binary_name":"direwolf"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-34457.json"}},{"package":{"name":"direwolf","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/direwolf?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.5+dfsg-2","1.5+dfsg-3","1.5+dfsg-4","1.5+dfsg-4build1","1.5+dfsg-4build2"],"ecosystem_specific":{"binaries":[{"binary_name":"direwolf","binary_version":"1.5+dfsg-4build2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-34457.json"}},{"package":{"name":"direwolf","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/direwolf?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.6+dfsg-1build2","1.6+dfsg-2"],"ecosystem_specific":{"binaries":[{"binary_version":"1.6+dfsg-2","binary_name":"direwolf"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-34457.json"}},{"package":{"name":"direwolf","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/direwolf?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.6+dfsg-4build1","1.7+dfsg-1","1.7+dfsg-2","1.7+dfsg-2build1","1.7+dfsg-2build2"],"ecosystem_specific":{"binaries":[{"binary_name":"direwolf","binary_version":"1.7+dfsg-2build2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-34457.json"}},{"package":{"name":"direwolf","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/direwolf?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.7+dfsg-2build2"],"ecosystem_specific":{"binaries":[{"binary_name":"direwolf","binary_version":"1.7+dfsg-2build2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-34457.json"}},{"package":{"name":"direwolf","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/direwolf?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.7+dfsg-2build2","1.8~beta1+dfsg-1","1.8.1+dfsg-2"],"ecosystem_specific":{"binaries":[{"binary_name":"direwolf","binary_version":"1.8.1+dfsg-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-34457.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"},{"type":"Ubuntu","score":"medium"}]}