CVE-2025-21043: Remote Code Execution in Samsung Quram Image Codec
- Vendor
- Samsung Electronics
CVE-2025-21043 is an out-of-bounds write in Samsung's Quram image codec library, libimagecodec.quram.so, before the September 2025 Security Maintenance Release (SMR) Release 1. The incorrect implementation can write outside an allocated memory buffer while processing attacker-controlled image content, enabling remote attackers to execute arbitrary code. Samsung identified Android 13, 14, 15, and 16 as affected and confirmed that exploitation existed in the wild prior to the fix.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation permits arbitrary code execution on a vulnerable Samsung Android device in the context of the image-processing component or calling application. This can enable device compromise and serve as an initial foothold for targeted surveillance malware or follow-on payloads. Exploitation in the wild has been confirmed by Samsung.
Mitigation
If you can’t patch tonight, do this now.
Until updates are deployed, reduce exposure to attacker-controlled image content, particularly images received through untrusted messaging contacts, email attachments, and web sources. Restrict use of untrusted messaging and image-handling applications where operationally feasible, and use mobile-device management to enforce timely security-update installation. Mitigations do not replace patching.
Remediation
Patch, then assume compromise.
Apply Samsung's September 2025 Security Maintenance Release, Release 1, or a later vendor security update containing the fix for CVE-2025-21043. Organizations should verify that managed Samsung devices have received the applicable Android security update and remove or replace devices that are no longer supported with security updates.
Exploits
No validated public exploits yet. Hidden: 1 rejected by Mallory's analysis as not a working exploit.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2025-21043 exploited in the wild?
- Yes. As of Oct 8, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Oct 2, 2025.
- Is there a public exploit for CVE-2025-21043?
- As of Oct 8, 2026, Mallory has found no public exploit for CVE-2025-21043.
- Is there a patch for CVE-2025-21043?
- Apply Samsung's September 2025 Security Maintenance Release, Release 1, or a later vendor security update containing the fix for CVE-2025-21043. Organizations should verify that managed Samsung devices have received the applicable Android security update and remove or replace devices that are no longer supported with security updates.
- What products are affected by CVE-2025-21043?
- Samsung Electronics Android.
- How severe is CVE-2025-21043?
- CVE-2025-21043 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 1.3% (71st percentile) as of Oct 8, 2026.
Recent activity
94 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.