{"id":"ASB-A-152874864","details":"In LoadPartitionTable of gpt.cc, there is a possible out of bounds write due to a missing bounds check. This could lead to local escalation of privilege when inserting a malicious USB device, with no additional execution privileges needed. User interaction is not needed for exploitation.","aliases":["A-152874864","CVE-2020-0256"],"modified":"2026-09-18T15:47:37.392928379Z","published":"2020-08-01T00:00:00Z","references":[{"type":"ADVISORY","url":"https://source.android.com/security/bulletin/2020-08-01"},{"type":"FIX","url":"https://android.googlesource.com/platform/external/gptfdisk/+/7ffd0a26064cf25c0922f2bab511e4b4e8149083"}],"affected":[{"package":{"name":"platform/external/gptfdisk","ecosystem":"Android"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"8.0:0"},{"fixed":"8.0:2020-08-01"}]}],"versions":["8.0"],"ecosystem_specific":{"fixes":["https://android.googlesource.com/platform/external/gptfdisk/+/7ffd0a26064cf25c0922f2bab511e4b4e8149083"],"severity":"High","spl":"2020-08-01","types":["EoP"],"vanir_signatures":[{"signature_version":"v1","source":"https://android.googlesource.com/platform/external/gptfdisk/+/7ffd0a26064cf25c0922f2bab511e4b4e8149083","target":{"file":"gpt.cc"},"deprecated":false,"digest":{"line_hashes":["41189207655891059859167090529817598632","308456246001391846981234990171806103081","130492737334370976961864212511290515607","189236150705486283594326498183963354117"],"threshold":0.9},"id":"ASB-A-152874864-5d787553","signature_type":"Line"},{"signature_type":"Function","signature_version":"v1","source":"https://android.googlesource.com/platform/external/gptfdisk/+/7ffd0a26064cf25c0922f2bab511e4b4e8149083","target":{"file":"gpt.cc","function":"GPTData::LoadPartitionTable"},"deprecated":false,"digest":{"length":1021,"function_hash":"86726952141382446110111110173821165684"},"id":"ASB-A-152874864-900c6f85"}]},"database_specific":{"source":"https://storage.googleapis.com/android-osv/ASB-A-152874864.json"}},{"package":{"name":"platform/external/gptfdisk","ecosystem":"Android"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"8.1:0"},{"fixed":"8.1:2020-08-01"}]}],"versions":["8.1"],"ecosystem_specific":{"severity":"High","spl":"2020-08-01","types":["EoP"],"vanir_signatures":[{"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["41189207655891059859167090529817598632","308456246001391846981234990171806103081","130492737334370976961864212511290515607","189236150705486283594326498183963354117"]},"id":"ASB-A-152874864-22bf3ac9","signature_type":"Line","signature_version":"v1","source":"https://android.googlesource.com/platform/external/gptfdisk/+/7ffd0a26064cf25c0922f2bab511e4b4e8149083","target":{"file":"gpt.cc"}},{"signature_version":"v1","source":"https://android.googlesource.com/platform/external/gptfdisk/+/7ffd0a26064cf25c0922f2bab511e4b4e8149083","target":{"file":"gpt.cc","function":"GPTData::LoadPartitionTable"},"deprecated":false,"digest":{"length":1021,"function_hash":"86726952141382446110111110173821165684"},"id":"ASB-A-152874864-8d3ebf93","signature_type":"Function"}],"fixes":["https://android.googlesource.com/platform/external/gptfdisk/+/7ffd0a26064cf25c0922f2bab511e4b4e8149083"]},"database_specific":{"source":"https://storage.googleapis.com/android-osv/ASB-A-152874864.json"}},{"package":{"name":"platform/external/gptfdisk","ecosystem":"Android"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9:0"},{"fixed":"9:2020-08-01"}]}],"versions":["9"],"ecosystem_specific":{"spl":"2020-08-01","types":["EoP"],"vanir_signatures":[{"id":"ASB-A-152874864-b1b25098","signature_type":"Line","signature_version":"v1","source":"https://android.googlesource.com/platform/external/gptfdisk/+/7ffd0a26064cf25c0922f2bab511e4b4e8149083","target":{"file":"gpt.cc"},"deprecated":false,"digest":{"line_hashes":["41189207655891059859167090529817598632","308456246001391846981234990171806103081","130492737334370976961864212511290515607","189236150705486283594326498183963354117"],"threshold":0.9}},{"signature_version":"v1","source":"https://android.googlesource.com/platform/external/gptfdisk/+/7ffd0a26064cf25c0922f2bab511e4b4e8149083","target":{"file":"gpt.cc","function":"GPTData::LoadPartitionTable"},"deprecated":false,"digest":{"length":1021,"function_hash":"86726952141382446110111110173821165684"},"id":"ASB-A-152874864-bf977b9e","signature_type":"Function"}],"fixes":["https://android.googlesource.com/platform/external/gptfdisk/+/7ffd0a26064cf25c0922f2bab511e4b4e8149083"],"severity":"High"},"database_specific":{"source":"https://storage.googleapis.com/android-osv/ASB-A-152874864.json"}},{"package":{"name":"platform/external/gptfdisk","ecosystem":"Android"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"10:0"},{"fixed":"10:2020-08-01"}]}],"versions":["10"],"ecosystem_specific":{"fixes":["https://android.googlesource.com/platform/external/gptfdisk/+/7ffd0a26064cf25c0922f2bab511e4b4e8149083"],"severity":"High","spl":"2020-08-01","types":["EoP"],"vanir_signatures":[{"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["41189207655891059859167090529817598632","308456246001391846981234990171806103081","130492737334370976961864212511290515607","189236150705486283594326498183963354117"]},"id":"ASB-A-152874864-536aab85","signature_type":"Line","signature_version":"v1","source":"https://android.googlesource.com/platform/external/gptfdisk/+/7ffd0a26064cf25c0922f2bab511e4b4e8149083","target":{"file":"gpt.cc"}},{"target":{"function":"GPTData::LoadPartitionTable","file":"gpt.cc"},"deprecated":false,"digest":{"length":1021,"function_hash":"86726952141382446110111110173821165684"},"id":"ASB-A-152874864-789e6262","signature_type":"Function","signature_version":"v1","source":"https://android.googlesource.com/platform/external/gptfdisk/+/7ffd0a26064cf25c0922f2bab511e4b4e8149083"}]},"database_specific":{"source":"https://storage.googleapis.com/android-osv/ASB-A-152874864.json"}}],"schema_version":"1.9.0"}