CVE-2026-102960 - Stack buffer overflow in Grow R502-A fingerprint sensor driver UART RX handler
Vulnerability · Reported by NVD · · CWE-121
- Severity
- Medium Risk score 68/100
- CVSS
- 6.8 v3.1 · from NVD
- Exploit chance (EPSS)
- 0.35% Higher than 21% of CVEs
- Known exploited
- No Not in CISA KEV
Summary
The Grow R502-A fingerprint sensor driver (drivers/sensor/grow_r502a/grow_r502a.c) receives sensor responses in the UART interrupt handler uart_cb_handler(). Once the 9-byte header has arrived, the handler reads the 16-bit package length from the header and uses it as the byte count for further uart_fifo_read() calls into rx_buf.data. It never checks that length against the destination buffer. That buffer is a union r502a_packet on the calling thread's stack, set up by transceive_packet(), and is only CONFIG_R502A_DATA_PKT_SIZE + 12 bytes long (140 bytes by default). A malicious or counterfeit sensor module, or an attacker who tampers with the UART wiring, can reply to any driver command with a header that declares a length of up to 65535 bytes. The ISR then writes that many attacker-supplied bytes past the end of the stack buffer. The existing length check in r502a_validate_rx_packet() runs only after the data has been written, so it does not prevent the overflow. Every sensor transaction is affected, including the ones issued by fps_init() during device initialization. The result is a sta
How this vulnerability can be exploited
An attacker can exploit this vulnerability with physical access to the device, without any login, and without any action from a user. Attack complexity is low, so no special conditions are needed. If successful, the attacker could read sensitive data, modify data or code and crash or disrupt the service.
Is it being exploited?
The EPSS model estimates a 0.35% chance this CVE will be exploited in the next 30 days, which is low and higher than 21% of all published CVEs.
Patch priority and what to do
Patch during routine updates. Lower severity, but keep it on your list. 1) Check whether you run the affected product and version. 2) Apply the vendor update or patch listed in the advisory. 3) Review logs for signs of exploitation since the publication date.
CVSS vector
CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Tags
CVE-2026-102960
Sources & references
- Original article / advisory (NVD) ↗
- NIST NVD: CVE-2026-102960 ↗
- CVE.org record ↗
- FIRST.org EPSS model ↗
How this data is collected: methodology & sources.