Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-102960

published medium CVSS 3.1 · 6.8

Stack buffer overflow in Grow R502-A fingerprint sensor driver UART RX handler

Published
25 Nov 2026, 20:27:19 UTC
Updated
25 Nov 2026, 20:27:19 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
zephyrproject — zephyr3.7.0 to < 4.3.2 · 4.4.0 to < 4.5.0 · Other versions: unaffected Affected Not stated zephyr

Description

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 stack overwrite with attacker-controlled length and content in the calling thread. This can corrupt control data and may lead to arbitrary code execution on the host MCU, which would undermine any function the fingerprint sensor is meant to protect. The fix validates the declared length against CONFIG_R502A_DATA_PKT_SIZE as soon as the header is complete and aborts the reception if it is out of range.

en · zephyr · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
6.8 / 10
Severity
medium
Provider
zephyr · cna
Vector string
CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
zephyrproject zephyr 3.7.0 to < 4.3.2 (affected · semver)4.4.0 to < 4.5.0 (affected · semver)Default: unaffected zephyr · cna

Weaknesses

1
  • CWE-121 memory-safety (zephyr · cna)

References

2
  • Fix commit https://github.com/zephyrproject-rtos/zephyr/commit/96968fac22b4c7249988189349944e8a389fee4a patch Contributors: zephyr (cna)
  • GHSA-57rq-g4p4-w57g https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-57rq-g4p4-w57g Contributors: zephyr (cna)

Provider assertions

1

zephyr · cna

Stack buffer overflow in Grow R502-A fingerprint sensor driver UART RX handler

Provenance

Schema
5.2
Searchable
yes
Content hash
e68bc38922a72dc4da7e262460488563c732f53982fe47c365f6e75867384d28
Ingested
25 Nov 2026, 20:33:55 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected