Stack-based Buffer Overflow Affecting direwolf package, versions <1.8.1+dfsg-2


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.51% (43rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN14-DIREWOLF-14559946
  • published24 Dec 2025
  • disclosed22 Dec 2025

Introduced: 22 Dec 2025

CVE-2025-34457  (opens in a new tab)
CWE-121  (opens in a new tab)

How to fix?

Upgrade Debian:14 direwolf to version 1.8.1+dfsg-2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream direwolf package and not the direwolf package as distributed by Debian. See How to fix? for Debian:14 relevant fixed versions and status.

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.