# CVE-2017-11826: Microsoft Office Remote Code Execution

> Remote attackers can execute arbitrary code by exploiting improper memory handling in Microsoft Office and related server components.

- **Severity:** High 7.8 (`CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`)
- **Exploited in the wild:** Yes, since 3 Mar 2022 (CISA KEV)
- **Login needed:** Not needed
- **Attackable:** Local or same network only
- **Victim action needed:** A user has to click or open something
- **Fix available:** No
- **Published:** 13 Oct 2017
- **Updated:** 21 Oct 2025
- **Also known as:** GHSA-4qcg-gx82-4h36

## What is CVE-2017-11826?

CVE-2017-11826 is a high-severity memory corruption vulnerability in Microsoft Office Compatibility Pack, published on 13 Oct 2017. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

### Official description

Microsoft Office 2010, SharePoint Enterprise Server 2010, SharePoint Server 2010, Web Applications, Office Web Apps Server 2010 and 2013, Word Viewer, Word 2007, 2010, 2013 and 2016, Word Automation Services, and Office Online Server allow remote code execution when the software fails to properly handle objects in memory.

Weakness: CWE-119 (Improper Restriction of Operations within the Bounds of a Memory Buffer)

## Which versions are affected by CVE-2017-11826?

It affects 7 products.


Products: Microsoft Office Compatibility Pack, Microsoft Office Online Server, Microsoft Office Web Apps Server, Microsoft Office Word Viewer, Microsoft Sharepoint Enterprise Server, Microsoft Sharepoint Server, Microsoft Word.

## How do I fix CVE-2017-11826?

No fix has been published for CVE-2017-11826 yet. Limit exposure of the affected software until one is available. US federal agencies must fix it by 24 Mar 2022.

## Is CVE-2017-11826 being exploited?

Yes. Attackers have exploited CVE-2017-11826 in the wild since at least 3 Mar 2022.

Public exploit code:

- Exploit for CVE-2017-11826 (github_poc): https://github.com/thatskriptkid/CVE-2017-11826

## Other vulnerabilities in Microsoft Office Compatibility Pack

- [CVE-2012-2539](https://insights.sbomify.com/CVE-2012-2539/): Microsoft Word Remote Code Execution (high 7.8, exploited in the wild)
- [CVE-2015-1759](https://insights.sbomify.com/CVE-2015-1759/): Memory corruption in n/a (critical 9.3)
- [CVE-2015-1651](https://insights.sbomify.com/CVE-2015-1651/): Use after free in n/a (critical 9.3)
- [CVE-2014-6356](https://insights.sbomify.com/CVE-2014-6356/): Code injection in n/a (critical 9.3)
- [CVE-2014-6333](https://insights.sbomify.com/CVE-2014-6333/): Code injection in n/a (critical 9.3)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2017-11826 and fix it if it is affected.

What it is: CVE-2017-11826 is a high-severity memory corruption vulnerability in Microsoft Office Compatibility Pack, published on 13 Oct 2017. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Exploitation: Yes. Attackers have exploited CVE-2017-11826 in the wild since at least 3 Mar 2022.

Affected product: Microsoft Office Compatibility Pack. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2017-11826/ (Markdown: https://insights.sbomify.com/CVE-2017-11826/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2017-11826
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2017-11826
- OSV: https://osv.dev/vulnerability/CVE-2017-11826

---
From sbomify Insights: https://insights.sbomify.com/CVE-2017-11826/
Summaries are generated and may contain mistakes; the official description above is the record.
