Bug 2424513 (CVE-2025-34457)

Summary: CVE-2025-34457 github.com/wb2osz/direwolf: Dire Wolf: Denial of Service due to stack-based buffer overflow in KISS frame processing
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedKeywords: Security
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in Dire Wolf. A remote unauthenticated attacker could exploit a stack-based buffer overflow vulnerability in the `kiss_rec_byte()` function when processing specially crafted KISS (KISS is a protocol for transmitting AX.25 frames over a serial link) frames that exceed the maximum allowed length. This leads to an out-of-bounds write and read, causing stack memory corruption or application crashes, ultimately resulting in a Denial of Service (DoS) condition.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2424539, 2424540    
Bug Blocks:    

Description OSIDB Bzimport 2025-12-22 22:04:20 UTC
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.