Skip to main content
CVE-2025-54481VulnerabilityPublished Updated

CVE-2025-54481: The Biosig Project libbiosig · Stack-based Buffer Overflow

Affects The Biosig Project libbiosigSource CVE Database V5

0

Not known to be exploited · CVSS 9.8 Critical.

Data as of 25 Oct 2026, 19:02 UTC

CVSS 3.1 base score
9.8Critical
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.7% chance of exploitation in 30 days – higher than 53% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 25 Aug 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.

What to do

Affected software

ProductAffectedFixed in
The Biosig Project libbiosigAffected
  • =3.9.0
Fixed in–

AI-suggested

1. Monitor The Biosig Project's official channels for patches addressing CVE-2025-54481 and apply updates promptly once available. 2. Until patches are released, implement strict input validation to reject MFER files with suspiciously large or malformed tags, especially those with tag '3' and length fields exceeding 16 bytes. 3. Employ sandboxing or isolation techniques for applications processing MFER files to contain potential exploitation attempts. 4. Conduct code audits and static analysis on custom integrations of libbiosig to identify and remediate unsafe parsing practices. 5. Restrict network exposure of services that accept MFER files to trusted sources only, and implement file integrity checks and scanning for malicious payloads. 6. Enhance monitoring and logging around biosignal processing systems to detect anomalous behavior indicative of exploitation attempts. 7. Educate developers and system administrators about this vulnerability to ensure rapid response and mitigation in affected environments.

Description

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 8744 of biosig.c on the current master branch (35a819fa), when the Tag is 3: else if (tag==3) { // character code char v[17]; // [1] if (len>16) fprintf(stderr,"Warning MFER tag2 incorrect length %i>16\n",len); curPos += ifread(&v,1,len,hdr); v[len] = 0; In this case, the overflowed buffer is the newly-declared `v` \[1\] instead of `buf`. Since `v` is only 17 bytes large, much smaller values of `len` (even those encoded using a single octet) can trigger an overflow in this code path.

References

Community reviews

Loading reviews…