Android security tags, read closely by Lightrion

CVE-2025-26450 AI-generated analysis

platform/frameworks/base, input method framework (android.inputmethodservice, IME-side InputChannel receiver)

AI-generated: written from the bulletin and the fixing diffs by claude-fable-5-1, then checked against the code by claude-opus-5-5 (4 corrections). Verify against the commit before relying on it.

The IME-side input event receiver (IInputMethodSessionWrapper.ImeInputEventReceiver.onInputEvent) now checks any KeyEvent with Ctrl/Alt/Fn/Meta modifiers using InputManager.verifyInputEvent plus a 100 ms age check before dispatching it to the InputMethodSession, and drops events that fail.

Root cause

ImeInputEventReceiver.onInputEvent in core/java/android/inputmethodservice/IInputMethodSessionWrapper.java accepted InputEvents arriving on the IME's InputChannel and passed KeyEvents straight to mInputMethodSession.dispatchKeyEvent without checking that they came from the system. Per the commit message, a malicious app can inject fabricated InputEvents into the IME's FD. Modifier-key shortcuts handled by the IME (the message cites switching IME) could therefore be triggered by events that did not come from the system.

How the fix works

Completeness

Behavior changes

Per major

Unknowns

Back to June 2025 · Findings