CVE-2025-34457
JSON

8.7high

wb2osz/direwolf <= 1.8.1 Stack-based Buffer Overflow DoS

Severity
8.7high CVSS:4.0 by VulnCheck
Exploit likelihood
0.62% (higher than 51% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck

Description

wb2osz/direwolf (Dire Wolf) versions up to and including 1.8.1, 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.

Affected

Product or packageVersionsReported by
direwolfup to 1.8.1
Not affected: 694c95485b21c1c22bc4682703771dec4d7a374b
CVE List

Classification

CWE-121

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

wb2osz/direwolf (Dire Wolf) versions up to and including 1.8.1, 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.

NVD (es)

wb2osz/direwolf (Dire Wolf) versiones hasta e incluyendo 1.8, versiones anteriores al commit 694c954, contienen una vulnerabilidad de desbordamiento de búfer basado en pila en la función kiss_rec_byte() ubicada en src/kiss_frame.c. Al procesar tramas KISS manipuladas que alcanzan la longitud máxima de trama permitida (MAX_KISS_LEN), la función añade un byte FEND de terminación sin reservar espacio suficiente en el búfer de pila. Esto resulta en una escritura fuera de límites seguida de una lectura fuera de límites durante la llamada subsiguiente a kiss_unwrap(), lo que lleva a corrupción de memoria de pila o bloqueos de la aplicación. Esta vulnerabilidad puede permitir a atacantes remotos no autenticados desencadenar una condición de denegación de servicio.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-34457 changed 2026-10-29CVE Terms of Use
NVDCVE-2025-34457 changed 2026-10-29Public domain