{"id":"CVE-2021-0393","aliases":["A-168041375","ASB-A-168041375","EUVD-2021-3012","GHSA-g979-fm26-v69p"],"status":"published","title":"In Scanner::LiteralBuffer::NewCapacity of scanner.cc, there is a possible out of bounds write due...","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","severity":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.00961,"percentile":0.61835,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-190","CWE-787"],"published":"2021-03-01T00:00:00Z","modified":"2026-11-05T16:32:28Z","exploits":[{"source":"pocgithub","id":"Trinadh465/external_v8_AOSP10_r33_CVE-2021-0393","title":"Trinadh465/external_v8_AOSP10_r33_CVE-2021-0393","date":"2022-04-29","url":"https://github.com/Trinadh465/external_v8_AOSP10_r33_CVE-2021-0393"}],"fixes":[{"ecosystem":"Android","package":"platform/external/v8","fixed_in":["8.1:2021-03-01","9:2021-03-01","10:2021-03-01","11:2021-03-01"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Android","package":"platform/external/v8","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"8.1:0"},{"fixed":"8.1:2021-03-01"}]}],"versions":["8.1"]},{"source":"osv","ecosystem":"Android","package":"platform/external/v8","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9:0"},{"fixed":"9:2021-03-01"}]}],"versions":["9"]},{"source":"osv","ecosystem":"Android","package":"platform/external/v8","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"10:0"},{"fixed":"10:2021-03-01"}]}],"versions":["10"]},{"source":"osv","ecosystem":"Android","package":"platform/external/v8","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"11:0"},{"fixed":"11:2021-03-01"}]}],"versions":["11"]}],"products":[{"vendor":"google","product":"android"}],"references":[{"url":"https://source.android.com/security/bulletin/2021-03-01","tags":["x_refsource_MISC","x_transferred","Vendor Advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-0393"},{"url":"https://github.com/advisories/GHSA-g979-fm26-v69p"},{"url":"https://android.googlesource.com/platform/external/v8/+/a91d71434065cde21f480f5d92432b9a4f2f3521","tags":["fix"]}],"sources":{"cve":[{"id":"CVE-2021-0393","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","status":"published","published":"2021-03-10T15:37:06Z","modified":"2024-08-03T15:40:01.223Z","updated_at":"2026-11-02T14:33:10.555814Z"}],"euvd":[{"id":"EUVD-2021-3012","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","status":"published","published":"2021-03-10T15:37:06Z","modified":"2024-08-03T15:40:01Z","updated_at":"2026-11-03T03:25:17.553486Z"}],"ghsa":[{"id":"GHSA-g979-fm26-v69p","title":"In Scanner::LiteralBuffer::NewCapacity of scanner.cc, there is a possible out of bounds write due...","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","status":"published","published":"2022-05-24T17:44:09Z","modified":"2023-01-29T05:06:47Z","cwes":["CWE-787"],"updated_at":"2026-11-02T14:46:05.929333Z"}],"nvd":[{"id":"CVE-2021-0393","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","status":"published","published":"2021-03-10T16:15:16.047Z","modified":"2026-06-17T03:29:54.54Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-190","CWE-787"],"updated_at":"2026-11-02T14:06:50.399901Z"}],"osv":[{"id":"ASB-A-168041375","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.","status":"published","published":"2021-03-01T00:00:00Z","modified":"2026-11-10T17:02:23.040266809Z","updated_at":"2026-11-09T17:04:22.742827Z"}]}}
