CVE-2025-22438
NixOS vulnerability analysis and mitigation

Overview

CVE-2025-22438 is a vulnerability discovered in Android's InputDispatcher.cpp component, specifically in the afterKeyEventLockedInterruptable function. The vulnerability was disclosed in April 2025 and affects Android versions 13 and 14. This security flaw represents a potential use-after-free condition that could lead to local privilege escalation (Android Security, Debian Tracker).

Technical details

The vulnerability exists in the afterKeyEventLockedInterruptable function of InputDispatcher.cpp. The issue occurs when the function releases a lock and calls into policy, during which time a call to removeInputChannel might occur, causing the waitQueue to be drained. This can result in a use-after-free condition where the dispatchEntry stored in the queue would be deleted, potentially leading to accessing freed memory (Android Source). The vulnerability has been assigned a CVSS v3.1 base score of 7.8 (High) with the vector string AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (AttackerKB).

Impact

The vulnerability can lead to local privilege escalation on affected Android devices. No additional execution privileges are needed for exploitation, and user interaction is not required. This makes the vulnerability particularly concerning as it could allow an attacker to gain elevated privileges on the system (Debian Tracker).

Mitigation and workarounds

Google has released a patch that modifies the InputDispatcher.cpp to ensure objects remain valid after calling policy. The fix includes making changes to maintain strong pointers to connection objects and properly handling data after lock release (Android Source).

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-61619HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61618HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61617HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61610HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61609HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 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