Stack-Based Buffer Overflow in Biosig Project's MFER Parsing Functionality
CVE-2025-54489
9.8CRITICAL
What is CVE-2025-54489?
A stack-based buffer overflow vulnerability exists in the MFER parsing functionality of the libbiosig library. This issue arises due to improper handling of length values from MFER files. An attacker can exploit this vulnerability by providing a specially crafted MFER file that causes arbitrary code execution. The overflow occurs because the buffer size is fixed at 128 bytes, while an attacker can specify a length of up to 255 bytes, leading to potential arbitrary code execution.
Affected Version(s)
libbiosig 3.9.0
libbiosig Master Branch (35a819fa)
References
CVSS V3.1
Score:
9.8
Severity:
CRITICAL
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged
Timeline
Vulnerability published
Vulnerability Reserved
Credit
Discovered by Mark Bereza and Lilith >_> of Cisco Talos.