{"id":"CVE-2021-0540","aliases":["A-169328517","EUVD-2021-3159","GHSA-3pjq-2qm6-rh2c","PUB-A-169328517"],"status":"published","title":"In halWrapperDataCallback of hal_wrapper.cc, there is a possible out of bounds write due to a...","description":"In halWrapperDataCallback of hal_wrapper.cc, there is a possible out of bounds write due to a missing bounds check. This could lead to local escalation of privilege with System execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android-11Android ID: A-169328517","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.00117,"percentile":0.01648,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-787"],"published":"2021-06-01T00:00:00Z","modified":"2026-11-05T16:32:28Z","fixes":[{"ecosystem":"Android","package":"platform/hardware/st/nfc","fixed_in":["11:2021-06-01"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Android","package":"platform/hardware/st/nfc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"11:0"},{"fixed":"11:2021-06-01"}]}],"versions":["11"]}],"products":[{"vendor":"google","product":"android"}],"references":[{"url":"https://source.android.com/security/bulletin/pixel/2021-06-01","tags":["x_refsource_MISC","x_transferred","Vendor Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-0540"},{"url":"https://github.com/advisories/GHSA-3pjq-2qm6-rh2c"},{"url":"https://source.android.com/security/bulletin/2021-06-01","tags":["advisory"]},{"url":"https://android.googlesource.com/platform/hardware/st/nfc/+/a009f4e3894f1be5e1786356753b4a51662e17dd","tags":["fix"]}],"sources":{"cve":[{"id":"CVE-2021-0540","description":"In halWrapperDataCallback of hal_wrapper.cc, there is a possible out of bounds write due to a missing bounds check. This could lead to local escalation of privilege with System execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android-11Android ID: A-169328517","status":"published","published":"2021-06-22T11:02:42Z","modified":"2024-08-03T15:47:26.78Z","updated_at":"2026-11-02T14:33:10.887946Z"}],"euvd":[{"id":"EUVD-2021-3159","description":"In halWrapperDataCallback of hal_wrapper.cc, there is a possible out of bounds write due to a missing bounds check. This could lead to local escalation of privilege with System execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android-11Android ID: A-169328517","status":"published","published":"2021-06-22T11:02:42Z","modified":"2024-08-03T15:47:26Z","updated_at":"2026-11-03T03:25:16.987587Z"}],"ghsa":[{"id":"GHSA-3pjq-2qm6-rh2c","title":"In halWrapperDataCallback of hal_wrapper.cc, there is a possible out of bounds write due to a...","description":"In halWrapperDataCallback of hal_wrapper.cc, there is a possible out of bounds write due to a missing bounds check. This could lead to local escalation of privilege with System execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android-11Android ID: A-169328517","status":"published","published":"2022-05-24T19:05:55Z","modified":"2023-01-29T05:07:04Z","cwes":["CWE-787"],"updated_at":"2026-11-02T14:46:08.723565Z"}],"nvd":[{"id":"CVE-2021-0540","description":"In halWrapperDataCallback of hal_wrapper.cc, there is a possible out of bounds write due to a missing bounds check. This could lead to local escalation of privilege with System execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android-11Android ID: A-169328517","status":"published","published":"2021-06-22T12:15:09.257Z","modified":"2026-06-17T03:30:16.513Z","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":4.6,"vector":"AV:L/AC:L/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T14:06:54.892562Z"}],"osv":[{"id":"PUB-A-169328517","description":"In halWrapperDataCallback of hal_wrapper.cc, there is a possible out of bounds write due to a missing bounds check. This could lead to local escalation of privilege with System execution privileges needed. User interaction is not needed for exploitation.","status":"published","published":"2021-06-01T00:00:00Z","modified":"2026-11-05T16:32:28.703711716Z","updated_at":"2026-11-05T17:55:17.023074Z"}]}}
