{"id":45407,"date":"2026-04-15T02:18:39","date_gmt":"2026-04-14T18:18:39","guid":{"rendered":"https:\/\/nuoya.nuoyayasuo.top\/index.php\/2026\/04\/15\/google-adds-rust-based-dns-parser-into-pixel-10-modem-to-enhance-security\/"},"modified":"2026-04-15T02:18:39","modified_gmt":"2026-04-14T18:18:39","slug":"google-adds-rust-based-dns-parser-into-pixel-10-modem-to-enhance-security","status":"publish","type":"post","link":"https:\/\/nuoya.nuoyayasuo.top\/index.php\/2026\/04\/15\/google-adds-rust-based-dns-parser-into-pixel-10-modem-to-enhance-security\/","title":{"rendered":"Google Adds Rust-Based DNS Parser into Pixel 10 Modem to Enhance Security"},"content":{"rendered":"<div style=\"clear: both;\"><a href=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEjblrgfLU8m4awyQDEqyzwguow-RuCp4UH1k5DBkrUrP87A7tsEQPPaLD_D9M4VXF5mSNrmp1eurx_QW-nVjM1nNnkyEIFyFiry3nxE0Wq3xrT0L06S6B11rEHcWzB7q78RRQySSxwLAVIncgqO5qhtY6b0A_LzYF8wtvH94G_TLQEn8UIivqrJNkH88Nf7\/s1600\/android-rust.jpg\" style=\"display: block; padding: 1em 0; text-align: center; clear: left; float: left;\"><img decoding=\"async\" border=\"0\" data-original-height=\"470\" data-original-width=\"900\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEjblrgfLU8m4awyQDEqyzwguow-RuCp4UH1k5DBkrUrP87A7tsEQPPaLD_D9M4VXF5mSNrmp1eurx_QW-nVjM1nNnkyEIFyFiry3nxE0Wq3xrT0L06S6B11rEHcWzB7q78RRQySSxwLAVIncgqO5qhtY6b0A_LzYF8wtvH94G_TLQEn8UIivqrJNkH88Nf7\/s1600\/android-rust.jpg\" alt=\"Google Adds Rust-Based DNS Parser into Pixel 10 Modem to Enhance Security\"\/><\/a><\/div>\n<p>Google has announced the integration of a Rust-based Domain Name System (DNS) parser into the modem firmware as part of its ongoing efforts to beef up the security of Pixel devices and push memory-safe code at a more foundational&nbsp;level.<\/p>\n<p>&#8220;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,&#8221; Jiacheng Lu, a software engineer part of the Google Pixel&nbsp;Team, <a href=\"https:\/\/security.googleblog.com\/2026\/04\/bringing-rust-to-pixel-baseband.html\">said<\/a>.<\/p>\n<p>The security boost via Rust integration is available for Pixel 10 devices, making it the first Pixel device to integrate a memory-safe language into its&nbsp;modem.<\/p>\n<p>The move builds upon a series of initiatives the tech giant has taken to harden the cellular baseband modem against exploitation. In late 2023,&nbsp;it <a href=\"https:\/\/thehackernews.com\/2023\/12\/google-using-clang-sanitizers-to.html\">highlighted<\/a> the&nbsp;role played&nbsp;by Clang sanitizers like Overflow Sanitizer (IntSan) and BoundsSanitizer (BoundSan) to&nbsp;catch undefined behavior during program execution.<\/p>\n<p>A year later, it&nbsp;also <a href=\"https:\/\/thehackernews.com\/2024\/10\/android-14-adds-new-security-features.html\">detailed<\/a> the various security measures built into the modem firmware to combat 2G exploits and baseband attacks that exploit memory-safety vulnerabilities like buffer overflows to achieve remote code execution.<\/p>\n<p>These security advances&nbsp;have been complemented by Google&#8217;s steady adoption of Rust&nbsp;into <a href=\"https:\/\/thehackernews.com\/2024\/09\/googles-shift-to-rust-programming-cuts.html\">Android<\/a>&nbsp;and <a href=\"https:\/\/security.googleblog.com\/2024\/09\/deploying-rust-in-existing-firmware.html\">low-level&nbsp;firmware<\/a>. In November 2025, the&nbsp;company <a href=\"https:\/\/thehackernews.com\/2025\/11\/rust-adoption-drives-android-memory.html\">revealed<\/a> that the number&nbsp;of memory&nbsp;safety vulnerabilities fell below 20% of total vulnerabilities discovered in the mobile operating system last&nbsp;year.<\/p>\n<p>Google said it opted for the DNS protocol for its Rust implementation owing to the fact&nbsp;that it underpins modern cellular communications&nbsp;and that vulnerabilities in the system can expose users to malicious attacks&nbsp;when designed in a memory-unsafe language, resulting&nbsp;in out-of-bound memory accesses, as in the case&nbsp;of <a href=\"https:\/\/nvd.nist.gov\/vuln\/detail\/cve-2024-27227\">CVE-2024-27227<\/a>.<\/p>\n<p>&#8220;With the evolution of cellular technology, modern cellular communications have migrated to digital data networks; consequently, even basic operations such as call forwarding rely on DNS services,&#8221; it added. &#8220;Implementing the DNS parser in Rust offers value by decreasing the attack surfaces associated with memory unsafety.&#8221;<\/p>\n<p>To that end, Google has chosen the&nbsp;&#8220;<a href=\"https:\/\/crates.io\/crates\/hickory-proto\">hickory-proto<\/a>&#8221; crate,&nbsp;a <a href=\"https:\/\/github.com\/hickory-dns\/hickory-dns\">Rust-based DNS client, server, and&nbsp;resolver<\/a>, to implement the protocol, while modifying it to support bare metal and embedded environments. Another important component of this change is the use of a custom&nbsp;tool called&nbsp;&#8220;<a href=\"https:\/\/fuchsia.googlesource.com\/fuchsia\/+\/master\/tools\/cargo-gnaw\/\">cargo-gnaw<\/a>&#8221; to easily resolve and maintain more than 30 dependencies introduced by the&nbsp;crate.<\/p>\n<p>The internet company also noted that the DNS Rust&nbsp;crate is not&nbsp;optimized for use in memory-constrained systems, and that one&nbsp;possible code&nbsp;size optimization could be achieved by adding extra feature flags to ensure modularity and selectively compile only required functionality.<\/p>\n<p>&#8220;For the DNS parser, we declared the DNS response parsing API in C and then implemented the same API in Rust,&#8221; Google said. &#8220;The Rust function returns an integer standing for the error&nbsp;code. The received DNS answers in&nbsp;the DNS&nbsp;response are required&nbsp;tobe&nbsp;updated to in-memory data structures&nbsp;that are&nbsp;coupled with the original C implementation;therefore, we use existing C functions to&nbsp;do it. The existing C&nbsp;functions are dispatched from the Rust implementation.&#8221;<\/p>\n<div><\/div>\n<div>Found this article interesting?  Follow us on <a href='https:\/\/news.google.com\/publications\/CAAqLQgKIidDQklTRndnTWFoTUtFWFJvWldoaFkydGxjbTVsZDNNdVkyOXRLQUFQAQ' rel='noopener' target='_blank'>Google News<\/a>, <a href='https:\/\/twitter.com\/thehackersnews' rel='noopener' target='_blank'>Twitter<\/a> and <a href='https:\/\/www.linkedin.com\/company\/thehackernews\/' rel='noopener' target='_blank'>LinkedIn<\/a> to read more exclusive content we post.<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Google has announced the integration of a Rust-based Domain Name System (DNS) parser into the modem firmware as part of its ongoing efforts to beef up the security of Pixel devices and push memory-safe code at a more foundational&nbsp;level.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-45407","post","type-post","status-publish","format-standard","hentry","category-thehackernews"],"_links":{"self":[{"href":"https:\/\/nuoya.nuoyayasuo.top\/index.php\/wp-json\/wp\/v2\/posts\/45407","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nuoya.nuoyayasuo.top\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nuoya.nuoyayasuo.top\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nuoya.nuoyayasuo.top\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/nuoya.nuoyayasuo.top\/index.php\/wp-json\/wp\/v2\/comments?post=45407"}],"version-history":[{"count":0,"href":"https:\/\/nuoya.nuoyayasuo.top\/index.php\/wp-json\/wp\/v2\/posts\/45407\/revisions"}],"wp:attachment":[{"href":"https:\/\/nuoya.nuoyayasuo.top\/index.php\/wp-json\/wp\/v2\/media?parent=45407"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nuoya.nuoyayasuo.top\/index.php\/wp-json\/wp\/v2\/categories?post=45407"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nuoya.nuoyayasuo.top\/index.php\/wp-json\/wp\/v2\/tags?post=45407"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}