PT-2026-159540
CVE-2026-102960
·
Published
2026-11-25
·
Updated
2026-11-25
Description by
CVSS 3.1
6.8
MediumMetricsAV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions
Grow R502-A fingerprint sensor driver (affected versions not specified)
Description
The driver for the Grow R502-A fingerprint sensor contains a stack-based buffer overflow in the UART interrupt handler
uart cb handler(). The handler reads a 16-bit package length from a 9-byte header and uses this value to determine the number of bytes to read into the rx buf.data buffer via uart fifo read() calls. Because the driver fails to validate this length against the destination buffer size (defined by CONFIG R502A DATA PKT SIZE plus 12 bytes), a malicious or counterfeit sensor module can specify a length up to 65535 bytes. This allows an attacker to overwrite the stack of the calling thread, potentially corrupting control data and leading to arbitrary code execution on the host MCU. The issue affects all sensor transactions, including those initiated by fps init() during device initialization.Recommendations
Validate the declared package length against
CONFIG R502A DATA PKT SIZE immediately after the header is received and abort the reception if the length is out of range.Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾