CVE-2021-27059
CVE-2021-27059 is a security flaw in Microsoft Office, part of Microsoft Office. Attackers can run their own code on Microsoft Office. The US Cybersecurity and Infrastructure Security Agency (CISA) added it to its catalog of flaws known to be used in attacks on 3 Nov 2021.[1]
Microsoft Office is in things households have, such as phones, computers, browsers and everyday apps, so the fix matters at home as much as at work. Fixed in version 14.0.7266.5000, publication and 16.0.5134.1000.
Description
CISA calls it a remote code execution in Microsoft Office. In its words: “Microsoft Office contains an unspecified vulnerability that allows for remote code execution.”[1]
It scores 7.6 out of 10 on the Common Vulnerability Scoring System, which rates it high, scored by the organisation that published the CVE using CVSS 3.1.[2]
Affected versions
NVD’s record lists these fixed versions: in each line, everything before the version shown is affected.[2]
| Product | Fixed in |
|---|---|
| Microsoft Office 2010 Service Pack 2 | 14.0.7266.5000 |
| Microsoft Office 2013 Service Pack 1 | publication |
| Microsoft Office 2016 | 16.0.5134.1000 |
Every device with Microsoft Office needs the update.
Exploitation
CISA added it to its catalog of known exploited vulnerabilities on 3 Nov 2021, 237 days after it was made public. CISA lists a flaw only when it has reliable evidence of it being exploited, and gave US federal agencies until 17 Nov 2021 to fix it.[1]
FIRST’s Exploit Prediction Scoring System, which estimates how likely a flaw is to be used in attacks in the next 30 days from what it sees across the internet, puts it at 6%. That’s in the top 7% of the flaws it scores.[4]
CISA assesses it as not automatable: each attack takes some work.
CISA doesn’t say who was attacked, or how.
Fix
Microsoft has published a fix or advice.[3] CISA’s required action: “Apply updates per vendor instructions.”[1]
- Update Microsoft Office now.On Windows: Settings, Windows Update, Check for updates, then restart. Office updates come the same way, or from any Office app: File, Account, Update Options. Then turn on automatic updates, so the next fix arrives on its own.
- Check you’re on 14.0.7266.5000 or later.Fixed in version 14.0.7266.5000, publication and 16.0.5134.1000. Anything older is what attackers are going after.
- If there’s no update, stop using it.CISA’s advice when a flaw being used in attacks has no fix is to stop using the product until it does.
Timeline
| Date | Event |
|---|---|
| The flaw is made public in the National Vulnerability Database, with a severity score of 7.6.[2] | |
| CISA adds it to its catalog of flaws known to be used in attacks.[1] | |
| CISA’s deadline for US government agencies to fix it.[1] | |
| FIRST puts the odds of it being used in attacks in the next 30 days at 6%.[4] |
See also
Other Microsoft Office flaws
- CVE-2009-0238: remote code execution ·
- CVE-2026-21514: word reliance on untrusted inputs in a security decision ·
- CVE-2026-21509: security feature bypass ·
- CVE-2009-0556: powerPoint code injection ·
- CVE-2007-0671: excel remote code execution ·
- CVE-2023-23397: outlook privilege escalation ·
Other Microsoft flaws
- CVE-2026-96951, Microsoft Windows: command injection ·
- CVE-2026-65660, Microsoft SharePoint: code injection ·
- CVE-2026-85880, Microsoft Windows: heap-based buffer overflow ·
- CVE-2026-81963, Microsoft Windows: link following ·
- CVE-2019-1068, Microsoft SQL Server: remote code execution ·
Similar flaws
- CVE-2026-111357, Ivanti Connect Secure: missing authentication for critical function ·
- CVE-2026-97229, GitLab Community Edition and Enterprise Edition: integer overflow or wraparound ·
- CVE-2026-76418, Cisco Secure Firewall ASA Software and Cisco Secure FTD Software: unchecked return value to NULL pointer dereference ·
- CVE-2026-48356, Adobe Commerce and Magento: unrestricted upload of file with dangerous type ·
- CVE-2026-111497, Google Brotli: unchecked return value ·
Added the same day
- CVE-2021-42258, BQE BillQuick Web Suite: SQL injection ·
- CVE-2021-42013, Apache HTTP Server: path traversal ·
- CVE-2021-41773, Apache HTTP Server: path traversal ·
- CVE-2021-40539, Zoho ManageEngine: aDSelfService plus authentication bypass ·
- CVE-2021-40444, Microsoft MSHTML: remote code execution ·
Every Microsoft flaw on CISA’s list · Everything added in November 2021
References
- ^ Cybersecurity and Infrastructure Security Agency. “Microsoft Office Remote Code Execution Vulnerability”. Known Exploited Vulnerabilities Catalog, added 3 Nov 2021.
- ^ National Institute of Standards and Technology. “CVE-2021-27059 Detail”. National Vulnerability Database, published 11 Mar 2021.
- ^ Microsoft. Advisories and fixes: msrc.microsoft.com, portal.msrc.microsoft.com.
- ^ FIRST. “Exploit Prediction Scoring System”. EPSS 0.061, percentile 93.4, 31 Oct 2026.
- CVE Program. “CVE-2021-27059”. The official CVE record.
This article is built from CISA’s catalog (version 2026.10.30), NVD’s record and FIRST’s scores, kept in HARD’s database and checked every morning. The plain English is HARD’s.

