CVE-2025-54489
CVE-2025-54489 is a critical-severity vulnerability in Libbiosig Project Libbiosig with a CVSS 3.x base score of 9.8. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-121.
Key facts
- Severity: Critical (CVSS 3.x base score 9.8)
- EPSS exploit prediction: 1% (47th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2025-25674
- Weakness: CWE-121
- Affected product: Libbiosig Project Libbiosig
- Published:
- Last modified:
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 8970 of biosig.c on the current master branch (35a819fa), when the Tag is 63: else if (tag==63) { uint8_t tag2=255, len2=255; count = 0; while ((count<len) && !(FlagInfiniteLength && len2==0 && tag2==0)){ curPos += ifread(&tag2,1,1,hdr); curPos += ifread(&len2,1,1,hdr); if (VERBOSE_LEVEL==9) fprintf(stdout,"MFER: tag=%3i chan=%2i len=%-4i tag2=%3i len2=%3i curPos=%i %li count=%4i\n",tag,chan,len,tag2,len2,curPos,iftell(hdr),(int)count); if (FlagInfiniteLength && len2==0 && tag2==0) break; count += (2+len2); curPos += ifread(&buf,1,len2,hdr); Here, the number of bytes read is not the Data Length decoded from the current frame in the file (`len`) but rather is a new length contained in a single octet read from the same input file (`len2`). Despite this, a stack-based buffer overflow condition can still occur, as the destination buffer is still `buf`, which has a size of only 128 bytes, while `len2` can be as large as 255.
Frequently asked questions
- What is CVE-2025-54489?
- 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 8970 of biosig.c on the current master branch (35a819fa), when the Tag is 63: else if (tag==63) { uint8_t tag2=255, len2=255; count = 0; while ((count<len) && !(FlagInfiniteLength && len2==0 && tag2==0)){ curPos += ifread(&tag2,1,1,hdr); curPos += ifread(&len2,1,1,hdr); if (VERBOSE_LEVEL==9) fprintf(stdout,"MFER: tag=%3i chan=%2i len=%-4i tag2=%3i len2=%3i curPos=%i %li count=%4i\n",tag,chan,len,tag2,len2,curPos,iftell(hdr),(int)count); if (FlagInfiniteLength && len2==0 && tag2==0) break; count += (2+len2); curPos += ifread(&buf,1,len2,hdr); Here, the number of bytes read is not the Data Length decoded from the current frame in the file (`len`) but rather is a new length contained in a single octet read from the same input file (`len2`). Despite this, a stack-based buffer overflow condition can still occur, as the destination buffer is still `buf`, which has a size of only 128 bytes, while `len2` can be as large as 255.
- How severe is CVE-2025-54489?
- CVE-2025-54489 has a CVSS 3.x base score of 9.8, rated critical severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2025-54489 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (47th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2025-54489?
- CVE-2025-54489 affects Libbiosig Project Libbiosig. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2025-54489?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its critical severity, prioritise patching exposed systems.
- Does CVE-2025-54489 have an EU (EUVD) identifier?
- Yes. CVE-2025-54489 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-25674.
- When was CVE-2025-54489 published?
- CVE-2025-54489 was published on 2025-08-25 and last updated on 2026-06-17.
References
- https://talosintelligence.com/vulnerability_reports/TALOS-2025-2234
- https://www.talosintelligence.com/vulnerability_reports/TALOS-2025-2234
Affected products (1)
- cpe:2.3:a:libbiosig_project:libbiosig:*:*:*:*:*:*:*:*
More vulnerabilities in Libbiosig Project Libbiosig
- CVE-2026-22891 — Critical (CVSS 9.8): A heap-based buffer overflow vulnerability exists in the Intan CLP parsing functionality of The Biosig Project…
- CVE-2025-66048 — Critical (CVSS 9.8): Several stack-based buffer overflow vulnerabilities exists in the MFER parsing functionality of The Biosig Project…
- CVE-2025-66047 — Critical (CVSS 9.8): Several stack-based buffer overflow vulnerabilities exists in the MFER parsing functionality of The Biosig Project…
- CVE-2025-66046 — Critical (CVSS 9.8): Several stack-based buffer overflow vulnerabilities exists in the MFER parsing functionality of The Biosig Project…
- CVE-2025-66045 — Critical (CVSS 9.8): Several stack-based buffer overflow vulnerabilities exists in the MFER parsing functionality of The Biosig Project…
- CVE-2025-66044 — Critical (CVSS 9.8): Several stack-based buffer overflow vulnerabilities exists in the MFER parsing functionality of The Biosig Project…
All CVEs affecting Libbiosig Project Libbiosig →
Other CWE-121 (Stack-based Buffer Overflow) vulnerabilities
- CVE-2026-12848 — Critical (CVSS 10.0): GV-I/O Box 4E is a smart embedded device with 4 input and 4 relays output that can be controlled over Ethernet and…
- CVE-2026-12847 — Critical (CVSS 10.0): GV-I/O Box 4E is a smart embedded device with 4 input and 4 relays output that can be controlled over Ethernet and…
- CVE-2026-12846 — Critical (CVSS 10.0): GV-I/O Box 4E is a smart embedded device with 4 input and 4 relays output that can be controlled over Ethernet and…
- CVE-2026-12485 — Critical (CVSS 10.0): GV-I/O Box 4E is a smart embedded device with 4 input and 4 relays output that can be controlled over Ethernet and…
- CVE-2026-37541 — Critical (CVSS 10.0): Buffer overflow vulnerability in Open Vehicle Monitoring System 3 (OVMS3) 3.3.005. In canformat_gvret.cpp, the length…
- CVE-2026-42996 — Critical (CVSS 10.0): JS8Call through 2.3.1 and JS8Call-improved before 3.0 have a stack-based buffer overflow via a radio transmission of…
Browse all CWE-121 (Stack-based Buffer Overflow) vulnerabilities →