CVE-2026-19571
Last modified
CVE-2026-19571 is a medium-severity vulnerability rated 6.7/10 on the CVSS scale. The ITE IT8xxx2 SHI host-command backend (subsys/mgmt/ec_host_cmd/backends/ec_host_cmd_backend_shi_ite.c) copied the 8-byte host-command request header from the SPI Rx FIFO directly into the shared receive buffer data->in_msg and only afterwards checked the protocol version and the derived packet length. The interrupt handler also accepted a chip-select assertion and an Rx-valid-length (RVLI) interrupt in any driver state other than SHI_STATE_DISABLED, so a new header could be parsed while the host-command thread was still processing the previous request out of the very same buffer. The host processor is the SPI controller and drives both chip select and the clock. EPSS estimates a 0.09% chance of exploitation in the next 30 days.
Description
The ITE IT8xxx2 SHI host-command backend (subsys/mgmt/ec_host_cmd/backends/ec_host_cmd_backend_shi_ite.c) copied the 8-byte host-command request header from the SPI Rx FIFO directly into the shared receive buffer data->in_msg and only afterwards checked the protocol version and the derived packet length. The interrupt handler also accepted a chip-select assertion and an Rx-valid-length (RVLI) interrupt in any driver state other than SHI_STATE_DISABLED, so a new header could be parsed while the host-command thread was still processing the previous request out of the very same buffer. The host processor is the SPI controller and drives both chip select and the clock. After sending a well-formed request it can immediately de-assert chip select — which returns the driver to the ready state and re-enables the FIFO — and start a second transaction carrying a header with data_len = 0xFFFF. Those eight bytes are written into in_msg before the oversized length is rejected, so they land in a buffer whose contents verify_rx() in subsys/mgmt/ec_host_cmd/ec_host_cmd_handler.c has already validated. If this lands in the window before the host-command thread executes args.input_buf_size = rx_header->data_len, the framework hands the registered command handler a 65535-byte input length over a 256-byte buffer. The result is an out-of-bounds read of up to roughly 64 KiB beyond the request buffer: command handlers that copy or echo input_buf_size bytes disclose adjacent embedded-controller memory back to the host or overflow the response buffer, and a read past the end of SRAM faults the controller. The same race also allows cmd_id and cmd_ver to be swapped after checksum verification and after handler lookup. Exploitation requires the ability to drive the inter-processor SHI bus (a compromised host OS or physical access to the SPI lines) and winning a timing race, which the SPI controller can retry indefinitely. The fix parses the header into a local struct ec_host_cmd_request_header and copies it into in_msg only after the length has been bounded by sizeof(data->in_msg), and ignores chip-select and RVLI interrupts outside SHI_STATE_READY_TO_RECV/SHI_STATE_RECEIVING. A residual, bounded race remains: an end-of-transaction interrupt still resets the state to ready while the host-command thread owns the buffer, so a valid second request can still overwrite the in-flight request's contents, unlike the NPCX backend which parks in SHI_STATE_CNL_RESP_NOT_RDY while the buffer is in use.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| zephyrproject | zephyr | >= 3.3.0, < 4.5.0 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-19571?
How severe is CVE-2026-19571?
How do I fix CVE-2026-19571?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-19563Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2026-19565Apache::AppSamurai::Util versions through 1.01 for Perl gene…3.7
- CVE-2026-19566Net::CIDR::Set versions before 0.23 for Perl allow memory ex…7.5
- CVE-2026-19568A maliciously crafted SVG file, when parsed through Autodesk…7.8
- CVE-2026-19569dynamic_object_create() in kernel/userspace/userspace.c comp…8.8
- CVE-2026-19570The LE Audio Broadcast Sink in subsys/bluetooth/audio/bap_br…8.8
- CVE-2026-19572A security vulnerability has been identified in FlexNet Publ…9.3
- CVE-2026-19573The Affiliate Super Assistent plugin for WordPress is vulner…7.2
- CVE-2026-19574The ARM64 MMU back-end allocated address space identifiers (…7
- CVE-2026-19575The user-mode verification handler for the device_deinit() s…7.8
- CVE-2026-19576The Goodix GT9xx input driver in drivers/input/input_gt911.c…6.8
- CVE-2026-19577net_route_ipv6_packet() in subsys/net/ip/route_ipv6.c resolv…7.1
Are you affected by CVE-2026-19571?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
