Skip to content
Server Security Center
KEVhigh7.8 Used in ransomware campaigns

CVE-2018-4878: Adobe Flash Player Use-After-Free

Adobe Flash Player · listed in the CISA catalog of actively exploited vulnerabilities since 2021-11-03.

CVSS v3.1 (Ubuntu)
7.8
high
EPSS (exploit probability, 30 days)
90%
higher than 99.8% of all CVEs
Added to CISA KEV
2021-11-03
US federal due date 2022-05-03
Ubuntu priority
medium

CVE-2018-4878 explained

CVE-2018-4878 is a use-after-free vulnerability in Adobe Flash Player before 28.0.0.161, caused by a dangling pointer in the Primetime SDK's handling of listener objects. A successful attack can lead to arbitrary code execution. It was exploited in the wild in January and February 2018 and is listed in the CISA Known Exploited Vulnerabilities catalog with known ransomware use.

Impact

A successful attack can lead to arbitrary code execution. According to the CVSS components, the attack vector is local, complexity is low, no privileges are required, and user interaction is required. Confidentiality, integrity and availability impacts are all high. CISA reports known ransomware use and states the product is end-of-life and should be disconnected if still in use.

Who is affected

The affected source package is flashplugin-nonfree on Ubuntu 14.04 LTS and Ubuntu 16.04 LTS. Both releases have fixed versions in the standard archive: 28.0.0.161ubuntu0.14.04.1 for Ubuntu 14.04 LTS and 28.0.0.161ubuntu0.16.04.1 for Ubuntu 16.04 LTS. Both releases are end of life. The upstream fix is in Adobe Flash Player 28.0.0.161.

Written with AI from the data on this page and checked against it automatically.

Official description

A use-after-free vulnerability was discovered in Adobe Flash Player before 28.0.0.161. This vulnerability occurs due to a dangling pointer in the Primetime SDK related to media player handling of listener objects. A successful attack can lead to arbitrary code execution.

This was exploited in the wild in January and February 2018.

CISA required action: The impacted product is end-of-life and should be disconnected if still in use.

CISA notes

Upstream versions (CVE record)

From the CVE record published by the vendor or CVE numbering authority.

  • Adobe Flash Player before 28.0.0.161
    Affected
    • Adobe Flash Player before 28.0.0.161
    Fixed in
    not stated

    Version statement as published by the CNA (free text).

Ubuntu and Debian releases

A server is vulnerable if it has a package built from the listed source package installed in a version lower than the fixed version for its release.

What to do

  1. Check whether flashplugin-nonfree is installed on any system.
  2. If it is installed, update it to at least the fixed version for your release.
  3. Follow the CISA required action: Flash Player is end-of-life and should be disconnected or removed if still in use.
  4. Restart browsers or applications that loaded the Flash plugin so they stop using old code.
  5. Upgrade Ubuntu 14.04 LTS and Ubuntu 16.04 LTS systems to a supported release, since both are end of life.

Written with AI from the data on this page and checked against it automatically.

Check and fix on a server

Run on each Ubuntu or Debian server. Replace flashplugin-nonfree with the source package from the table above.

1. Show installed packages built from the source package, with their versions

dpkg-query -W -f='${binary:Package} ${Version} ${source:Package}\n' | awk '$3=="flashplugin-nonfree"'

2. Compare each installed version with the fixed version for your release from the table

I=INSTALLED_VERSION; F=FIXED_VERSION   # replace both
dpkg --compare-versions "$I" lt "$F"; case $? in 0) echo vulnerable ;; 1) echo "fixed or newer" ;; *) echo "check the versions" ;; esac

3. Install the fix

sudo apt update && sudo apt install --only-upgrade $(dpkg-query -W -f='${binary:Package} ${source:Package}\n' | awk '$2=="flashplugin-nonfree"{print $1}')

Services keep running the old code until they are restarted – restart the affected service or check with needrestart.

CISA's assessment (SSVC)

Exploitation
Exploited in the wild
Automatable
No – each attack needs manual steps
Technical impact
Total – full control of the component or total information disclosure

Weakness: CWE-416 Use After Free

Questions about CVE-2018-4878

Is this vulnerability being exploited?
Yes. It was exploited in the wild in January and February 2018. CISA added it to its Known Exploited Vulnerabilities catalog on 2021-11-03 and reports known ransomware use.
Is installing the fixed package enough?
The fixed versions address this CVE, but CISA states the product is end-of-life and should be disconnected if still in use. Removing Flash Player is the safer choice.
Which Ubuntu releases are affected?
Ubuntu 14.04 LTS and Ubuntu 16.04 LTS, through the flashplugin-nonfree package. Both have fixed versions, but both releases are end of life and should be upgraded.

Written with AI from the data on this page and checked against it automatically.

References

Data: CISA Known Exploited Vulnerabilities (public domain) · CVE Program records incl. CISA ADP enrichment · OSV.dev (CC BY 4.0) incl. Ubuntu and Debian security data · FIRST EPSS · endoflife.date. Updated automatically – facts last changed 2026-11-22. Always confirm with the vendor's or distribution's advisory before patching.