CVE-2018-9338
NixOS vulnerability analysis and mitigation

Overview

CVE-2018-9338 is a vulnerability discovered in Android's ResourceTypes.cpp file, specifically in the ResStringPool::setTo function. The vulnerability was disclosed in June 2018 and affects Android versions 6.0 through 8.1. This security flaw involves an out-of-bounds write vulnerability due to a missing bounds check (Android Bulletin).

Technical details

The vulnerability is classified as a high-severity elevation of privilege (EoP) issue with a CVSS v3.1 base score of 7.8. The vulnerability stems from a missing bounds check in the ResStringPool::setTo function within ResourceTypes.cpp, which could lead to an out-of-bounds write condition. The vulnerability affects multiple versions of Android including 6.0, 6.0.1, 7.0, 7.1.1, 7.1.2, 8.0, and 8.1 (NVD).

Impact

The vulnerability could enable a local attacker to achieve elevation of privilege without requiring additional execution privileges. The successful exploitation of this vulnerability could lead to local escalation of privilege, potentially allowing an attacker to gain elevated access to system resources that would normally be protected (Android Bulletin).

Mitigation and workarounds

Google addressed this vulnerability in the Android Security Bulletin of June 2018. The fix was included in the security patch level 2018-06-01. Users are advised to update their Android devices to a security patch level of 2018-06-01 or later to address this vulnerability (Android Bulletin).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-14330CRITICAL9.8
  • NixOSNixOS
  • rhel10::firefox-flatpak
NoYesDec 09, 2025
CVE-2025-14329HIGH8.8
  • NixOSNixOS
  • cpe:2.3:a:mozilla:firefox
NoYesDec 09, 2025
CVE-2025-14333HIGH8.1
  • NixOSNixOS
  • firefox
NoYesDec 09, 2025
CVE-2025-14332HIGH7.3
  • NixOSNixOS
  • cpe:2.3:a:mozilla:firefox
NoYesDec 09, 2025
CVE-2025-14331MEDIUM6.5
  • NixOSNixOS
  • rhel10::thunderbird-flatpak
NoYesDec 09, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management