Skip to content
Server Security Center
KEVhigh7.8

CVE-2018-5002: Adobe Flash Player Stack-based Buffer Overflow

Adobe Flash Player · listed in the CISA catalog of actively exploited vulnerabilities since 2022-05-23.

CVSS v3.1 (Ubuntu)
7.8
high
EPSS (exploit probability, 30 days)
24%
higher than 97.8% of all CVEs
Added to CISA KEV
2022-05-23
US federal due date 2022-06-13
Ubuntu priority
medium

CVE-2018-5002 explained

CVE-2018-5002 is a stack-based buffer overflow in Adobe Flash Player versions 29.0.0.171 and earlier. Successful exploitation can lead to arbitrary code execution as the current user. The flaw is listed in CISA's Known Exploited Vulnerabilities catalog, and CISA notes that the product is end-of-life and should be disconnected if still in use.

Impact

An attacker who succeeds can run arbitrary code with the privileges of the user running Flash Player. This can fully compromise that user's data and session, affecting confidentiality, integrity and availability. User interaction is required, and no prior privileges are needed. Attack complexity is low. The CVSS vector rates the attack as local. The vulnerability is known to be exploited, but known ransomware use is listed as unknown.

Who is affected

The affected source package is flashplugin-nonfree. Ubuntu 14.04 LTS has a fix in 30.0.0.113ubuntu0.14.04.1, Ubuntu 16.04 LTS in 30.0.0.113ubuntu0.16.04.1, and Ubuntu 18.04 LTS in 30.0.0.113ubuntu0.18.04.1, all in the standard archive. Ubuntu 14.04 LTS and 16.04 LTS are end of life. Ubuntu 18.04 LTS standard support has ended, and further fixes there come only through Ubuntu Pro (ESM). No Debian releases are listed in the facts.

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

Official description

Adobe Flash Player versions 29.0.0.171 and earlier have a Stack-based buffer overflow vulnerability. Successful exploitation could lead to arbitrary code execution in the context of the current user.

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 29.0.0.171 and earlier versions
    Affected
    • Adobe Flash Player 29.0.0.171 and earlier versions
    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. Where it is still needed, update flashplugin-nonfree to at least the fixed version for your release.
  3. Following CISA's guidance, remove or disconnect Flash Player, since the product is end-of-life.
  4. Restart browsers after updating or removing the plugin so that old code is no longer loaded.
  5. Upgrade systems running Ubuntu 14.04 LTS or 16.04 LTS to a supported release.

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-121 Stack-based Buffer Overflow

Questions about CVE-2018-5002

Is this vulnerability actively exploited?
Yes. CISA added CVE-2018-5002 to its Known Exploited Vulnerabilities catalog on 2022-05-23, with a US federal due date of 2022-06-13. Known ransomware use is listed as unknown.
Is updating the package enough?
Fixed flashplugin-nonfree packages exist for the listed Ubuntu releases. However, CISA states that Flash Player is end-of-life and should be disconnected if still in use. Removing it is the safer option.
What privileges does an attacker gain?
Successful exploitation allows arbitrary code execution in the context of the current user, meaning the attacker gets the same access as the user running Flash Player.

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-21. Always confirm with the vendor's or distribution's advisory before patching.