Home / Google / Android / CVE-2016-5340
CVE-2016-5340: is it exploited, and which versions of Google Android are affected and fixed?
CVE-2016-5340 is an improper input validation vulnerability in Google Android. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 07:08 UTC). Affected: android through 7.0 and linux kernel from 3.0 through 3.19.8 (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: High (7.8, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 07:08 UTC, CVE record November 19, 2026, 07:18 UTC and NVD November 19, 2026, 08:45 UTC.
What is CVE-2016-5340?
The is_ashmem_file function in drivers/staging/android/ashmem.c in a certain Qualcomm Innovation Center (QuIC) Android patch for the Linux kernel 3.x mishandles pointer validation within the KGSL Linux Graphics Module, which allows attackers to bypass intended access restrictions by using the /ashmem string as the dentry name.
From the CVE record by mitre, last updated August 6, 2024, 01:01 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| android | through 7.0 | operating system | |
| linux | linux kernel | from 3.0 through 3.19.8 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 00:49 UTC.
How severe is CVE-2016-5340?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.8 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD |
| High 7.2 | CVSS 2.0 | AV:L/AC:L/Au:N/C:C/I:C/A:C | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2016-5340 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 0.30% probability of exploitation activity in the next 30 days, percentile 24.9 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-20 Improper Input Validation
Where are the vendor advisories and references?
- https://www.codeaurora.org/invalid-path-check-ashmem-memory-file-cve-2016-5340 x_refsource_CONFIRM
- 92374 vdb-entry, x_refsource_BID
- http://source.android.com/security/bulletin/2016-10-01.html x_refsource_CONFIRM
- https://source.codeaurora.org/quic/la/kernel/msm-3.10/commit/?id=06e51489061e5473b4e2035c79dcf7c27a6f75a6 x_refsource_CONFIRM
- 1036763 vdb-entry, x_refsource_SECTRACK
When was it published, and where is the official record?
- Reserved
- June 9, 2016
- Published
- August 7, 2016, 21:00 UTC
- CVE record updated
- August 6, 2024, 01:01 UTC by mitre
- NVD
- Modified, last modified June 17, 2026, 00:49 UTC
- Last checked
- CVE list November 19, 2026, 07:18 UTC; NVD November 19, 2026, 08:45 UTC; KEV December 3, 2026, 07:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Android?
- Sep 15, 2026CVE-2026-58704 Google Android: improper authorization exploited
- Jun 1, 2026CVE-2025-48595 Google Android: integer overflow exploited
- Dec 8, 2025CVE-2025-48633 Google Android: Information disclosure exploited
- Dec 8, 2025CVE-2025-48572 Google Android: missing authentication for a critical function exploited
- Sep 4, 2025CVE-2025-48543 Google Android: use after free exploited
- Nov 13, 2024CVE-2024-43093 Google Android: improper Handling of Unicode Encoding exploited
- Jun 13, 2024CVE-2024-32896 Google Android: always-incorrect control flow exploited
- Apr 5, 2024CVE-2024-29748 Google Android: exceptional condition mishandled exploited
Questions about CVE-2016-5340
Is CVE-2016-5340 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 07:08 UTC. FIRST's EPSS gives it a 0.30% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Google Android are affected by CVE-2016-5340?
android through 7.0 and linux kernel from 3.0 through 3.19.8, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2016-5340?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2016-5340?
High (7.8, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2016-5340?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.