{"answers":{"affected":"It affects 8 products.","exploited":"There is no known exploitation of CVE-2023-21716 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2023-21716 yet. Limit exposure of the affected software until one is available.","what":"CVE-2023-21716 is a critical vulnerability in Microsoft Office, published on 14 Feb 2023. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-21716 and fix it if it is affected.\n\nWhat it is: CVE-2023-21716 is a critical vulnerability in Microsoft Office, published on 14 Feb 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2023-21716 in the wild and no public exploit code.\n\nAffected product: Microsoft Office. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. 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.\n2. 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.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2023-21716/ (Markdown: https://insights.sbomify.com/CVE-2023-21716/index.md)","id":"CVE-2023-21716","markdown":"https://insights.sbomify.com/CVE-2023-21716/index.md","name":"CVE-2023-21716","record":{"aliases":["GHSA-64mm-8wcm-jw5g"],"analysis":{"component_type":"desktop_application","fix_type":"patch","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Microsoft Office","requires_auth":"none","summary":"An integer overflow in Microsoft Word allows remote attackers to execute arbitrary code via a specially crafted file.","user_interaction":"not_required","vuln_class":"integer_overflow"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"microsoft","cpe":[{"product":"office","vendor":"microsoft"},{"product":"office_long_term_servicing_channel","vendor":"microsoft"},{"product":"office_online_server","vendor":"microsoft"},{"product":"office_web_apps","vendor":"microsoft"},{"product":"sharepoint_enterprise_server","vendor":"microsoft"},{"product":"sharepoint_foundation","vendor":"microsoft"},{"product":"sharepoint_server","vendor":"microsoft"},{"product":"word","vendor":"microsoft"}],"cvss":{"score":9.8,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C","version":"3.1"},"cwes":[{"id":"CWE-190","name":"Integer Overflow or Wraparound"}],"description":"Microsoft Word Remote Code Execution Vulnerability","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2023-03-07","github_poc":12,"max_poc_stars":59,"metasploit":0,"nuclei":0,"refs":[{"date":"2023-03-08T06:20:45Z","kind":"github_poc","ref":"https://github.com/gyaansastra/CVE-2023-21716","stars":59,"title":"A vulnerability within Microsoft Office's wwlib allows attackers to achieve remote code execution with the privileges of the victim that opens a malicious RTF document. The attacker could deliver this file as an email attachment (or other means)."},{"date":"2023-03-07T15:03:43Z","kind":"github_poc","ref":"https://github.com/Xnuvers007/CVE-2023-21716","stars":46,"title":"RTF Crash POC Python 3.11 Windows 10"},{"date":"2023-04-16T21:12:29Z","kind":"github_poc","ref":"https://github.com/JMousqueton/CVE-2023-21716","stars":8,"title":"POC : CVE-2023-21716 Microsoft Word RTF Font Table Heap Corruption"},{"date":"2023-03-24T15:58:25Z","kind":"github_poc","ref":"https://github.com/hv0l/CVE-2023-21716_exploit","stars":6,"title":"test of exploit for CVE-2023-21716"},{"date":"2023-03-07T09:34:12Z","kind":"github_poc","ref":"https://github.com/FeatherStark/CVE-2023-21716","stars":4,"title":null},{"date":"2024-09-16T13:04:45Z","kind":"github_poc","ref":"https://github.com/RonF98/CVE-2023-21716-POC","stars":4,"title":"Proof Of Concept for CVE-2023-21716 Microsoft Word Heap Corruption"},{"date":"2023-11-04T08:49:14Z","kind":"github_poc","ref":"https://github.com/MojithaR/CVE-2023-21716-EXPLOIT.py","stars":3,"title":"This is an exploit file which is used to check CVE-2021-21716 vulnerability"},{"date":"2023-03-08T18:25:39Z","kind":"github_poc","ref":"https://github.com/mikesxrs/CVE-2023-21716_YARA_Results","stars":0,"title":"Results of retrohunt for files matching YARA rules from https://github.com/AmgdGocha/Detection-Rules/blob/main/CVE-2023-21716.yar"}],"tier":"poc_unverified"},"has_fix":null,"headline":"Microsoft Word Remote Code Execution Vulnerability","id":"CVE-2023-21716","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"microsoft:office","products":["microsoft:office","microsoft:office_long_term_servicing_channel","microsoft:office_online_server","microsoft:office_web_apps","microsoft:sharepoint_enterprise_server","microsoft:sharepoint_foundation","microsoft:sharepoint_server","microsoft:word"],"type":"integer_overflow","year":"2023"},"n_packages":0,"n_references":1,"next":{"headline":"Microsoft SharePoint Server Elevation of Privilege Vulnerability","id":"CVE-2023-21717"},"packages":[],"prev":{"headline":"Microsoft Office Publisher Security Feature Bypass","id":"CVE-2023-21715"},"products":["Microsoft 365 Apps for Enterprise","Microsoft Office 2019","Microsoft Office 2019 for Mac","Microsoft Office LTSC 2021","Microsoft Office LTSC for Mac 2021","Microsoft Office Online Server","Microsoft Office Web Apps Server 2013 Service Pack 1","Microsoft SharePoint Enterprise Server 2013 Service Pack 1","Microsoft SharePoint Enterprise Server 2016","Microsoft SharePoint Foundation 2013 Service Pack 1","Microsoft SharePoint Server 2019","Microsoft SharePoint Server Subscription Edition","Microsoft Word 2013 Service Pack 1","Microsoft Word 2016","SharePoint Server Subscription Edition Language Pack"],"published":"2023-02-14","related":[{"cvss_score":8.8,"headline":"Microsoft Office Memory Corruption","id":"CVE-2018-0798","kev_date_added":"2021-11-03","published":"2018-01-10"},{"cvss_score":8.8,"headline":"Microsoft Office Uninitialized Memory Use","id":"CVE-2015-1770","kev_date_added":"2022-03-28","published":"2015-06-10"},{"cvss_score":8.8,"headline":"Microsoft Word Malformed Object Pointer","id":"CVE-2006-2492","kev_date_added":"2022-06-08","published":"2006-05-20"},{"cvss_score":7.8,"headline":"Microsoft Office Memory Corruption","id":"CVE-2018-0802","kev_date_added":"2021-11-03","published":"2018-01-10"},{"cvss_score":7.8,"headline":"Microsoft Office Memory Corruption","id":"CVE-2017-11882","kev_date_added":"2021-11-03","published":"2017-11-15"},{"cvss_score":7.8,"headline":"Microsoft Office Remote Code Execution","id":"CVE-2017-8570","kev_date_added":"2022-02-25","published":"2017-07-11"},{"cvss_score":7.8,"headline":"Microsoft Office Use-After-Free","id":"CVE-2017-0261","kev_date_added":"2022-03-03","published":"2017-05-12"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-08-19","vendors":["Microsoft"]},"summary":"An integer overflow in Microsoft Word allows remote attackers to execute arbitrary code via a specially crafted file.","url":"https://insights.sbomify.com/CVE-2023-21716/"}