CVE-2021-0393 Integer overflow in Android

High 7.8 Published Updated

An integer overflow in the Android scanner allows remote code execution via a malicious PAC file without user interaction.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2021-0393?

CVE-2021-0393 is a high-severity vulnerability in Google Android, published on 10 Mar 2021. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

In Scanner::LiteralBuffer::NewCapacity of scanner.cc, there is a possible out of bounds write due to an integer overflow. This could lead to remote code execution if an attacker can supply a malicious PAC file, with no additional execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android-11 Android-8.1 Android-9 Android-10Android ID: A-168041375

Weakness: CWE-787, CWE-190

Which versions are affected by CVE-2021-0393?

It affects 1 product.

Products include Google Android.

How do I fix CVE-2021-0393?

Apply the vendor's patch.

Is CVE-2021-0393 being exploited?

There is no known exploitation of CVE-2021-0393 in the wild and no public exploit code.

Public exploit code: 1 proofs of concept on GitHub.

All Google Android vulnerabilities

Sources

Also known as A-168041375, ASB-A-168041375, GHSA-g979-fm26-v69p.

Is CVE-2021-0393 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free