SecurityContext

CVE-2025-54487: The Biosig Project libbiosig - Buffer Overflow

  • Cve: CVE-2025-54487
  • Name: The Biosig Project libbiosig - Buffer Overflow
  • 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 8842 of biosig.c on the current master branch (35a819fa), when the Tag is 12: else if (tag==12) //0x0C { // sampling resolution if (len>6) fprintf(stderr,"Warning MFER tag12 incorrect length %i>6\n",len); val32 = 0; int8_t v8; curPos += ifread(&UnitCode,1,1,hdr); curPos += ifread(&v8,1,1,hdr); curPos += ifread(buf,1,len-2,hdr); In addition to values of `len` greater than 130 triggering a buffer overflow, a value of `len` smaller than 2 will also trigger a buffer overflow due to an integer underflow when computing `len-2` in this code path.
  • Impact: Attackers can execute arbitrary code by supplying a crafted MFER file, potentially leading to full system compromise.
  • Remediation: Update to the latest version with proper input validation and buffer handling.
  • Vulnerability type: buffer_overflow
  • Vulnerability impact: remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.00736
  • Epss percentile: 0.5521
  • Assignee: [email protected]
  • Published at: 2025-08-25T14:15:34Z
  • Age in days: 456
  • Modified at: 2026-06-17T09:40:11Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 2
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-54487
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-121Stack-based Buffer Overflow

Public exploits

UrlSourceAdded date
https://talosintelligence.com/vulnerability_reports/TALOS-2025-2234nvd2025-08-25

References

UrlSourceTags
https://talosintelligence.com/vulnerability_reports/TALOS-2025-2234nvdExploit, Third Party Advisory
https://www.talosintelligence.com/vulnerability_reports/TALOS-2025-2234nvd

Products

ProductAffectedPlatform boundSourcesUrl
libbiosig_project:libbiosig< 3.9.1nonvd/v1/products/libbiosig_project/libbiosig

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2025-08-25
  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts