Stack-based Buffer Overflow Affecting biosig package, versions <3.9.5-1


Severity

Recommended
0.0
critical
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.71% (50th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIANUNSTABLE-BIOSIG-12194914
  • published26 Aug 2025
  • disclosed25 Aug 2025

Introduced: 25 Aug 2025

CVE-2025-54480  (opens in a new tab)
CWE-121  (opens in a new tab)

How to fix?

Upgrade Debian:unstable biosig to version 3.9.5-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream biosig package and not the biosig package as distributed by Debian. See How to fix? for Debian:unstable relevant fixed versions and status.

A stack-based buffer overflow vulnerability exists in the MFER parsing functionality of The Biosig Project libbiosig 3.9.0 and Master Branch (35a819fa). A specially crafted MFER file can lead to arbitrary code execution. An attacker can provide a malicious file to trigger this vulnerability.This vulnerability manifests on line 8719 of biosig.c on the current master branch (35a819fa), when the Tag is 0:

            if (tag==0) {
                if (len!=1) fprintf(stderr,&#34;Warning MFER tag0 incorrect length %i!=1\n&#34;,len);
                curPos += ifread(buf,1,len,hdr);
            }

CVSS Base Scores

version 3.1