Experimental Confirmation of CVE-2026–25262 on Snapdragon 8 Gen
A write-what-where vulnerability in the Qualcomm Boot ROM Sahara protocol handler allows an attacker to write arbitrary data to SRAM before TrustZone initialises. The author tested this on a Snapdragon 8 Gen 1 device, successfully loading a Firehose programmer and injecting an authentication flag, though full UFS access was not achieved.
Qualcomm’s Emergency Download Mode (EDL) and the Sahara protocol serve as a low-level interface for communicating with a device during the primary boot stage. In this mode, a device can be flashed using a programmer file (Firehose), which for most modern Xiaomi devices requires server-side authentication (EDL Auth /…
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the Sahara protocol handler does not properly validate the destination address in the SAHARA_CMD_RECV_DATA command, allowing arbitrary writes to SRAM.
Impact
An attacker with physical access could bypass Firehose authentication and execute code, but full storage access was not achieved and the effect of the flag injection remains unverified.
What the attacker needed
Physical access to device in EDL mode; custom tool based on edl; engineering programmer file
How it was found
- Perform a standard Sahara handshake with the device.
- Send the programmer file in a single SAHARA_CMD_RECV_DATA packet with a substituted destination address to bypass signature verification.
- Send an additional SAHARA_CMD_RECV_DATA packet to write the value 5 to the authentication flag address.
- Complete the Sahara phase by transferring control to the entry point.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
This report is about a flaw in the very first code that runs when a Qualcomm-based phone starts up. That early code, called the Boot ROM, can be tricked into writing data to any memory address before the phone's security systems are active. The researcher used this to load a custom flashing tool and bypass authentication, though they could not yet read the phone's storage.
What is Memory corruption?
Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.