CVE-2022-39908
NixOS vulnerability analysis and mitigation

Overview

TOCTOU vulnerability in Samsung decoding library for video thumbnails prior to SMR Dec-2022 Release 1 affects Android devices running versions 10.0 through 13.0. The vulnerability was discovered on August 30, 2022, and was assigned CVE-2022-39908. This security issue specifically impacts Samsung's decoding library for video thumbnails, which is present in libsadapter for Android 10 and 11, and libsthmbcadapter for Android 12 and 13 operating systems (Samsung Mobile).

Technical details

The vulnerability is classified as a Time-of-check Time-of-use (TOCTOU) race condition, identified as CWE-367. It received a CVSS v3.1 base score of 7.4 (HIGH) from NIST with the vector string CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H, while Samsung Mobile assessed it at 6.9 (MEDIUM) with the vector string CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L (NVD).

Impact

The vulnerability allows local attackers to perform Out-Of-Bounds Write operations, potentially compromising the security of affected devices. This could lead to unauthorized data manipulation and possible code execution within the context of the video thumbnail processing system (Samsung Mobile).

Mitigation and workarounds

Samsung addressed this vulnerability in the December 2022 Security Maintenance Release (SMR Dec-2022 Release 1). The patch implements proper input validation logic and TOCTOU prevention code to prevent heap overflow. Users should update their devices to the latest available security patch to mitigate 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-14330CRITICAL9.8
  • NixOSNixOS
  • cpe:2.3:a:mozilla:firefox:*:*:*:*:esr:*:*:*
NoYesDec 09, 2025
CVE-2025-14329HIGH8.8
  • NixOSNixOS
  • cpe:2.3:a:mozilla:firefox_esr
NoYesDec 09, 2025
CVE-2025-14333HIGH8.1
  • NixOSNixOS
  • firefox-esr
NoYesDec 09, 2025
CVE-2025-14332HIGH7.3
  • NixOSNixOS
  • thunderbird
NoYesDec 09, 2025
CVE-2025-14331MEDIUM6.5
  • NixOSNixOS
  • firefox
NoYesDec 09, 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