CVE-2025-21042
Samsung Mobile Devices · Samsung Mobile Devices Out-of-Bounds Write Vulnerability
Actively exploited
What is CVE-2025-21042?
The Samsung mobile device vulnerability involves an out-of-bounds write flaw located within the libimagecodec.quram.so component. This security weakness allows a remote attacker to execute arbitrary code on an affected device. Because this flaw is actively exploited, it poses a significant risk to the security and integrity of the system, potentially granting unauthorized individuals control over the device.
Users of Samsung mobile devices should be concerned about this vulnerability. To protect your device, you must install the latest security update provided by Samsung. Check your device settings for available software updates and apply them immediately to ensure the patch is installed. If an update is not yet available for your specific device, remain vigilant and avoid interacting with suspicious files or links that could trigger this code execution.
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 write vulnerability in libimagecodec.quram.so. This vulnerability could allow remote attackers to execute arbitrary code.
CISA added this vulnerability to its Known Exploited Vulnerabilities catalog on 10 November 2025, 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-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-25487 Samsung Mobile Devices – Samsung Mobile Devices Out-of-Bounds Read 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