CVE-2026-10644

Source
https://cve.org/CVERecord?id=CVE-2026-10644
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-10644.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-10644
Aliases
  • GHSA-xv2x-56j7-6wc3
Published
2026-06-28T04:02:47Z
Modified
2026-10-21T09:38:10Z
Severity
  • 4.2 (Medium) CVSS_V3 - CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L CVSS Calculator
Summary
Out-of-bounds write in Microchip SERCOM-G1 (PIC32CM-JH) async UART RX with 1-byte buffer
Details

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.

Database specific
{
    "cna_assigner":  "zephyr",
    "cwe_ids":  [
        "CWE-787"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/10xxx/CVE-2026-10644.json"
}
References

Affected packages

Git / github.com/zephyrproject-rtos/zephyr

Affected ranges

Type
GIT
Repo
https://github.com/zephyrproject-rtos/zephyr
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "4.4.0"
                },
                {
                    "fixed":  "4.4.2"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandardRange"
        },
        {
            "range":  [
                {
                    "fixed":  "5251d2bc0070be801769fb7ce7b9066fef5d9f81"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

v4.*
v4.4.0
v4.4.1
v4.4.1-rc1
v4.4.2-rc1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-10644.json"
vanir_signatures
[
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "228498413649489403080934329163283858306",
            "length":  1891
        },
        "id":  "CVE-2026-10644-0ba42d66",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/zephyrproject-rtos/zephyr/commit/5251d2bc0070be801769fb7ce7b9066fef5d9f81",
        "target":  {
            "file":  "drivers/serial/uart_mchp_sercom_g1.c",
            "function":  "uart_mchp_isr"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "70358975628870280487126963621470315709",
            "length":  1212
        },
        "id":  "CVE-2026-10644-63d8737e",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/zephyrproject-rtos/zephyr/commit/5251d2bc0070be801769fb7ce7b9066fef5d9f81",
        "target":  {
            "file":  "drivers/serial/uart_mchp_sercom_g1.c",
            "function":  "uart_mchp_rx_enable"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "210518955988482526237740055702836827895",
            "length":  1747
        },
        "id":  "CVE-2026-10644-94314303",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/zephyrproject-rtos/zephyr/commit/5251d2bc0070be801769fb7ce7b9066fef5d9f81",
        "target":  {
            "file":  "drivers/serial/uart_mchp_sercom_g1.c",
            "function":  "uart_mchp_dma_rx_done"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "158963911462315751002789879119288568073",
                "67099029687052854889923012474324272400",
                "257374526849081842469504924047448474940",
                "339739739884650774121672112312705616663",
                "72358152689251870565959189463438457794",
                "130428823907184252981816710706608494923",
                "234225993133741601520883353023669875806",
                "297331852086990282983707206106928809490",
                "155447339134248620829216996088231562582",
                "140190892708523090753365026614260564597",
                "160005959669339159712353164336312904408",
                "257492433488880755765075192862192618798",
                "174667950096668670754205255046494562398",
                "61733908957232237804159191387103125772",
                "5213288701624154622520631139411331324",
                "291588941932807098188802323555220391307",
                "61175982264391692456337900075405356872",
                "236279275551625098523262701846668055170",
                "238853792194980861591227999254761670309",
                "258676902588219767165568864794176651538",
                "29697609050620910034998613924037696287",
                "153372765887089970062852851836027626421",
                "314912630694303117199834979936289135153",
                "86837935304430561878505544186602273883",
                "193443895866458461940123441231462488891",
                "332415300277629924497415524977037972665",
                "195953020347523083706086992882983611205",
                "249435870864203559594733934959592088939",
                "310991378131546033847856174858522698751",
                "250420966820985882536784616478093253662",
                "134328501125957542712995149697120868630",
                "280143013185740174772563649387956101513",
                "245951790538183091828309327616658006355",
                "271345131400282021846979374421064322316",
                "94774669970423963143206433827192992372",
                "55993835175771666886877561733968330260",
                "124813166517748479008565601018376862053",
                "239374528396332057814848438796332779545",
                "83345166341841221880840291388931631849",
                "273575352284777570265836066489869407800",
                "233549289415841602798958426954540367038",
                "217217457354094784900036774016854632083",
                "235657406225573511079535770628527650743",
                "281465644575946548950132016731732980441",
                "14833846853213025908227869924697324566",
                "118001861218790041504363123162838287046",
                "272349154941549611146272170710650900302",
                "233307942034205638666874136107549114282",
                "33946283761642433692408920846910952076",
                "66947516058392808078515684044976574062",
                "4023107985221984274373961128449783360",
                "275381077669081938592650651143143081103",
                "210170208978742649512832715072014295827",
                "16551455676714198559805276057132432698",
                "223854793340221912320626694105077765670",
                "48672410137132782653239771711873135432",
                "71187159352517799044524595596805094748",
                "20938208372837191039132884706028927333",
                "208599426363257631033823826369599120915",
                "247733404762771290683815339872774585616",
                "325026257177685291402987470497562989866",
                "277819228574165327555235314743444111069",
                "297621062815907015500672768036945373002",
                "207560208511900171078432012054669161859",
                "202499127608589218100410496381764127703",
                "88140059789954559606609548602996973634",
                "324913360974113518864398578232134138726",
                "141986347871950786054484739281105055178",
                "51477216379106768689138357971423455132",
                "57707633207454433233545287235618566974",
                "285998950842405273317658523147269468228",
                "227532207602692831602834988076428339759",
                "53874555217405662768564213701383321264",
                "133444839070716977167619372846234313731",
                "190183714832652210057101173371324156696",
                "51020644932053079779236706166680828512",
                "186520795449633744335530690874320618187",
                "298659802708319339761878639113652329841",
                "149452815139602144498543055669402455828",
                "108711159005208312036252799126138297560",
                "224709343428882417362273877446410235920",
                "289340062531315501341530274435013460789",
                "259986530973535807201381679603762844503",
                "316233802136273619326758618306413940046",
                "247484019030565961081903881110748986200",
                "112437323039234436331055831577933889591",
                "132659963022737789049566931572344455659",
                "197261174700048928704416711174779708830",
                "52141044004167858152174514408772279805",
                "198994509124030590840178887154686592357",
                "8947648409795487801759738473696722157",
                "85573778313140636175850070046349946044",
                "35144464825066375694761076413266240414",
                "230147107249259720977154262471129259021",
                "51645983427722861346244644354805574857",
                "324743429706165217746846852395586631763",
                "299634512101901808301147834228325809872",
                "164638066043196242059954130133114814310",
                "27461808636992728255601004481201181059"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2026-10644-e24be9fd",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/zephyrproject-rtos/zephyr/commit/5251d2bc0070be801769fb7ce7b9066fef5d9f81",
        "target":  {
            "file":  "drivers/serial/uart_mchp_sercom_g1.c"
        }
    }
]
vanir_signatures_modified
"2026-10-21T09:38:10Z"