In ResStringPool::setTo of ResourceTypes.cpp, there is a possible out of bounds write due to a missing bounds check. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.
No PoCs from references.
- https://github.com/Pazhanivelmani/frameworks_base_Android_6.0.1_r22_CVE-2018-9338
- https://github.com/plzheheplztrying/cve_monitor