Security Advisory

CVE-2025-21043: Samsung Quram Image Codec Zero-Day

Last updated:
  • CVE-2025-21043

CVE-2025-21043 is an out-of-bounds write in libimagecodec.quram.so, the image codec library on Samsung Galaxy devices, that lets a remote attacker execute code. Samsung was told an exploit existed in the wild. NVD scores it 9.8 and CISA lists it in KEV. Android 13 to 16 are affected; SMR Sep-2025 Release 1 fixes it.

Vulnerability summary

CVSS base score

9.8

Critical severity

EPSS score (FIRST)

2.2%

Probability of exploitation in the wild in the next 30 days

CISA KEV catalog

Yes

Listed as known exploited

Published

Vulnerability ID: CVE-2025-21043 · Source: NVD

Affected components

ComponentCPEVersion range
Samsung Mobile Devices: libimagecodec.quram.so (Samsung image codec library)cpe:2.3:o:samsung:android:16.0:-:*:*:*:*:*:*Android 13, 14, 15 and 16 before SMR Sep-2025 Release 1 (Samsung SVE-2025-1702; NVD CPEs list Samsung Android 13.0, 14.0 and 15.0 up to SMR Aug-2025 and 16.0 up to SMR Aug-2025); fixed in SMR Sep-2025 Release 1 or later

What does this mean for affected devices?

The CVE record, published by Samsung Mobile on 2025-09-12, reads: "Out-of-bounds write in libimagecodec.quram.so prior to SMR Sep-2025 Release 1 allows remote attackers to execute arbitrary code." NVD's Primary score is CVSS v3.1 9.8 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H) with CWE-787. Samsung, the CNA, scores it 8.8 with user interaction required (UI:R). NVD's CPE configuration marks Samsung Android 13.0, 14.0, 15.0 and 16.0 up to SMR Aug-2025 as vulnerable (NVD, CVE record).

Which Samsung devices and firmware are affected?

Samsung's SMR September 2025 bulletin lists it as SVE-2025-1702, "Out-of-bounds Write in libimagecodec.quram.so", severity Critical, affected versions Android 13, 14, 15 and 16, reported on 13 August 2025 and privately disclosed; "The patch fixed the incorrect implementation." The bulletin adds: "Samsung was notified that an exploit for this issue has existed in the wild." Its acknowledgements credit the Meta and WhatsApp Security Teams for SVE-2025-1702. The bulletin names no models; the library is Samsung's own, so the exposure is Galaxy phones and tablets on Android 13 to 16 that run firmware older than the September 2025 maintenance release.

How is it related to CVE-2025-21042?

Both are out-of-bounds writes in the same library. CVE-2025-21042, fixed in April 2025, was used by LANDFALL spyware through malformed DNG images. Unit 42 says CVE-2025-21043 was disclosed to Samsung by WhatsApp in August 2025 as another DNG-related zero-day in Galaxy devices, and that it resembles an exploit chain that likely used it. Unit 42 did not attribute LANDFALL to CVE-2025-21043, and no public source we opened names the actor behind its exploitation.

How do you fix it?

Install the Samsung firmware update that carries SMR Sep-2025 Release 1 or later; that build also contains the April 2025 fix. Samsung's bulletin notes that delivery time varies by region and model, so confirm the security patch level on each device. CISA's required action is to apply mitigations per vendor instructions, follow BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable. For device makers, our memory corruption fix guide covers bounds checks in image and file parsers.

KEV and EPSS status

CISA added CVE-2025-21043 to KEV on 2025-10-02 as "Samsung Mobile Devices Out-of-Bounds Write Vulnerability", due 2025-10-23; known ransomware campaign use is Unknown. It is listed as of 2026-11-25 (catalog version 2026.11.24). FIRST EPSS gives it 0.02216, the 82.98th percentile, in the 2026-11-24 dataset (CISA KEV, FIRST EPSS). The low EPSS next to a KEV listing is a case our KEV and EPSS prioritization guide covers: the KEV listing wins.

How to fix this class of issueThis advisory's weakness class is Memory corruption. Our practical guide covers how to detect, fix, verify and disclose it: How to fix memory corruption in embedded firmware.

Evidence

  • NVD: status Analyzed; [email protected] Primary CVSS 3.1 9.8 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H; Samsung Secondary 8.8 with UI:R; CWE-787; CPEs samsung android 13.0, 14.0, 15.0, 16.0 up to smr-aug-2025-r1; published 2025-09-12; read 2026-11-25. — NVD
  • CVE record (assigner SamsungMobile): unaffected "SMR Sep-2025 Release in Android 13, 14, 15, 16", default affected. — CVE.org
  • Samsung SMR-SEP-2025: SVE-2025-1702 (CVE-2025-21043) Out-of-bounds Write in libimagecodec.quram.so, Critical, Android 13, 14, 15, 16, reported August 13, 2025, privately disclosed; patch fixed the incorrect implementation; "Samsung was notified that an exploit for this issue has existed in the wild." Acknowledgement: Meta and WhatsApp Security Teams: SVE-2025-1702. — Samsung Mobile Security
  • Unit 42 (November 7, 2025): August 2025 WhatsApp disclosed CVE-2025-21043 to Samsung, another DNG-related zero-day in Galaxy devices; September 2025 Samsung issued updates for it (SVE-2025-1702); LANDFALL exploited CVE-2025-21042. — Palo Alto Networks Unit 42
  • CISA KEV catalog version 2026.11.24: CVE-2025-21043 added 2025-10-02, due 2025-10-23, apply mitigations per vendor instructions, BOD 22-01, or discontinue use; ransomware Unknown. — CISA KEV
  • EPSS 0.02216, percentile 0.82979, dataset 2026-11-24. — FIRST EPSS

Related advisories

Sources

  1. NVD
  2. CVE record: CVE-2025-21043
  3. Samsung Mobile Security: SMR September 2025 (SVE-2025-1702)
  4. Unit 42: LANDFALL Android spyware
  5. CISA KEV
  6. FIRST EPSS

Frequently asked questions

Which Samsung update fixes CVE-2025-21043?

SMR Sep-2025 Release 1. Samsung lists it as SVE-2025-1702 for Android 13, 14, 15 and 16, so a Galaxy device on any of those versions needs firmware with that maintenance release or later (per Samsung's September 2025 bulletin and the CVE record).

Who reported CVE-2025-21043?

Samsung's September 2025 bulletin credits the Meta and WhatsApp Security Teams for SVE-2025-1702 and says Samsung was notified that an exploit existed in the wild. Unit 42 also says WhatsApp disclosed it to Samsung in August 2025.

Is CVE-2025-21043 the flaw used by LANDFALL spyware?

No. Unit 42 ties LANDFALL to CVE-2025-21042, an earlier out-of-bounds write in the same library fixed in April 2025. CVE-2025-21043 is a separate flaw fixed in September 2025 (per Unit 42 and Samsung's bulletins).

Is CVE-2025-21043 in CISA KEV?

Yes. CISA added it on 2025-10-02 with a due date of 2025-10-23, and it is listed as of 2026-11-25 (catalog version 2026.11.24) with ransomware use Unknown. FIRST EPSS gives 0.02216, the 82.98th percentile, in the 2026-11-24 dataset (per CISA KEV and FIRST EPSS).