The Adoption of Memory-Safe Code Has Increased Android’s Security

Published:

spot_img

Memory Safety Improvements in Android: A Secure-By-Design Approach pays off

The number of memory-related vulnerabilities in Android has seen a significant decrease over the past five years, thanks to Google’s adoption of a secure-by-design approach that prioritizes memory-safe languages like Rust for new code.

According to a recent blog post by researchers from Google’s Android and security teams, memory safety issues such as buffer overflows and use-after-free bugs now only make up 24% of all Android vulnerabilities, compared to 76% in 2019. The total number of Android memory-related vulnerabilities for 2024 is projected to be 36, which is half the number from last year and a vast improvement from the 223 flaws reported in 2019.

The transition to memory-safe languages like Rust has been instrumental in reducing memory-related bugs in Android. While traditional programming languages like C and C++ allow for direct memory manipulation, leading to potential errors, memory-safe languages feature automatic memory management and built-in safety checks. This shift has been gradual, with Google introducing Rust support in Android 12 and increasing the use of the language in subsequent versions.

Google’s approach involves using memory-safe languages for new features while making bug fixes to existing code written in memory-unsafe languages. The company aims to gradually transition to memory-safe languages over time, recognizing the importance of improving memory safety to enhance overall security. With a decline in memory-related vulnerabilities, Google’s secure-by-design approach seems to be paying off, setting a positive trend for the future of Android security.

spot_img

Related articles

Recent articles

Experts Warn About Serious New Vulnerability in Windows

Critical Windows Vulnerability Raises Alarms Among Experts A newly identified vulnerability in Windows is making waves in the cybersecurity community, prompting urgent calls for action...

Qatar Unveils New School Calendar Through 2028: Extended Ramadan Breaks, Long Weekends, and Additional Holidays

Qatar's Innovative Academic Calendar: A Focus on Student Well-being Qatar has recently unveiled a new academic calendar that significantly enhances the educational landscape for students....

Anatsa Android Banking Trojan Affects 90,000 Users via Fake PDF App on Google Play

Rise of the Anatsa Banking Trojan: A New Threat in Cybersecurity Overview of the Anatsa Malware Campaign Recent investigations have unveiled a troubling campaign involving a...

July 2025 Microsoft Patch Tuesday: 130 Vulnerabilities Resolved

In July 2025, Microsoft’s Patch Tuesday marked a notable increase in security updates, making it the most active day for...