Skip to main content
Mallory
HighExploited in the wildCISA KEVPublic exploitVulnerability

CVE-2018-4878: Use-after-free remote code execution in Adobe Flash Player

Published Feb 6, 2018 · Updated 21 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS7.8High · v3.1
EPSS90.3%100th percentile
CISA KEVYesAdded Nov 3, 2021
In the wildActivePer CISA KEV
Vendors
Red HatAdobe
IdentifiersCVE-2018-4878CWE-416 · Use After Free

CVE-2018-4878 is a use-after-free vulnerability in Adobe Flash Player versions before 28.0.0.161. A dangling pointer in the Primetime SDK's handling of media-player listener objects, associated with the DRMManager initialize call, allows specially crafted Flash content to trigger arbitrary code execution. Attack vectors include embedded Flash content in Microsoft Office documents and malicious web pages. The vulnerability was exploited as a zero-day by APT37 as early as September 2017 and subsequently adopted by other state-sponsored actors and criminal exploit kits.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation permits arbitrary code execution in the affected application's security context, potentially compromising accessible data and enabling malware deployment. Observed campaigns used the vulnerability to deliver espionage malware, ransomware, and cryptocurrency-mining malware. Resulting confidentiality, integrity, and availability impacts depend on the executing process's privileges and the deployed payload; the vulnerability does not itself establish privilege escalation.

Mitigation

If you can’t patch tonight, do this now.

Disable or remove Flash Player to prevent malicious Flash content from executing. Enable Microsoft Office Protected View to reduce exposure from untrusted documents, and avoid opening suspicious attachments or links, particularly documents containing embedded Flash content. Where immediate removal or patching is not possible, apply exploit-blocking or virtual-patching controls that cover CVE-2018-4878. These controls are supplementary and do not replace remediation.

Remediation

Patch, then assume compromise.

Adobe Flash Player 28.0.0.161 addressed this vulnerability through security update APSB18-03. For historical installations, upgrading to that release or a later patched release fixes this specific flaw. Remove Flash Player and migrate dependent applications to supported alternatives rather than retaining end-of-life software.

Public exploits

Exploits

2 exploits validated by Mallory's analysis. Hidden: 2 rejected by Mallory's analysis as not a working exploit; 3 not yet analyzed, such as Exploit-DB entries.

View more in app →
CVE-2018-4878This repository contains a proof-of-concept exploit for CVE-2018-4878, a critical use-after-free vulnerability in Adobe Flash Player. The main file, Flashp0c.py, is a Python script that generates a malicious SWF file containing Windows shellcode (calc.exe) and an HTML file that embeds the SWF. The script then starts a local HTTP server on port 8080, serving these files to potential victims. When a vulnerable browser loads the index.html page, the embedded SWF triggers the vulnerability, resulting in execution of the shellcode (calc.exe) on the victim's Windows system. The exploit is operational, with a hardcoded payload, and is intended for demonstration and research purposes. The README provides context and credits, referencing the original PoC and the author's modifications.SyFi · Disclosed Apr 4, 2018 · python · browserOperationalCVE-2018-4878This repository is a proof-of-concept (POC) exploit for CVE-2018-4878, a use-after-free vulnerability in Adobe Flash Player (version 27, 32-bit). The exploit is implemented as a malicious SWF file, with supporting ActionScript 3 source code in the 'src' directory. The main exploit logic is in 'Main.as', which triggers the vulnerability by manipulating DRM event listeners and ByteArray objects, resulting in a corrupted ByteArray with arbitrary memory read/write capabilities. The 'bin/index.html' file is used to load the SWF in a browser environment, leveraging 'swfobject.js' for embedding. The exploit does not include a weaponized payload but demonstrates the ability to gain memory access, which can be used for further exploitation. The repository is structured for research and demonstration purposes, with clear separation between source, build, and deployment files. No hardcoded network endpoints or external C2 infrastructure are present; the attack is delivered via a browser loading the malicious SWF.mdsecactivebreach · Disclosed Feb 9, 2018 · actionscript · javascript · browserPoC
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
AdobeFlash Playerapplication
Red HatEnterprise Linux Desktopoperating_system
Red HatEnterprise Linux Serveroperating_system
Red HatEnterprise Linux Workstationoperating_system
FAQ

Frequently asked questions

Is CVE-2018-4878 exploited in the wild?
Yes. As of Oct 31, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Nov 3, 2021.
Is there a public exploit for CVE-2018-4878?
Yes. Mallory tracks 2 public exploits or proofs of concept for CVE-2018-4878, the earliest disclosed Feb 9, 2018.
Is there a patch for CVE-2018-4878?
Adobe Flash Player 28.0.0.161 addressed this vulnerability through security update APSB18-03. For historical installations, upgrading to that release or a later patched release fixes this specific flaw.
What products are affected by CVE-2018-4878?
Adobe Flash Player, Red Hat Enterprise Linux Desktop, Red Hat Enterprise Linux Server, and Red Hat Enterprise Linux Workstation.
How severe is CVE-2018-4878?
CVE-2018-4878 has a CVSS v3.1 score of 7.8 (High) and an EPSS score of 90.3% (100th percentile) as of Oct 31, 2026.
Activity feed

Recent activity

27 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
+18 more in the timeline. Sign up to see them
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidence15Every report linking this CVE to a named adversary.
Associated malware16Malware families linked to this CVE, with evidence and IOCs.
Detection signatures3YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activityCommunity discussion across Reddit, Mastodon, and other social sources.