Mobile & Wireless

Google Adds Rust DNS Parser to Pixel Phones for Better Security

The parser is meant to mitigate the entire class of memory safety bugs in the low-level environment.

Pixel phone vulnerabilty

As part of its ongoing efforts to enhance the security of Pixel phones, Google has announced the integration of a Rust-based Domain Name System (DNS) parser into the modem firmware.

The move builds on previously announced deployment of Rust in low-level firmware codebases to eliminate memory safety issues that have historically plagued legacy C and C++ code in both Android and Chrome.

According to Google, attackers have shown an increased interest in targeting the cellular modem in recent years, and Pixel’s modem contains a large amount of executable code, creating a complex and remote attack surface.

“The new Rust-based DNS parser significantly reduces our security risk by mitigating an entire class of vulnerabilities in a risky area, while also laying the foundation for broader adoption of memory-safe code in other areas,” Google says.

Mostly associated with internet browsing, the DNS protocol plays a significant role in modern cellular technology and communications, with operations such as call forwarding relying on DNS services nowadays.

“DNS is a complex protocol and requires parsing of untrusted data, which can lead to vulnerabilities, particularly when implemented in a memory-unsafe language. Implementing the DNS parser in Rust offers value by decreasing the attack surfaces associated with memory unsafety,” Google explains.

Advertisement. Scroll to continue reading.

The internet giant chose the hickory-proto library for the DNS implementation, modified it for bare metal and embedded use, compiled the necessary Rust crates for its use, eliminated performance issues, and then implemented the necessary DNS responding parsing function API.

The Pixel 10 series devices, Google notes, are the first products to integrate the memory-safe language into the modem, thus marking a significant moment in advancing the series’ security.

“While replacing one piece of risky attack surface is itself valuable, this project lays the foundation for future integration of memory-safe parsers and code into the cellular baseband, ensuring the baseband’s security posture will continue to improve as development continues,” the company says.

Related: Gmail Brings End-to-End Encryption to Android and iOS for Enterprise Users

Related: Microsoft Finds Vulnerability Exposing Millions of Android Crypto Wallet Users

Related: Google API Keys in Android Apps Expose Gemini Endpoints to Unauthorized Access

Related: Severe StrongBox Vulnerability Patched in Android

Related Content

Malware & Threats

The botnet was created and operated for financial gain by Android OEM/ODM Videostrong Technology.

Vulnerabilities

Mozilla has introduced Firefox Enterprise for organizations with strict compliance, governance, and security requirements.

Cybercrime

Hackers hijacked the .gh, .sl, and .as ccTLDs and obtained HTTPS certificates for several Google domains.

Artificial Intelligence

Google has temporarily stopped accepting product vulnerability reports through its Open Source Software Vulnerability Reward Program (OSS VRP).

Artificial Intelligence

The company says its new frontier AI model found a critical vulnerability in software used by hospitals worldwide.

Artificial Intelligence

Google’s analysis found that AI-discovered vulnerabilities are more likely to enable remote code execution.

Privacy & Compliance

Google has been fined 403 million euros ($463 million) for breaching the European Union’s strict privacy rules because it mishandled users’ location data.

Supply Chain Security

It’s unclear if the attacks are part of previous campaigns against Rust, but the techniques used by the attackers match those used by North...

Copyright © 2026 SecurityWeek ®, a Wired Business Media Publication. All Rights Reserved.

Exit mobile version