Heap-based buffer overflow in Microsoft products - CVE-2026-40363

 

Heap-based buffer overflow in Microsoft products - CVE-2026-40363

Published: May 13, 2026


Vulnerability identifier: #VU131321
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-40363
CWE-ID: CWE-122
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error in Microsoft Office. A remote attacker can pass specially crafted data to the application, trigger a heap-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

Microsoft 365 Apps for Enterprise
Microsoft Office
Microsoft Office LTSC
Microsoft Office for Android

How to mitigate CVE-2026-40363

Install updates from vendor's website.

Microsoft Office for Android - update to 16.0.19822.20190

External References

Related Security Bulletins