---
id: "CVE-2025-21042"
kind: "vulnerability"
aliases: ["CVE-2025-21042"]
title: "samsung android: Out-of-bounds write in libimagecodec.quram.so prior to SMR Apr-2025 Release 1 allows remote attackers to execute\u2026"
severity: "critical"
cvss: 9.8
epss: null
exploited: true
status: "open"
category: "infrastructure"
products: [{"name": "Samsung Mobile Devices", "fixed": [], "affected": "", "ecosystem": "vendor"}, {"name": "samsung android", "fixed": [], "affected": "= 13.0", "ecosystem": "vendor"}, {"name": "samsung android", "fixed": [], "affected": "= 14.0", "ecosystem": "vendor"}, {"name": "samsung android", "fixed": [], "affected": "= 15.0", "ecosystem": "vendor"}]
ecosystems: ["vendor"]
tags: ["android", "exploited", "infrastructure", "mobile", "samsung"]
not_affected_if: ["unpatched-devices-only-if-updated"]
published_at: "2025-09-12T08:15:44+00:00"
first_seen_at: "2026-10-23T19:11:51+00:00"
updated_at: "2026-10-23T23:44:51+00:00"
sources: [{"source": "kev", "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog?search_api_fulltext=CVE-2025-21042", "first_seen_at": "2026-10-23T19:11:51+00:00"}, {"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-21042", "first_seen_at": "2026-10-23T23:44:51+00:00"}]
---

# samsung android: Out-of-bounds write in libimagecodec.quram.so prior to SMR Apr-2025 Release 1 allows remote attackers to execute…

Samsung mobile devices contain an out-of-bounds write flaw in the libimagecodec.quram.so image codec library. A remote attacker could exploit it to execute arbitrary code on the device.

_Summary, check and fix written by a model from the sources; labelled as such._

## Affected

- vendor:Samsung Mobile Devices affected ? fixed ?
- vendor:samsung android affected = 13.0 fixed ?
- vendor:samsung android affected = 14.0 fixed ?
- vendor:samsung android affected = 15.0 fixed ?

## How to check

Check the Samsung device's security patch level in Settings > About phone > Software information; compare it with Samsung's bulletin for the month the fix shipped. unknown for a command.

## Fix

Install the latest Samsung security update for the affected device; the sources do not name the fixed patch level. unknown for the exact version.

## Timeline

- 2026-10-23T19:11:51+00:00 kev https://www.cisa.gov/known-exploited-vulnerabilities-catalog?search_api_fulltext=CVE-2025-21042
- 2026-10-23T23:44:51+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2025-21042

## From the sources

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 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.

---

_Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai_
