{"id":"CVE-2018-0798","published":"2018-01-10T01:29:00Z","modified":"2026-06-17T01:31:40Z","title":"Microsoft Office Memory Corruption Vulnerability","vendor":"Microsoft","product":"Office","tier":"core","eol":null,"description":{"text":"Equation Editor in Microsoft Office 2007, Microsoft Office 2010, Microsoft Office 2013, and Microsoft Office 2016 allows a remote code execution vulnerability due to the way objects are handled in memory, aka \"Microsoft Office Memory Corruption Vulnerability\".","provenance":"source","from":"NVD"},"summary":{"text":"The Equation Editor component in Microsoft Office 2007, 2010, 2013, and 2016 contains a memory corruption flaw caused by how it handles objects in memory, classified as an out-of-bounds write. An attacker can achieve remote code execution over the network without authentication, but only if a user is induced to interact with a crafted file or document.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-23T07:03:10Z"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"NVD"},"epss":{"score":0.95121,"percentile":0.99863,"date":"2026-10-28","provenance":"source"},"kev":{"dateAdded":"2021-11-03","dueDate":"2022-05-03","ransomware":false,"requiredAction":"Apply updates per vendor instructions.","notes":"https://nvd.nist.gov/vuln/detail/CVE-2018-0798","provenance":"source"},"vulncheckKev":{"dateAdded":"2018-11-29","exploitedFirstSeen":"2018-11-29","ransomware":false,"evidence":[{"url":"https://ti.qianxin.com/blog/articles/analysis-of-targeted-attack-against-pakistan-by-exploiting-inpage-vulnerability-and-related-apt-groups-english/","date":"2018-11-29"},{"url":"https://www.africacybersecurityconference.com/document/CrowdStrike_GTR_2019.pdf","date":"2018-12-05"},{"url":"https://documents.trendmicro.com/assets/pdf/Operation-ENDTRADE-TICK-s-Multi-Stage-Backdoors-for-Attacking-Industries-and-Stealing-Classified-Data.pdf","date":"2019-01-01"},{"url":"https://www.proofpoint.com/us/threat-insight/post/chinese-apt-operation-lagtime-it-targets-government-information-technology","date":"2019-07-24"},{"url":"https://meltx0r.github.io/tech/2019/09/11/rancor-apt.html","date":"2019-09-11"},{"url":"https://resources.malwarebytes.com/files/2020/04/200407-MWB-COVID-White-Paper_Final.pdf","date":"2020-04-07"},{"url":"https://www.ptsecurity.com/ww-en/analytics/pt-esc-threat-intelligence/covid-19-and-new-year-greetings-the-higaisa-group/","date":"2020-06-04"},{"url":"https://nao-sec.org/2021/01/royal-road-redive.html","date":"2021-01-04"},{"url":"https://www.cybereason.com/blog/research/portdoor-new-chinese-apt-backdoor-attack-targets-russian-defense-sector","date":"2021-04-30"},{"url":"https://www.fireeye.com/blog/threat-research/2021/08/unc215-chinese-espionage-campaign-in-israel.html","date":"2021-08-10"}],"evidenceTotal":27,"provenance":"source"},"exploited":true,"otx":{"pulseCount":50,"pulses":[{"name":"Actively_Exploited_Kev | Oct 29, 2026","url":"https://otx.alienvault.com/pulse/6ae20c1db17e7057ae7d9ad1","created":"2026-10-28"},{"name":"Actively_Exploited_Kev | Oct 28, 2026","url":"https://otx.alienvault.com/pulse/6ae0ba7e0e2a97ff7b218819","created":"2026-10-27"},{"name":"Actively_Exploited_Kev | Oct 27, 2026","url":"https://otx.alienvault.com/pulse/6adf68b85c3e852f3c111d18","created":"2026-10-26"},{"name":"Actively_Exploited_Kev | Oct 24, 2026","url":"https://otx.alienvault.com/pulse/6adb740e397c3ad4799aa4cd","created":"2026-10-23"},{"name":"Actively_Exploited_Kev | Oct 23, 2026","url":"https://otx.alienvault.com/pulse/6ada236fcfba2dfa730ea482","created":"2026-10-22"},{"name":"Trojan.PDF","url":"https://otx.alienvault.com/pulse/6ad908f59762145fa16a0c89","created":"2026-10-21"},{"name":"Actively_Exploited_Kev | Oct 22, 2026","url":"https://otx.alienvault.com/pulse/6ad8d33a077cbb5cab524d80","created":"2026-10-21"},{"name":"Actively_Exploited_Kev | Oct 21, 2026","url":"https://otx.alienvault.com/pulse/6ad78130c4d1ac2be83a8b6d","created":"2026-10-20"},{"name":"Actively_Exploited_Kev | Oct 20, 2026","url":"https://otx.alienvault.com/pulse/6ad62f63c24a405a3423cc13","created":"2026-10-19"},{"name":"Actively_Exploited_Kev | Oct 19, 2026","url":"https://otx.alienvault.com/pulse/6ad4dda174e5797d0bd238b7","created":"2026-10-18"}],"provenance":"machine"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"}],"references":[{"url":"http://www.securityfocus.com/bid/102370","tags":["Broken Link","Third Party Advisory","VDB Entry"]},{"url":"http://www.securitytracker.com/id/1040153","tags":["Broken Link","Third Party Advisory","VDB Entry"]},{"url":"https://0patch.blogspot.com/2018/01/bringing-abandoned-equation-editor-back.html","tags":["Third Party Advisory"]},{"url":"https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2018-0798","tags":["Patch","Vendor Advisory"]},{"url":"http://www.securityfocus.com/bid/102370","tags":["Broken Link","Third Party Advisory","VDB Entry"]},{"url":"http://www.securitytracker.com/id/1040153","tags":["Broken Link","Third Party Advisory","VDB Entry"]},{"url":"https://0patch.blogspot.com/2018/01/bringing-abandoned-equation-editor-back.html","tags":["Third Party Advisory"]},{"url":"https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2018-0798","tags":["Patch","Vendor Advisory"]},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2018-0798","tags":["US Government Resource"]}],"techniques":[{"id":"T1189","name":"Drive-by Compromise","tactics":["initial-access"],"provenance":"source","basis":"ctid-cve","bases":["ctid-cve"],"basisDetail":"CTID attack_to_cve (Phase 1)","mappingType":"uncategorized","evidence":[],"confidence":"low","confidenceNote":"CTID attack_to_cve Phase 1 \"Uncategorized\" mapping (not staged by impact)"},{"id":"T1203","name":"Exploitation for Client Execution","tactics":["execution"],"provenance":"source","basis":"ctid-cve","bases":["ctid-cve","ai-mapping","dataset-annotation","report-attack-id"],"basisDetail":"CTID attack_to_cve (Phase 1); claude-haiku-5-5: Memory corruption yields code execution in client; AnnoCTR expert entity-linking label (train split); ATT&CK ID T1203 written in the same sentence as CVE-2018-0798","mappingType":"uncategorized","evidence":[{"from":"description","quote":"allows a remote code execution vulnerability due to the way objects are handled in memory","start":114,"end":203},{"reportId":"SRC-544c7af11fcaf6f5afbe","quote":"x\r\nMITRE ATT&CK Techniques\r\nTactic Technique ID Description\r\nInitial\r\nAccess\r\nSpearphishing Attachment T1193 Used to deliver first stage malware\r\nSupply Chain Compromise T1195 Used for initial intrusion on subsidiaries\r\nExecution\r\nExploitation for Client Execution T1203 Used to exploit CVE-2018-0802 and CVE-\r\n2018-0798","start":47531,"end":47851},{"reportId":"SRC-695ae7d03fccb677134e","quote":"During the last years, this OLE objects have been a good indicator that a document may aim to exploit the CVE-2018-0798 vulnerability in order to infect with some kind of malware.","start":522,"end":701}],"confidence":"medium","confidenceNote":"AI-mapped from the description (quote-validated, not expert-reviewed)"},{"id":"T1204.002","name":"Malicious File","tactics":["execution"],"provenance":"ai","basis":"ai-mapping","bases":["ai-mapping"],"basisDetail":"claude-haiku-5-5: User opens malicious document triggers exploitation","mappingType":"exploitation_technique","evidence":[{"from":"description","quote":"Equation Editor in Microsoft Office 2007, Microsoft Office 2010","start":0,"end":63}],"model":"claude-haiku-5-5","confidence":"medium","confidenceNote":"AI-mapped from the description (quote-validated, not expert-reviewed)"},{"id":"T1072","name":"Software Deployment Tools","tactics":["execution","lateral-movement"],"provenance":"machine","basis":"dataset-annotation","bases":["dataset-annotation"],"basisDetail":"TRAM2 annotated sentence label","mappingType":null,"evidence":[{"reportId":"SRC-eab7254e3b05d632fdf6","quote":"RoyalRoad leverages a specific set of vulnerabilities, including CVE-2018-0802, CVE-2018-0798, and CVE-2017-11882, within the Equation Editor of Microsoft Office.","start":3376,"end":3538}],"confidence":"low","confidenceNote":"machine-matched from report text"}],"reports":[{"id":"SRC-c25100ad56d1b485f562","title":"Bitter APT adds Bangladesh to their targets","publisher":"blog.talosintelligence.com","url":"https://blog.talosintelligence.com/bitter-apt-adds-bangladesh-to-their/","date":"2022-05-11","mentions":[{"quote":"the Equation Editor application is automatically launched to run the embedded objects containing the shellcode to exploit known vulnerabilities described by CVE-2017-11882, CVE-2018-0798 and CVE-2018-0802 — all in Microsoft Office — then downloads the trojan from the hosting server and runs it on the victim's","start":1243,"end":1553},{"quote":"The malicious Excel spreadsheet is weaponized to exploit the Microsoft Office memory corruption vulnerabilities CVE-2018-0798 and CVE-2018-0802.","start":8677,"end":8821}]},{"id":"SRC-0630b30b056c45f2528d","title":"New Formbook Campaign Delivered Through Phishing Emails","publisher":"netskope.com","url":"https://www.netskope.com/blog/new-formbook-campaign-delivered-through-phishing-emails","date":"2022-03-11","mentions":[{"quote":"The infected spreadsheet delivers the threat through vulnerability described under CVE-2017-11882 and CVE-2018-0798.","start":2094,"end":2210}]},{"id":"SRC-695ae7d03fccb677134e","title":"TA428 Group abusing recent conflict between Iran and USA","publisher":"Lab52 / S2 Grupo","url":"https://github.com/boschresearch/anno-ctr-lrec-coling-2024/blob/d510b6949e1938d47c93a43eedd562dc538439dc/AnnoCTR/text/train/lab52_2020-01-09_icefog-apt-group-abusing-recent.txt","date":"2020-01-09","mentions":[{"quote":"During the last years, this OLE objects have been a good indicator that a document may aim to exploit the CVE-2018-0798 vulnerability in order to infect with some kind of malware.","start":522,"end":701}]},{"id":"SRC-eab7254e3b05d632fdf6","title":"SharpPanda APT Campaign Expands its Arsenal Targeting G20 Nations","publisher":"blog.cyble.com","url":"https://blog.cyble.com/2023/06/01/sharppanda-apt-campaign-expands-its-arsenal-targeting-g20-nations/","date":null,"mentions":[{"quote":"RoyalRoad leverages a specific set of vulnerabilities, including CVE-2018-0802, CVE-2018-0798, and CVE-2017-11882, within the Equation Editor of Microsoft Office.","start":3376,"end":3538}]},{"id":"SRC-544c7af11fcaf6f5afbe","title":"Operation ENDTRADE: TICK’s Multi-Stage Backdoors for Attacking Industries and Stealing Classified Data","publisher":"documents.trendmicro.com","url":"https://documents.trendmicro.com/assets/pdf/Operation-ENDTRADE-TICK-s-Multi-Stage-Backdoors-for-Attacking-Industries-and-Stealing-Classified-Data.pdf","date":null,"mentions":[{"quote":"CVE-2018-0798 into their new downloaders ABK and BBK.","start":11443,"end":11496},{"quote":"Exploiting CVE-2018-0802 and CVE-2018-0798 for downloader’s deployment","start":12037,"end":12107},{"quote":"x\r\nMITRE ATT&CK Techniques\r\nTactic Technique ID Description\r\nInitial\r\nAccess\r\nSpearphishing Attachment T1193 Used to deliver first stage malware\r\nSupply Chain Compromise T1195 Used for initial intrusion on subsidiaries\r\nExecution\r\nExploitation for Client Execution T1203 Used to exploit CVE-2018-0802 and CVE-\r\n2018-0798","start":47531,"end":47851}]}],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2018-1604","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2018-1604","exploited":true,"exploitedSince":"2021-11-03","provenance":"source"},"exploits":[],"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2022-08-19","earliestUrl":"https://github.com/Sunqiz/CVE-2018-0798-reproduction","repos":[{"name":"Sunqiz/CVE-2018-0798-reproduction","url":"https://github.com/Sunqiz/CVE-2018-0798-reproduction","stars":0,"created":"2022-08-19"}]},"first":{"date":"2022-08-19","source":"PoC-in-GitHub","url":"https://github.com/Sunqiz/CVE-2018-0798-reproduction"},"provenance":"source"},"exploitRefs":[],"flow":[{"stage":"exploitation","techniques":["T1204.002"],"provenance":"ai"},{"stage":"related","techniques":["T1203"],"provenance":"source"},{"stage":"related","techniques":["T1189"],"provenance":"source","lowConfidence":true},{"stage":"observed","techniques":["T1072"],"provenance":"machine","lowConfidence":true}],"timeline":[{"date":"2018-01-10","kind":"published","label":"Published (NVD)","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-0798","provenance":"source"},{"date":"2018-11-29","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://ti.qianxin.com/blog/articles/analysis-of-targeted-attack-against-pakistan-by-exploiting-inpage-vulnerability-and-related-apt-groups-english/","provenance":"source"},{"date":"2020-01-09","kind":"report","label":"Named in Lab52 / S2 Grupo: TA428 Group abusing recent conflict between Iran and USA","url":"https://github.com/boschresearch/anno-ctr-lrec-coling-2024/blob/d510b6949e1938d47c93a43eedd562dc538439dc/AnnoCTR/text/train/lab52_2020-01-09_icefog-apt-group-abusing-recent.txt","provenance":"machine"},{"date":"2021-11-03","kind":"kev","label":"Added to CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","provenance":"source"},{"date":"2021-11-03","kind":"euvd-exploited","label":"ENISA EUVD: exploited","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2018-1604","provenance":"source"},{"date":"2022-03-11","kind":"report","label":"Named in netskope.com: New Formbook Campaign Delivered Through Phishing Emails","url":"https://www.netskope.com/blog/new-formbook-campaign-delivered-through-phishing-emails","provenance":"machine"},{"date":"2022-05-11","kind":"report","label":"Named in blog.talosintelligence.com: Bitter APT adds Bangladesh to their targets","url":"https://blog.talosintelligence.com/bitter-apt-adds-bangladesh-to-their/","provenance":"machine"},{"date":"2022-08-19","kind":"exploit-public","label":"First public exploit: PoC-in-GitHub","url":"https://github.com/Sunqiz/CVE-2018-0798-reproduction","provenance":"source"}],"speed":{"daysToPublicExploit":1682,"firstExploitFrom":"PoC-in-GitHub","daysToKev":1393},"priority":{"score":79.1,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in CISA KEV and VulnCheck KEV"},{"name":"Recent KEV listing","points":0.0,"detail":"added 2891 days ago"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.97,"detail":"percentile 0.9986"},{"name":"Named in threat reports","points":10.0,"detail":"5 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 PoC-in-GitHub repo"},{"name":"Mentioned in OTX pulses","points":3.0,"detail":"50 pulses"},{"name":"CVSS severity","points":6.16,"detail":"base score 8.8"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]},"lineage":{"familyId":"fam-class-microsoft-office-cwe-787"}}