CVE-2025-54483CWE-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 stack-based buffer overflow in the MFER parsing of libbiosig could let attackers execute any code they want, simply by feeding in a crafted file! 🔥 Think of this like a restaurant chef who accepts any recipe without reading it — if someone hands over a faulty recipe, they could end up cooking something completely disastrous! An attacker could exploit this flaw by using a malicious MFER file, allowing them to execute arbitrary code on the server. This means they could take control, steal sensitive information, or wreak havoc on your systems — absolutely devastating!

Put simply

Think of this like a restaurant chef who accepts any recipe without reading it — if someone hands over a faulty recipe, they could end up cooking something completely disastrous! This vulnerability arises from improper handling of the MFER file length, specifically at line 8759 of biosig.c in libbiosig 3.9.0. When the Tag is set to 5, a maliciously constructed file can trigger the buffer overflow, leading to arbitrary code execution.

What to do

An attacker could exploit this flaw by using a malicious MFER file, allowing them to execute arbitrary code on the server. This means they could take control, steal sensitive information, or wreak havoc on your systems — absolutely devastating! Patch to the latest version of libbiosig immediately to eliminate this vulnerability. Additionally, validate MFER file lengths before processing to ensure safety. It's essential to review the input handling practices in your codebase as well! You've got this! With quick action, you can protect your systems and keep everything running smoothly. 🛡️

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