---
id: CVE-2025-21042
title: >-
  Out-of-bounds write in libimagecodec.quram.so prior to SMR Apr-2025 Release 1
  allows remote attackers to execute arbitrary code.
summary: >-
  Out-of-bounds write in libimagecodec.quram.so prior to SMR Apr-2025 Release 1
  allows remote attackers to execute arbitrary code.
severity: high
cvss: 8.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'
cwe:
  - CWE-787
vendor: samsung
product: android
affected:
  - android = 13.0
  - android = 14.0
  - android = 15.0
published: '2025-09-12'
updated: '2026-09-30'
sourceUpdated: '2026-09-30T23:10:00.237'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-21042'
references:
  - url: 'https://security.samsungmobile.com/securityUpdate.smsb?year=2025&month=04'
    label: mobile.security@samsung.com
  - url: >-
      https://unit42.paloaltonetworks.com/landfall-is-new-commercial-grade-android-spyware/
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
  - url: >-
      https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-21042
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
tags:
  - nvd
  - kev
  - in-the-wild
  - exploit-available
epss: 0.3317
epssPercentile: 0.98318
kev: true
kevDateAdded: '2025-11-10'
kevDueDate: '2025-12-01'
kevRansomware: false
exploited: true
exploits:
  github: 1
  githubRepos:
    - 'https://github.com/patricnilackshan/Samsung-CVE-2025-21042'
  checkedAt: '2026-09-30T23:30:07.496Z'
exploitAvailable: true
ingestedAt: '2026-09-30T23:29:32.382Z'
---

## Overview

Out-of-bounds write in libimagecodec.quram.so prior to SMR Apr-2025 Release 1 allows remote attackers to execute arbitrary code.

## Affected

- `android = 13.0`
- `android = 14.0`
- `android = 15.0`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
