CVE-2025-21042
NixOS vulnerability analysis and mitigation

Overview

Out-of-bounds write in libimagecodec.quram.so prior to SMR Apr-2025 Release 1 allows remote attackers to execute arbitrary code. The vulnerability, identified as CVE-2025-21042, was discovered and disclosed in September 2025, affecting Samsung Android devices running versions 13, 14, 15, and 16 (NVD, Samsung Mobile).

Technical details

The vulnerability is classified as Critical with a CVSS v3.1 Base Score of 9.8 (CRITICAL) according to NVD's assessment, with a vector string of CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. The vulnerability is identified as an out-of-bounds write issue in the libimagecodec.quram.so library, which could lead to arbitrary code execution (NVD).

Impact

The vulnerability allows remote attackers to execute arbitrary code on affected devices. Given its critical severity rating and the potential for remote code execution without user interaction, this vulnerability poses a significant security risk to affected Samsung devices (NVD).

Mitigation and workarounds

Samsung has released a patch in the SMR Apr-2025 Release 1 security update that fixes the incorrect implementation in the libimagecodec.quram.so library. Users are strongly advised to update their devices to this version or later to protect against this vulnerability (Samsung Mobile).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-59713HIGH8.1
  • PHPPHP
  • snipe/snipe-it
NoYesSep 19, 2025
CVE-2025-7993HIGH7.8
  • NixOSNixOS
  • cobalt
NoNoSep 17, 2025
CVE-2025-7988HIGH7.8
  • NixOSNixOS
  • graphite
NoYesSep 17, 2025
CVE-2025-30755MEDIUM6.1
  • NixOSNixOS
  • opengrok
NoNoSep 19, 2025
CVE-2025-59712MEDIUM5.4
  • PHPPHP
  • snipe/snipe-it
NoYesSep 19, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management