CVE Catalog

CVE-2026-10644

MediumCVSS 4.2
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.22%

13th percentile - higher than 13% of all known CVEs

Summary

The Microchip SERCOM-G1 UART driver for PIC32CM-JH SoCs has an out-of-bounds write vulnerability in the asynchronous DMA receive path. When uart_rx_enable() is called with a 1-byte receive buffer, the RX-complete ISR triggers a single-beat DMA transfer that writes one byte past the end of the buffer.

Risk Assessment

An adjacent attacker (connected via UART) can cause single-byte memory corruption adjacent to the receive buffer, potentially leading to system crash or denial of service (DoS). The vulnerability requires specific configuration (async UART with 1-byte buffer) which is not enabled by default.

Recommendation

Update the driver to the fixed version that reads the first byte via CPU and performs no DMA for 1-byte buffers; for larger buffers, the DMA size is adjusted to the remaining len-1 bytes.

Related vulnerabilities

Original NVD description (English source)

The Microchip SERCOM-G1 UART driver (drivers/serial/uart_mchp_sercom_g1.c), used by the PIC32CM-JH SoC family, contains an out-of-bounds write in its asynchronous (DMA) receive path. When uart_rx_enable() is invoked with a one-byte receive buffer (len == 1) and CONFIG_UART_MCHP_ASYNC is enabled, the RX-complete ISR starts a single-beat DMA transfer while a received byte is already pending in the SERCOM DATA register. On this SoC the peripheral-triggered DMA start sequencing then writes one byte past the end of the caller-supplied buffer (CWE-787). The overflowed byte's value is the UART RX data supplied by the connected serial peer (adjacent attacker), while its size and location are fixed at one byte immediately after the buffer. Exploitation requires the async UART config (not enabled by default on the in-tree PIC32CM-JH boards) and a consumer that enables RX with a one-byte buffer; impact is limited single-byte memory corruption adjacent to the RX buffer (possible crash / denial of service). The defect shipped in v4.4.0. The fix reads the first byte with the CPU and, for one-byte buffers, performs no DMA at all; for larger buffers it sizes the DMA for the remaining len-1 bytes.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS