CVE-2025-68777 Input: ti_am335x_tsc - fix off-by-one error in wire_order validation

Not scored Published Updated

An off-by-one error in the TI AM335x touchscreen driver allows out-of-bounds memory access, potentially leading to code execution or privilege escalation.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2025-68777?

CVE-2025-68777 is a memory corruption vulnerability in Linux, published on 13 Jan 2026. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

In the Linux kernel, the following vulnerability has been resolved:

Input: ti_am335x_tsc - fix off-by-one error in wire_order validation

The current validation 'wire_order[i] > ARRAY_SIZE(config_pins)' allows wire_order[i] to equal ARRAY_SIZE(config_pins), which causes out-of-bounds access when used as index in 'config_pins[wire_order[i]]'.

Since config_pins has 4 elements (indices 0-3), the valid range for wire_order should be 0-3. Fix the off-by-one error by using >= instead of > in the validation check.

Which versions are affected by CVE-2025-68777?

How do I fix CVE-2025-68777?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2025-68777 being exploited?

There is no known exploitation of CVE-2025-68777 in the wild and no public exploit code.

Sources

Also known as AZL-74450, BELL-CVE-2025-68777, DEBIAN-CVE-2025-68777, GHSA-wggg-mqf2-8f77, ROOT-OS-DEBIAN-11-CVE-2025-68777, ROOT-OS-DEBIAN-12-CVE-2025-68777 and 4 more.

Is CVE-2025-68777 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free