← Vulnerability feed

Vulnerability record · CVE-2013-1331 · published 12 June 2013

CVE-2013-1331: Microsoft Office buffer overflow via crafted PNG data

Microsoft · Office

Microsoft Office 2003 SP3 and Office 2011 for Mac contain a classic buffer overflow (CWE-120) triggered by crafted PNG data embedded in an Office document, caused by improper memory allocation. Successful exploitation allows arbitrary code execution in the context of the user who opens the document.

7.8 CVSS 3.1 High CISA KEV since 8 Jun 2022 EPSS 80% · top 0.4% CWE-120 · Classic buffer overflow
7.8CVSS 3.1 base score, v2 9.3
80%EPSS exploitation probability, 30 days
YesIn CISA KEV, fix deadline passed
1Affected product versions listed by NVD
9References
16 Jun 2026Last modified by NVD

Description

Buffer overflow in Microsoft Office 2003 SP3 and Office 2011 for Mac allows remote attackers to execute arbitrary code via crafted PNG data in an Office document, leading to improper memory allocation, aka "Office Buffer Overflow Vulnerability."

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 17 September 2026. Confidence: high.

high priorityThe flaw allows remote code execution, is listed in CISA KEV as actively exploited, and has a very high EPSS score, though exploitation requires user interaction to open a malicious document.

What it is

Microsoft Office 2003 SP3 and Office 2011 for Mac contain a classic buffer overflow (CWE-120) triggered by crafted PNG data embedded in an Office document, caused by improper memory allocation. Successful exploitation allows arbitrary code execution in the context of the user who opens the document.

Impact

An attacker who gets a victim to open a malicious Office document can execute arbitrary code with the victim's privileges, potentially leading to full system compromise.

Attack surface

Reached locally when a user opens a crafted Office document containing malicious PNG data; the CVSS vector (AV:L/PR:N/UI:R) indicates no authentication is required but user interaction is needed to open the file.

Exploitation

CVE-2013-1331 is listed in CISA's Known Exploited Vulnerabilities catalog (added 2022-06-08), indicating active exploitation in the wild. EPSS 30-day probability is 0.81877 (99.63rd percentile), reflecting very high predicted exploitation likelihood.

What to do

  • Apply the Microsoft security update referenced in MS13-051 (patch first).
  • Disable or block opening of untrusted Office documents, especially from email or web downloads.
  • Use Microsoft Office File Block and Protected View settings to prevent automatic processing of potentially malicious content.
  • Remove or upgrade unsupported Office 2003 SP3 and Office 2011 for Mac installations where feasible.

Detection

  • Monitor for Office processes (WINWORD.EXE, EXCEL.EXE) spawning child processes such as cmd.exe, powershell.exe, or wscript.exe.
  • Inspect Office documents for embedded PNG files with anomalous size or structure that could trigger memory corruption.
  • Review endpoint logs for crashes or memory access violations in Office applications when opening documents.
  • Hunt for known exploit document hashes or indicators associated with CVE-2013-1331 in email and file transfer logs.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Exploitation in the wild

CISA added CVE-2013-1331 to the Known Exploited Vulnerabilities catalog on 8 June 2022 as "Microsoft Office Buffer Overflow Vulnerability". Required action: Apply updates per vendor instructions. Federal deadline 22 June 2022.

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2013-1331 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2023-23397Microsoft Outlook improper input validation privilege escalationCVE-2023-23397 is a critical elevation of privilege flaw in Microsoft Outlook caused by improper input validation and an authentication bypass by cap…KEVEPSS 97%analysed8.8CVE-2023-35311Microsoft Outlook security feature bypass via TOCTOU race conditionCVE-2023-35311 is a security feature bypass in Microsoft Outlook caused by a time-of-check time-of-use (TOCTOU) race condition (CWE-367). It affects …KEVEPSS 16%analysed8.8CVE-2019-1297Microsoft Excel memory handling flaw allows remote code executionCVE-2019-1297 is a remote code execution vulnerability in Microsoft Excel caused by improper handling of objects in memory. An attacker who convinces…KEVEPSS 22%analysed8.8CVE-2019-0541Microsoft MSHTML engine input validation flaw allows remote code executionThe MSHTML engine in Microsoft Office, Internet Explorer and related viewers fails to properly validate input, allowing remote code execution. Becaus…KEVEPSS 53%analysed8.8CVE-2018-0798Microsoft Office Equation Editor memory corruption RCEEquation Editor in Microsoft Office 2007 through 2016 mishandles objects in memory, producing an out-of-bounds write (CWE-787) that can be turned int…KEVEPSS 95%analysed8.8CVE-2015-2424Microsoft Office memory corruption via crafted documentCVE-2015-2424 is an out-of-bounds write (CWE-787) in Microsoft PowerPoint and Word that is triggered when a crafted Office document is opened. A remo…KEVEPSS 40%analysed8.8CVE-2015-1770Microsoft Office uninitialized memory use allows remote code executionMicrosoft Office 2013 SP1 and 2013 RT SP1 mishandle uninitialized memory when parsing a crafted Office document, which can lead to arbitrary code exe…KEVEPSS 35%analysed8.8CVE-2012-1856Microsoft Office MSCOMCTL.OCX TabStrip ActiveX Control Remote Code ExecutionThe TabStrip ActiveX control in MSCOMCTL.OCX fails to properly handle system state, allowing a crafted document or web page to corrupt memory and exe…KEVEPSS 72%analysed

Source: NIST National Vulnerability Database (record CVE-2013-1331), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.