{"id":"CVE-2021-0585","aliases":["A-184963385","ASB-A-184963385","EUVD-2021-3204","GHSA-g4x5-235j-4823"],"status":"published","title":"In beginWrite and beginRead of MessageQueueBase.h, there is a possible out of bounds write due to...","description":"In beginWrite and beginRead of MessageQueueBase.h, there is a possible out of bounds write due to improper input validation. This could lead to local escalation of privilege with System execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android-8.1 Android-9 Android-10 Android-11Android ID: A-184963385","severity":{"version":"3.1","score":6.7,"vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.00134,"percentile":0.02922,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-787"],"published":"2021-07-01T00:00:00Z","modified":"2026-11-05T16:32:28Z","fixes":[{"ecosystem":"Android","package":"platform/system/libfmq","fixed_in":["8.1:2021-07-01","9:2021-07-01","10:2021-07-01","11:2021-07-01"],"sources":["osv"]},{"ecosystem":"Android","package":"platform/frameworks/av","fixed_in":["10:2021-07-01"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Android","package":"platform/system/libfmq","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"8.1:0"},{"fixed":"8.1:2021-07-01"}]}],"versions":["8.1"]},{"source":"osv","ecosystem":"Android","package":"platform/system/libfmq","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9:0"},{"fixed":"9:2021-07-01"}]}],"versions":["9"]},{"source":"osv","ecosystem":"Android","package":"platform/frameworks/av","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"10:0"},{"fixed":"10:2021-07-01"}]}],"versions":["10"]},{"source":"osv","ecosystem":"Android","package":"platform/system/libfmq","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"10:0"},{"fixed":"10:2021-07-01"}]}],"versions":["10"]},{"source":"osv","ecosystem":"Android","package":"platform/system/libfmq","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"11:0"},{"fixed":"11:2021-07-01"}]}],"versions":["11"]}],"products":[{"vendor":"google","product":"android"}],"references":[{"url":"https://source.android.com/security/bulletin/2021-07-01","tags":["x_refsource_MISC","x_transferred","Vendor Advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-0585"},{"url":"https://github.com/advisories/GHSA-g4x5-235j-4823"},{"url":"https://android.googlesource.com/platform/system/libfmq/+/7f0e32bd77277a46759eb9f01a493b45c7e9a3c9","tags":["fix"]}],"sources":{"cve":[{"id":"CVE-2021-0585","description":"In beginWrite and beginRead of MessageQueueBase.h, there is a possible out of bounds write due to improper input validation. This could lead to local escalation of privilege with System execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android-8.1 Android-9 Android-10 Android-11Android ID: A-184963385","status":"published","published":"2021-07-14T13:46:36Z","modified":"2024-08-03T15:47:28.031Z","updated_at":"2026-11-02T14:33:10.887946Z"}],"euvd":[{"id":"EUVD-2021-3204","description":"In beginWrite and beginRead of MessageQueueBase.h, there is a possible out of bounds write due to improper input validation. This could lead to local escalation of privilege with System execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android-8.1 Android-9 Android-10 Android-11Android ID: A-184963385","status":"published","published":"2021-07-14T13:46:36Z","modified":"2024-08-03T15:47:28Z","updated_at":"2026-11-03T03:25:16.546422Z"}],"ghsa":[{"id":"GHSA-g4x5-235j-4823","title":"In beginWrite and beginRead of MessageQueueBase.h, there is a possible out of bounds write due to...","description":"In beginWrite and beginRead of MessageQueueBase.h, there is a possible out of bounds write due to improper input validation. This could lead to local escalation of privilege with System execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android-8.1 Android-9 Android-10 Android-11Android ID: A-184963385","status":"published","published":"2022-05-24T19:08:01Z","modified":"2023-01-30T05:00:45Z","cwes":["CWE-787"],"updated_at":"2026-11-02T14:46:16.34482Z"}],"nvd":[{"id":"CVE-2021-0585","description":"In beginWrite and beginRead of MessageQueueBase.h, there is a possible out of bounds write due to improper input validation. This could lead to local escalation of privilege with System execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android-8.1 Android-9 Android-10 Android-11Android ID: A-184963385","status":"published","published":"2021-07-14T14:15:08.317Z","modified":"2026-06-17T03:30:22.1Z","cvss":[{"version":"3.1","score":6.7,"vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","level":"medium","assessor":"primary"},{"version":"2.0","score":7.2,"vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T14:06:55.747384Z"}],"osv":[{"id":"ASB-A-184963385","description":"In beginWrite and beginRead  of MessageQueueBase.h, there is a possible out of bounds write due to improper input validation. This could lead to local escalation of privilege with System execution privileges needed. User interaction is not needed for exploitation.","status":"published","published":"2021-07-01T00:00:00Z","modified":"2026-11-05T16:32:28.703711716Z","updated_at":"2026-11-05T17:55:14.774652Z"}]}}
