CVE-2025-66045
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-12-11

Last updated on: 2025-12-17

Assigner: Talos

Description
Several stack-based buffer overflow vulnerabilities exists in the MFER parsing functionality of The Biosig Project libbiosig 3.9.1. A specially crafted MFER file can lead to arbitrary code execution. An attacker can provide a malicious file to trigger these vulnerabilities.When Tag is 65
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-12-11
Last Modified
2025-12-17
Generated
2026-06-16
AI Q&A
2025-12-11
EPSS Evaluated
2026-06-14
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
libbiosig_project libbiosig to 3.9.2 (exc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-787 The product writes data past the end, or before the beginning, of the intended buffer.
CWE-121 A stack-based buffer overflow condition is a condition where the buffer being overwritten is allocated on the stack (i.e., is a local variable or, rarely, a parameter to a function).
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

This vulnerability involves several stack-based buffer overflow issues in the MFER parsing functionality of The Biosig Project libbiosig version 3.9.1. When processing a specially crafted MFER file with Tag 65, these vulnerabilities can be triggered, potentially allowing an attacker to execute arbitrary code.

Impact Analysis

An attacker can exploit this vulnerability by providing a malicious MFER file, which can lead to arbitrary code execution on the affected system. This can result in full compromise of the system, including unauthorized access, data corruption, or denial of service.

Detection Guidance

Detection involves identifying the presence of libbiosig version 3.9.1 and monitoring or scanning for malicious MFER files with malformed Tag 3 TLV frames that have length fields exceeding the expected buffer size. Since the vulnerability is triggered by specially crafted MFER files, you can detect attempts by scanning for such files or monitoring file inputs to applications using libbiosig. Specific commands are not provided in the resources, but you might use file scanning tools or custom scripts to parse MFER files and check for Tag 3 entries with length fields greater than 17 bytes. [1]

Mitigation Strategies

Immediate mitigation steps include preventing the processing of untrusted or unauthenticated MFER files, especially those with Tag 3 TLV frames containing length fields larger than the buffer size. Applying patches or updates to libbiosig that fix the buffer overflow is recommended once available. Until then, restrict or disable the use of libbiosig 3.9.1 in environments where untrusted MFER files might be processed. [1]

Detection Guidance

Detection involves identifying the presence of libbiosig version 3.9.1 and monitoring or scanning for malicious MFER files with malformed Tag 3 TLV frames that have length fields exceeding the expected buffer size. Since the vulnerability is triggered by specially crafted MFER files, you can detect attempts by scanning for MFER files with Tag 3 length fields greater than 17 bytes. A practical approach is to use file inspection tools or custom scripts to parse MFER files and check the length fields of Tag 3 entries. For example, you could use a hex editor or a scripting language like Python to parse MFER files and flag those with suspicious length values. Additionally, monitoring application logs or using AddressSanitizer during testing can help detect exploitation attempts. Specific commands depend on your environment, but a sample command might be a Python script that reads MFER files and checks Tag 3 lengths. No direct command-line tool is provided in the resources. [1]

Mitigation Strategies

Immediate mitigation steps include avoiding the use of libbiosig version 3.9.1 for processing untrusted MFER files until a patched version is available. Do not open or process MFER files from untrusted or unknown sources. If possible, apply any available patches or updates from the libbiosig project that address this buffer overflow. Additionally, implement input validation to reject MFER files with Tag 3 length fields exceeding the safe buffer size (17 bytes). Employ runtime protections such as AddressSanitizer or other memory safety tools during development and testing to detect exploitation attempts. Restrict file access permissions and monitor for suspicious activity related to MFER file processing. [1]

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2025-66045. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart