New security patches for Google's Nexus devices address seven vulnerabilities, two of which are critical and could allow for remote code execution when handling media files.

The updates, released on Monday, are part of Google's recently introduced monthly patch cycle and are available for Nexus devices running both Android 5.1 (Lollipop) and 6.0 (Marshmallow). The source code for the fixes will also be added to the Android Open Source Project (AOSP) over the next 48 hours.

The most serious flaws patched in this release are tracked as CVE-2015-6608 and CVE-2015-6609, and are located in the mediaserver and libutils components of Android, respectively. Both vulnerabilities can be exploited remotely through specially crafted media files.

Hackers could remotely exploit the vulnerabilities in multiple ways, including sending MMS messages and tricking users to play media in the browser.

These are just the latest in a string of critical vulnerabilities found and patched in Android's media playback components since July, when a vulnerability in a library called Stagefright led to a major coordinated patching effort from Android device manufacturers and prompted Google, Samsung and LG to introduce monthly security updates.

In fact, three other flaws fixed in this new update that rated as high severity are located in mediaserver, libstagefright and libmedia -- all media processing components. The remaining two vulnerabilities are in the Bluetooth and Telephony components.

Google notes that its severity assessment doesn't take into account the mitigations that can make exploiting such flaws more difficult. They include the Verify Apps and SafetyNet services that monitor for potentially harmful applications, disabling automatic media processing in applications like Google Hangouts and Messenger, and anti-exploitation techniques present in newer versions of Android.