CVE-2025-54493CWE-121

A stack-based buffer overflow vulnerability exists in the MFER parsing functionality of The Biosig Project libbiosig 3.9.0 and Master Branch (35a819fa)

Critical · published August 25, 2025

CVSS v3.1
9.8
EPSS
1%
Percentile
51.9
In the wild
Unconfirmed
What it is

🚨 A single crafted MFER file can lead to arbitrary code execution within the Biosig Project, making this vulnerability a critical threat! 🔥 Think of it like a restaurant where someone slips a poisoned dish into the menu. The chef trusts all orders, but one wrong recipe could make everyone sick, and that dish is still on the table! An attacker could exploit this buffer overflow to execute any code they choose, potentially taking full control of the system. This means they could access sensitive data, manipulate processes, or even disrupt operations entirely – a catastrophic scenario for any organization relying on this library.

Put simply

Think of it like a restaurant where someone slips a poisoned dish into the menu. The chef trusts all orders, but one wrong recipe could make everyone sick, and that dish is still on the table! This stack-based buffer overflow in the MFER parsing functionality allows an attacker to manipulate file input sizes, leading to execution of arbitrary code. The vulnerability lies specifically in the handling of MFER tag 131 in the code at biosig.c, line 9184.

What to do

An attacker could exploit this buffer overflow to execute any code they choose, potentially taking full control of the system. This means they could access sensitive data, manipulate processes, or even disrupt operations entirely – a catastrophic scenario for any organization relying on this library. To protect against this threat, urgently patch to version 3.9.1 or later of libbiosig. Additionally, ensure that rigorous input validation checks are enforced to prevent unexpected input lengths from triggering this vulnerability. Monitor for any unusual file activity as a precaution. You've got this! Implement these changes, and you'll be an internet security hero in no time! 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00682 · 51.9th percentile
Weakness
CWE-121 · Stack-based Buffer Overflow
Published
2025-08-25T13:53Z
EPSS history
Timeline
  • 25 AUG 13:53Z
    A stack-based buffer overflow vulnerability exists in the MFER parsing functionality of The Biosig Project libbiosig 3.9.0 and Master Branch (35a819fa)
    cvelistv5