Highlights
Integer Overflow: 1 prior fix. Scrutinize any change in this area.
Android/MMKV/mmkv/src/main/java/com/tencent/mmkv/MMKV.java: most-fixed (1 issue). Treat as high-risk during review.
2 high-severity fixes in this history; regressions here are high-impact.
Recurring patterns
The bug types that recur here, drawn from past fixes, not open vulnerabilities.
Integer Overflow: Incorrect interpretation of unsigned native pointers with high bits set as negative numbers can bypass safety checks or trigger false errors during JNI buffer instantiation. Developers must ensure pointer validation does not rely on signed comparisons.
Path Traversal: Parsing malicious protobuf payloads containing invalid sizes or paths can trigger out-of-bounds memory reading or directory traversal during string reconstruction. Input deserializers must thoroughly validate offset boundaries and canonicalize paths before reading.