CVE-2024-21668: react-native-mmkv is a library that allows easy use of MMKV inside React Native applications
CVE-2024-21668 is a medium-severity flaw (CVSS 4.4) affecting react-native-mmkv. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
react-native-mmkv is a library that allows easy use of MMKV inside React Native applications. Before version 2.11.0, the react-native-mmkv logged the optional encryption key for the MMKV database into the Android system log. The key can be obtained by anyone with access to the Android Debugging Bridge (ADB) if it is enabled in the phone settings. This bug is not present on iOS devices. By logging the encryption secret to the system logs, attacker
Why this priority
- No elevated risk signals yet
A fixed release or distro patch exists.
Risk facts
| CVSS score | 4.4 (Medium) |
| Attack vector | Local |
| Attack complexity | Low |
| Privileges needed | High |
| User interaction | None |
| EPSS exploit chance | 0.4% (top 68%) |
| CISA exploited list | No |
| Weakness | CWE-532 |
| Published | 2024-01-09 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2024-21668?
react-native-mmkv: upgrade to 2.11.0. Exact commands for each OS are on this page.
Is CVE-2024-21668 being exploited?
CVE-2024-21668 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2024-21668 affect?
CVE-2024-21668 affects react-native-mmkv. Severity is medium (CVSS 4.4). react-native-mmkv is a library that allows easy use of MMKV inside React Native applications. Before version 2.11.0, the react-native-mmkv logged the optional encryption key for the MMKV database into the Android system log. The key can be
How urgent is CVE-2024-21668?
Priority 23/100. No elevated risk signals yet.
Software pages
React vulnerabilities · Android vulnerabilities · iOS vulnerabilities