CVE-2018-21054 in Google Android and 13 more products
An issue was discovered on Samsung mobile devices with M(6.0), N(7.x) and O(8.x) except exynos9610/9820 in all Platforms, M(6.0) except MSM8909 SC77xx/9830 exynos3470/5420, N(7.0) except MSM8939, N(7.1) except MSM8996 SDM6xx/M6737T software. There is an integer underflow with a resultant buffer overflow in eCryptFS....
Affects 14 products from 5 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Android | 6.0 7.0 7.1 7.1.0 7.1.1 7.1.2+2 more8.0 8.1 |
Platforms listed by the source (the vulnerable product runs on these; they are not themselves vulnerable): Mediatek M6737T, Qualcomm Msm9830, Qualcomm Msm8996, Qualcomm Sdm6Xx, Qualcomm Msm8939, Qualcomm Msm8909, Samsung Exynos 5420, Samsung Exynos 9610, Samsung Exynos 9820, Samsung Exynos 3470, Unisoc Sc7715, Unisoc Sc7730, Unisoc Sc7731
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
An issue was discovered on Samsung mobile devices with M(6.0), N(7.x) and O(8.x) except exynos9610/9820 in all Platforms, M(6.0) except MSM8909 SC77xx/9830 exynos3470/5420, N(7.0) except MSM8939, N(7.1) except MSM8996 SDM6xx/M6737T software. There is an integer underflow with a resultant buffer overflow in eCryptFS. The Samsung ID is SVE-2017-11857 (September 2018).
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2018-21054 |
|---|---|
| BreachSpider ID | BS-2020-GLOBAL-128566-C |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Published | 2020-04-08 |
| Last modified | 2024-11-21 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-190: Integer Overflow or Wraparound
Arithmetic operation exceeds the maximum integer value, wrapping around and often leading to undersized allocations.
Related attack patterns (CAPEC)
CAPEC-92 Forced Integer Overflow via CWE-190
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
An integer underflow leading to a buffer overflow in eCryptFS on Samsung mobile devices with Android versions M(6.0), N(7.x), and O(8.x) except specific models, poses a significant security risk.
An attacker could exploit this vulnerability to execute arbitrary code with elevated privileges, potentially leading to full system compromise.
Questions
What is CVE-2018-21054?
An integer underflow leading to a buffer overflow in eCryptFS on Samsung mobile devices with Android versions M(6.0), N(7.x), and O(8.x) except specific models, poses a significant security risk.
What is the CVSS score for CVE-2018-21054?
CVE-2018-21054 has CVSS 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 0.4%.
Is CVE-2018-21054 actively exploited?
No confirmed active exploitation of CVE-2018-21054 as of 2026-05-30.
How do I remediate CVE-2018-21054?
Priority: IMMEDIATE. PSIRT: [email protected]
What systems are affected by CVE-2018-21054?
CVE-2018-21054 affects Google Android.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Google","product":"Android","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2024-11-21.