CVE-2026-42831: Heap-based buffer overflow in Microsoft Office allows an unauthorized attacker to execute code locally.
CVE-2026-42831 is a high-severity flaw (CVSS 7.8) affecting 365 copilot, office, office long term servicing channel. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
Heap-based buffer overflow in Microsoft Office allows an unauthorized attacker to execute code locally.
Why this priority
- High severity
- On your watchlist
A fixed release or distro patch exists.
Risk facts
| CVSS score | 7.8 (High) |
| Attack vector | Local |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | Required |
| EPSS exploit chance | 0.4% (top 62%) |
| CISA exploited list | No |
| Weakness | CWE-122 |
| Published | 2026-05-12 |
| Last modified | 2026-10-26 |
Last updated 2026-10-26 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-42831?
365 copilot: upgrade to 16.0.19822.20190; office: downgrade or apply the listed mitigation; office long term servicing channel: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2026-42831 being exploited?
CVE-2026-42831 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-42831 affect?
CVE-2026-42831 affects 365 copilot, office, office long term servicing channel. Severity is high (CVSS 7.8). Heap-based buffer overflow in Microsoft Office allows an unauthorized attacker to execute code locally.
How urgent is CVE-2026-42831?
Priority 42/100. High severity; On your watchlist
Software pages
Microsoft Office vulnerabilities
Related CVEs
- CVE-2026-47645 HIGH 8.8 MITIGATE Url redirection to untrusted site ('open redirect') in Microsoft 365 Copilot's Business Chat allows an unautho
- CVE-2026-42895 MEDIUM 6.5 MITIGATE Improper neutralization of special elements used in a command ('command injection') in Microsoft Copilot allow
- CVE-2026-41106 CRITICAL 9.3 MITIGATE Url redirection to untrusted site ('open redirect') in M365 Copilot allows an unauthorized attacker to elevate
- CVE-2026-58617 HIGH 8.1 UPGRADE Improper access control in Microsoft 365 Copilot for iOS allows an unauthorized attacker to elevate privileges
- CVE-2026-50517 CRITICAL 9.9 MITIGATE Deserialization of untrusted data in M365 Copilot allows an authorized attacker to execute code over a network