Out-of-Bounds Write Vulnerability in Samsung's Image Codec Library
CVE-2025-21042
Key Information:
- Vendor
Samsung
- Status
- CVE ID
- CVE ID:
- CVE-2025-21042
- Vendor
- CVE Published:
- 12 September 2025
Timeline
Exploit known 56 days after it was published
- ๐ฅ
Vulnerability reached the number 1 worldwide trending spot
- ๐ฆ
CISA Reported
- ๐
Vulnerability started trending
- ๐ฐ
Used in Ransomware
- ๐พ
Exploit known to exist
- ๐ฐ
First article discovered by SecurityWeek
Vulnerability published
Vulnerability Reserved
Badges
How risky is it?
- Partly: Works over the network, but a user must act
- Partly: Exploitation or a working exploit reported
- Yes: Attacked in the wild (on CISA's KEV list)
- Yes: Used by ransomware
Our verdict
Patch now
Attackers are using it. Patch or mitigate today.
What to do
1Check the vendor's fix
No fixed version is recorded yet. The vendor advisory is the authoritative source for patches.
Read the vendor advisory โ2Follow CISA's required action
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
3Can't patch yet? Reduce exposure
It can be reached over the network, so limit who can reach Samsung Devices. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.
4Look for signs of compromise
It is being exploited in the wild, so check logs on exposed Samsung Devices systems for unusual requests or new processes from before you patched.
5Why it's rated "Patch now"
- CISA lists it as a Known Exploited Vulnerability, so it is being attacked in the wild.
- Ransomware groups use it.
- Exploitation or a working exploit has been reported.
- EPSS gives it a 35.6% chance of exploitation in the next 30 days.
- Its CVSS severity is high (8.8).
What is CVE-2025-21042?
CVE-2025-21042 is an out-of-bounds write vulnerability in Samsung's Image Codec Library, specifically in the libimagecodec.quram.so component. This flaw allows remote attackers to execute arbitrary code on affected Samsung devices. The vulnerability can be triggered through specially crafted image files, leading to unauthorized actions on the device.
The vulnerability has been exploited in the wild, with attackers using it to install commercial-grade spyware on smartphones. Samsung released a patch for this issue in April 2025.
Potential Impact of CVE-2025-21042
-
Arbitrary Code Execution: Attackers can execute arbitrary code on affected devices, potentially leading to full control over the device.
-
Spyware Installation: Successful exploitation allows attackers to install spyware, compromising user privacy and data security.
CISA has reported CVE-2025-21042
CISA provides regional cyber and physical services to support security and resilience across the United States. CISA monitor the most dangerous vulnerabilities and have identified CVE-2025-21042 as being exploited . Our sources show ransomware groups using it, even though CISA's catalog does not flag ransomware use yet.
The CISA's recommendation is: Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Affected Version(s)
Samsung Mobile Devices SMR Apr-2025 Release in Android 13, 14, 15
News Articles
Week in review: Windows kernel flaw patched, suspected Fortinet FortiWeb zero-day exploited - Help Net Security
Hereโs an overview of some of last weekโs most interesting news, articles, interviews and videos: Adopting a counterintelligence mindset in luxury
Is Your Samsung Smartphone Protected? CISA Issues 21-Day Spyware Warning
Following confirmation of a Samsung smartphone spyware zero-day attack, the Cybersecurity and Infrastructure Security Agency urges organizations to update now.
CISA: Patch Samsung flaw exploited to deliver spyware (CVE-2025-21042) - Help Net Security
CISA has added CVE-2025-21042, a vulnerability affecting Samsung mobile devices that has been used to deliver spyware, to its KEV catalog.
References
More Samsung Vulnerabilities
Buffer Overflow in libimagecodec.quram.so
Use After Free in PROCA Driver
Out-of-bounds Write in libimagecodec.quram.so
Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities ยท Report a correction