
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-66048 is a stack-based buffer overflow vulnerability in the MFER parsing functionality of The Biosig Project libbiosig 3.9.1, specifically triggered when processing an MFER tag value of 133 (0x85). A specially crafted MFER file can lead to arbitrary code execution without requiring authentication or user interaction. It affects libbiosig versions prior to 3.9.2 and was disclosed publicly on December 11, 2025, following vendor patch release on December 10, 2025. It carries a CVSS v3.1 base score of 9.8 (Critical) (Talos Report, Red Hat Advisory).
The vulnerability is classified as CWE-121 (Stack-based Buffer Overflow) and CWE-787 (Out-of-bounds Write). Within the sopen_extended function in biosig.c, MFER file parsing uses a statically-sized 128-byte stack-allocated buffer (buf). When the tag value is 133 (0x85), the code reads len bytes from the input file directly into buf via ifread (a wrapper for fread) without validating that len does not exceed the buffer size. Because len is attacker-controlled via the crafted MFER file, supplying a value larger than 128 causes a write past the end of the stack buffer, overwriting adjacent stack memory with attacker-controlled data and enabling arbitrary code execution. This is part of a broader set of six related vulnerabilities (CVE-2025-66043 through CVE-2025-66048) affecting different MFER tag handlers in the same code (Talos Report).
Successful exploitation allows an attacker to achieve full system compromise, with high confidentiality, integrity, and availability impact. Because the attack vector is network-based and requires no privileges or user interaction, a remote attacker can supply a malicious MFER file to any system or application using libbiosig (including biosig APIs in Octave and MATLAB, sigviewer, and other biomedical signal processing tools) and execute arbitrary code in the context of the vulnerable process. This could enable data exfiltration, installation of malware, lateral movement within a network, or complete takeover of the affected host (Talos Report, Red Hat Advisory).
A proof-of-concept exploit is referenced in the Cisco Talos vulnerability report (TALOS-2025-2296), which includes AddressSanitizer crash output and debugger traces demonstrating the overflow. There is no evidence of active in-the-wild exploitation at this time. The EPSS score is approximately 0.078% (0.000780), indicating a currently low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. No specific threat actor attribution has been reported (Talos Report, Red Hat Advisory).
@ MFER or @ MFR ) so that libbiosig classifies it as MFER format.0x85 to trigger the vulnerable code path in sopen_extended at line 9268 of biosig.c.buf). The length can be encoded using multi-octet encoding per the MFER standard to bypass simple single-byte length checks.buf stack buffer and overwrite the return address or other control-flow data on the stack.sopen_extended on the malicious file, the oversized ifread call writes attacker-controlled data past the end of buf, corrupting the stack and redirecting execution to the attacker's payload (Talos Report)..mfer or .mfr files in directories monitored by applications using libbiosig; web shells or unexpected binaries created by the process running libbiosig.bash, sh, curl, wget, python) following MFER file parsing events; application crashes or core dumps in the libbiosig process.Warning MFER tag2 incorrect length or Warning MFER tag131 incorrect length messages, which indicate oversized length fields being processed; AddressSanitizer or crash reports referencing sopen_extended in biosig.c.The vendor released a patched version, libbiosig 3.9.2, on December 10, 2025, which addresses all six stack-based buffer overflow vulnerabilities in the MFER parser. Users should upgrade to libbiosig 3.9.2 or later immediately. As interim mitigations, restrict network access to systems running libbiosig, implement strict input validation and allowlisting for MFER file processing, use network segmentation to limit exposure, and monitor for unusual file upload or parsing activities (Talos Report, Red Hat Advisory).
Cisco Talos researchers Mark Bereza and Lilith discovered and reported the vulnerability, publishing a detailed technical write-up as part of TALOS-2025-2296 covering all six related MFER parsing vulnerabilities. Talos also published a blog post summarizing the libbiosig findings alongside other vulnerabilities in Grassroot DICOM and Smallstep step-ca. Red Hat acknowledged the vulnerability in their security advisory. Community discussion was noted on infosec.place and Bluesky, and the vulnerability was picked up by aggregators including Vulners, VulDB, and INCIBE-CERT (Talos Report, Red Hat Advisory, Talos Blog).
Fix availability across major Linux distributions and their releases.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."