CVE-2025-54485: The Biosig Project libbiosig · Stack-based Buffer Overflow
Affects The Biosig Project libbiosigSource CVE Database V5
Not known to be exploited · CVSS 9.8 Critical.
Data as of 26 Oct 2026, 06:26 UTC
- EPSS
- 0.6% chance of exploitation in 30 days – higher than 52% 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:HExploitation evidence
Disclosed: evidence found.
CVE published 25 Aug 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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-26.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| The Biosig Project libbiosig | Affected
| Fixed in– |
AI-suggested
1. Monitor The Biosig Project repositories and security advisories closely for official patches addressing CVE-2025-54485 and apply them immediately upon release. 2. Until patches are available, implement strict input validation and sanitization on all MFER files before processing to detect and reject malformed or suspicious files, especially those with tag 8 length fields exceeding expected values. 3. Employ sandboxing or containerization techniques to isolate the libbiosig processing environment, limiting the impact of potential exploitation. 4. Restrict access to systems processing MFER files to trusted sources and networks, reducing exposure to malicious inputs. 5. Conduct code audits and static analysis on any custom or third-party software integrating libbiosig to identify and remediate unsafe usage patterns. 6. Enhance monitoring and logging around file ingestion points to detect anomalous activity or crashes indicative of exploitation attempts. 7. Educate staff handling biomedical data about the risks of processing untrusted files and enforce strict operational security policies. 8. Consider alternative libraries or tools with no known vulnerabilities for MFER parsing if immediate patching is not feasible.
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 8785 of biosig.c on the current master branch (35a819fa), when the Tag is 8: else if (tag==8) { if (len>2) fprintf(stderr,"Warning MFER tag8 incorrect length %i>2\n",len); curPos += ifread(buf,1,len,hdr);