# CVE-2025-47162: Microsoft Office heap buffer overflow allows local code execution

Source: https://junglewise.ai/threats/cve-2025-47162-microsoft-office-heap-buffer-overflow-allows-local-code-execution  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2025-06-10. Updated: 2026-05-22  
License: CC BY 4.0 with a link back

CVE-2025-47162 · Severity: high · CVSS 8.4 · Published 2025-06-10

A security vulnerability has been identified in Microsoft Office, a widely used suite of productivity applications. An attacker with local access to a system could exploit this flaw to run unauthorized code, potentially leading to a full system takeover or theft of sensitive documents. This impact is significant as it bypasses standard security boundaries within the application to compromise the underlying device.

Technologies: [Microsoft 365 Apps for Enterprise](https://junglewise.ai/threats/technologies/365-apps-for-enterprise), [Microsoft Office 2016](https://junglewise.ai/threats/technologies/office-2016), [Microsoft Office 2019](https://junglewise.ai/threats/technologies/office-2019), [Microsoft Office for Android](https://junglewise.ai/threats/technologies/office-for-android), [Microsoft Office LTSC 2021](https://junglewise.ai/threats/technologies/office-ltsc-2021), [Microsoft Office LTSC 2024](https://junglewise.ai/threats/technologies/office-ltsc-2024). Vendors: [Microsoft](https://junglewise.ai/threats/vendors/microsoft).

## Quick answers

**Is CVE-2025-47162 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2025-47162 being exploited in the wild.

**How severe is CVE-2025-47162?** High severity, with a CVSS score of 8.4, published 10 June 2025.

**Which products and versions are affected?** Microsoft Office 2016; Microsoft Office 2019; Microsoft Office LTSC 2021; Microsoft Office LTSC 2024; and 2 more.

**Is there a fix for CVE-2025-47162?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2025-47162 attacked?** It is attacked with local access, in a network appliance.

**Am I affected by CVE-2025-47162?** Check whether you run Microsoft 365 Apps for Enterprise, Microsoft Office 2016, Microsoft Office 2019 or one of the others listed. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

This vulnerability is classified as a heap-based buffer overflow (CWE-122) within Microsoft Office. It is triggered when the application improperly handles data in memory, allowing an attacker to overwrite adjacent memory locations. The attack vector is local, meaning an attacker must already have a presence on the system or entice a user to run a malicious file. Successful exploitation allows for arbitrary code execution with the privileges of the user running the Office application. Affected versions include Office 2016, 2019, LTSC 2021/2024, and Microsoft 365 Apps across Windows, macOS, and Android platforms.

## Affected products

- Microsoft Office 2016
- Microsoft Office 2019
- Microsoft Office LTSC 2021
- Microsoft Office LTSC 2024
- Microsoft 365 Apps for Enterprise
- Microsoft Office for Android

## Timeline

- 2025-06-10: disclosed: Initial disclosure by Microsoft Corporation
- 2025-06-10: advisory: NVD entry published

## References

- [https://msrc.microsoft.com/update-guide/vulnerability/CVE-2025-47162](https://msrc.microsoft.com/update-guide/vulnerability/CVE-2025-47162)

## Related threats

- [Out-of-bounds read in Microsoft Office Word allows an unauthorized attacker to disclose information locally.](https://junglewise.ai/threats/cve-2026-70310-out-of-bounds-read-in-microsoft-office-word-allows-an)
- [Microsoft Office out-of-bounds read information disclosure](https://junglewise.ai/threats/cve-2026-56195-microsoft-office-out-of-bounds-read-information-disclosure)
- [Microsoft Office Out-of-bounds Read Information Disclosure](https://junglewise.ai/threats/cve-2026-56192-microsoft-office-out-of-bounds-read-information-disclosure)
- [Microsoft Office Excel heap buffer overflow](https://junglewise.ai/threats/cve-2026-56156-microsoft-office-excel-heap-buffer-overflow)
- [Microsoft Excel use of uninitialized resource code execution](https://junglewise.ai/threats/cve-2026-55949-microsoft-excel-use-of-uninitialized-resource-code-execution)
