Modern smartphone operating systems have myriad systems in place to improve security, but none of that helps when attackers target the modem. Google’s Project Zero team has shown it’s possible to get remote code execution on Pixel phone modems over the Internet, which prompted Google to reevaluate how it secures this vital, low-level system. The solution wasn’t to rewrite modem software but rather to shoehorn a safer Rust-based component into the Pixel 10Â modem.
Cellular modems are something of a black box. Your phone’s baseband is its own operating system running legacy C and C++ code, which makes it an increasingly appealing attack surface. The core issue is that memory management in these systems is difficult and often leads to memory-unsafe firmware code on production devices. That can allow attackers to leverage serious vulnerabilities like buffer overflows and memory leaks to compromise devices.
So that’s not great—why are we still using this stuff? Part of the issue is just the inertia of embedded systems. Companies have been developing modem firmware based on 3GPP specifications for decades, so there’s a lot of technical debt at this point. Modems also have to operate in real time to send and receive data effectively, and C/C++ code is fast.

This is an interesting development! It’s great to see companies like Google taking steps to enhance security in their devices. Rust’s integration into the Pixel 10 modem could really make a difference in handling legacy code more safely. Excited to see how this evolves!
security in their devices. Integrating Rust into the Pixel 10 modem is a smart move, as its memory safety features can significantly reduce vulnerabilities. It’ll be interesting to see how this approach influences future smartphone designs and security protocols!
Absolutely, integrating Rust for memory safety is a significant step forward. It’s interesting to consider how this could influence the overall software ecosystem in future devices, potentially encouraging more manufacturers to adopt Rust for improved security in their own products.