CVE-2021-25487
Samsung Mobile Devices · Samsung Mobile Devices Out-of-Bounds Read Vulnerability
Actively exploited
What is CVE-2021-25487?
This vulnerability exists in the modem interface driver of Samsung mobile devices. It occurs because the software fails to properly check data boundaries when processing information in the system buffer. An attacker can exploit this flaw to execute malicious code remotely on a device. By triggering this error, the attacker gains the ability to manipulate the device by using an invalid function pointer, which bypasses normal security protections and allows unauthorized commands to run.
This security flaw affects people who use Samsung mobile devices. Because this vulnerability is actively exploited, it poses a significant risk to your data and device integrity. You should immediately check for and install any available security updates provided by Samsung. Applying these software updates is the only way to fix the underlying driver issue and protect your device from potential remote attacks.
Summary written with AI assistance from the sources listed on this page. Check the original sources for full technical details.
CISA description
Samsung mobile devices contain an out-of-bounds read vulnerability within the modem interface driver due to a lack of boundary checking of a buffer in set_skb_priv(), leading to remote code execution by dereference of an invalid function pointer.
CISA added this vulnerability to its Known Exploited Vulnerabilities catalog on 29 June 2023, which means there is reliable evidence that attackers are using it in real attacks.
What to do
Install the security update or apply the mitigations published by Samsung as soon as possible. If no fix is available, follow the vendor's workaround or stop using the affected product until it can be patched. For internet-facing systems, also check for signs of compromise, because the flaw may have been used before you patched.
References
Other exploited Samsung vulnerabilities
- CVE-2024-7399 Samsung MagicINFO 9 Server – Samsung MagicINFO 9 Server Path Traversal Vulnerabilityadded
24 April 2026 - CVE-2025-21042 Samsung Mobile Devices – Samsung Mobile Devices Out-of-Bounds Write Vulnerabilityadded
10 November 2025 - CVE-2025-21043 Samsung Mobile Devices – Samsung Mobile Devices Out-of-Bounds Write Vulnerabilityadded
2 October 2025 - CVE-2025-4632 Samsung MagicINFO 9 Server – Samsung MagicINFO 9 Server Path Traversal Vulnerabilityadded
22 May 2025 - CVE-2022-22265 Samsung Mobile Devices – Samsung Mobile Devices Use-After-Free Vulnerabilityadded
18 September 2023 - CVE-2021-25489 Samsung Mobile Devices – Samsung Mobile Devices Improper Input Validation Vulnerabilityadded
29 June 2023 - CVE-2021-25395 Samsung Mobile Devices – Samsung Mobile Devices Race Condition Vulnerabilityadded
29 June 2023 - CVE-2021-25394 Samsung Mobile Devices – Samsung Mobile Devices Race Condition Vulnerabilityadded
29 June 2023