CVE-2020-0256
In LoadPartitionTable of gpt.cc, there is a possible out of bounds write due to a missing bounds...
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.Product: AndroidVersions: Android-8.1 Android-9 Android-10 Android-8.0Android ID: A-152874864
Attack profile
How easy it is to exploit
- Attack vector
- Physical
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
6.8
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.Product: AndroidVersions: Android-8.1 Android-9 Android-10 Android-8.0Android ID: A-152874864
- Record
CVE-2020-0256- CVSS 3.1
- 6.8 Medium
CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS 2.0
- 7.2 High
AV:L/AC:L/Au:N/C:C/I:C/A:C - Weakness
- CWE-787
- Updated
- 2026-11-02
CVE List No score
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.Product: AndroidVersions: Android-8.1 Android-9 Android-10 Android-8.0Android ID: A-152874864
- Record
CVE-2020-0256- Updated
- 2026-11-02
EUVDEUVD-2020-1759 No score
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.Product: AndroidVersions: Android-8.1 Android-9 Android-10 Android-8.0Android ID: A-152874864
- Record
EUVD-2020-1759- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-cj3m-c468-w963 No score
In LoadPartitionTable of gpt.cc, there is a possible out of bounds write due to a missing bounds...
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.Product: AndroidVersions: Android-8.1 Android-9 Android-10 Android-8.0Android ID: A-152874864
- Record
GHSA-cj3m-c468-w963- Weakness
- CWE-787
- Updated
- 2026-11-02
OSVALPINE-CVE-2020-0256
6.8
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.Product: AndroidVersions: Android-8.1 Android-9 Android-10 Android-8.0Android ID: A-152874864
- Record
ALPINE-CVE-2020-0256- CVSS 3.1
- 6.8 Medium
CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVBELL-CVE-2020-0256
6.8
CVE-2020-0256 does not affect BellSoft software
- Record
BELL-CVE-2020-0256- CVSS 3.1
- 6.8 Medium
CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Show 11 moreShow less
OSV
6.8
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.Product: AndroidVersions: Android-8.1 Android-9 Android-10 Android-8.0Android ID: A-152874864
- Record
CVE-2020-0256- CVSS 3.1
- 6.8 Medium
CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2020-0256
6.8
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.Product: AndroidVersions: Android-8.1 Android-9 Android-10 Android-8.0Android ID: A-152874864
- Record
DEBIAN-CVE-2020-0256- CVSS 3.1
- 6.8 Medium
CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVRHSA-2022:7700
6.8
Red Hat Security Advisory: gdisk security update
- Record
RHSA-2022:7700- CVSS 3.1
- 6.8 Medium
CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVRHSA-2024:3486
6.8
Red Hat Security Advisory: gdisk security update
- Record
RHSA-2024:3486- CVSS 3.1
- 6.8 Medium
CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVRLSA-2022:7700
6.8
Moderate: gdisk security update
The gdisk packages provide the gdisk partitioning utility for GUID Partition Table (GPT) disks. The utility features a command-line interface similar to fdisk, direct manipulation of partition table structures, recovery tools to deal with corrupt partition tables, and the ability to convert Master Boot Record (MBR) disks to the GPT format.
Security Fix(es):
-
gdisk: possible out-of-bounds-write in LoadPartitionTable of gpt.cc (CVE-2020-0256)
-
gdisk: possible out-of-bounds-write in ReadLogicalParts of basicmbr.cc (CVE-2021-0308)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
Additional Changes:
For detailed information on changes in this release, see the Rocky Linux 8.7 Release Notes linked from the References section.
- Record
RLSA-2022:7700- CVSS 3.1
- 6.8 Medium
CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2020-0256
6.8
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.Product: AndroidVersions: Android-8.1 Android-9 Android-10 Android-8.0Android ID: A-152874864
- Record
UBUNTU-CVE-2020-0256- CVSS 3.1
- 6.8 Medium
CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVALSA-2022:7700 No score
Moderate: gdisk security update
The gdisk packages provide the gdisk partitioning utility for GUID Partition Table (GPT) disks. The utility features a command-line interface similar to fdisk, direct manipulation of partition table structures, recovery tools to deal with corrupt partition tables, and the ability to convert Master Boot Record (MBR) disks to the GPT format.
Security Fix(es):
- gdisk: possible out-of-bounds-write in LoadPartitionTable of gpt.cc (CVE-2020-0256)
- gdisk: possible out-of-bounds-write in ReadLogicalParts of basicmbr.cc (CVE-2021-0308)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
Additional Changes:
For detailed information on changes in this release, see the AlmaLinux Release Notes linked from the References section.
- Record
ALSA-2022:7700- Updated
- 2026-11-02
OSVASB-A-152874864 No score
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.
- Record
ASB-A-152874864- Updated
- 2026-11-05
OSVMGASA-2021-0073 No score
Updated gdisk package fixes security vulnerabilities
A bug that could cause segfault if GPT header claimed partition entries are oversized (CVE-2020-0256).
A bug that could cause a crash if a badly-formatted MBR disk was read (CVE-2021-0308).
The gdisk package has been updated to version 1.0.6, fixing these issues and several other bugs. See the upstream NEWS file for details.
- Record
MGASA-2021-0073- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:10816-1 No score
gptfdisk-1.0.8-1.2 on GA media
These are all security issues fixed in the gptfdisk-1.0.8-1.2 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:10816-1- Updated
- 2026-11-02
OSVUSN-5262-1 No score
gdisk vulnerabilities
The potential for an out of bounds write due to a missing bounds check was discovered to impact the sgdisk utility of GPT fdisk. Exploitation requires the use of a maliciously formatted storage device and could cause sgdisk to crash as well as possibly allow for local privilege escalation.
- Record
USN-5262-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
gptfdiskAlpine:v3.13 |
before 1.0.6-r0 | 1.0.6-r0 |
gptfdiskAlpine:v3.14 |
before 1.0.6-r0 | 1.0.6-r0 |
gptfdiskAlpine:v3.15 |
before 1.0.6-r0 | 1.0.6-r0 |
gptfdiskAlpine:v3.16 |
before 1.0.6-r0 | 1.0.6-r0 |
gptfdiskAlpine:v3.17 |
before 1.0.6-r0 | 1.0.6-r0 |
gptfdiskAlpine:v3.18 |
before 1.0.6-r0 | 1.0.6-r0 |
gptfdiskAlpine:v3.19 |
before 1.0.6-r0 | 1.0.6-r0 |
gptfdiskAlpine:v3.20 |
before 1.0.6-r0 | 1.0.6-r0 |
gptfdiskAlpine:v3.21 |
before 1.0.6-r0 | 1.0.6-r0 |
gptfdiskAlpine:v3.22 |
before 1.0.6-r0 | 1.0.6-r0 |
Show 26 moreShow less
| Package | Affected | Fixed |
|---|---|---|
gptfdiskAlpine:v3.23 |
before 1.0.6-r0 | 1.0.6-r0 |
gptfdiskAlpine:v3.24 |
before 1.0.6-r0 | 1.0.6-r0 |
gdiskAlmaLinux:8 From an advisory covering 2 CVEs |
before 1.0.3-11.el8 | 1.0.3-11.el8 |
platform/external/gptfdiskAndroid |
8.0:0 up to 8.0:2020-08-01, plus listed versions 8.0 |
8.0:2020-08-01 |
platform/external/gptfdiskAndroid |
8.1:0 up to 8.1:2020-08-01, plus listed versions 8.1 |
8.1:2020-08-01 |
platform/external/gptfdiskAndroid |
9:0 up to 9:2020-08-01, plus listed versions 9 |
9:2020-08-01 |
platform/external/gptfdiskAndroid |
10:0 up to 10:2020-08-01, plus listed versions 10 |
10:2020-08-01 |
gdiskDebian:12 |
before 1.0.6-1 | 1.0.6-1 |
gdiskDebian:13 |
before 1.0.6-1 | 1.0.6-1 |
gdiskDebian:14 |
before 1.0.6-1 | 1.0.6-1 |
gdiskDebian:9 From an advisory covering 2 CVEs |
before 1.0.1-1+deb9u1, plus listed versions 1.0.1-1 |
1.0.1-1+deb9u1 |
gdiskMageia:7 From an advisory covering 2 CVEs |
before 1.0.6-1.mga7 | 1.0.6-1.mga7 |
gdiskRed Hat:enterprise_linux:8::baseos From an advisory covering 2 CVEs |
before 0:1.0.3-11.el8 | 0:1.0.3-11.el8 |
gdisk-debuginfoRed Hat:enterprise_linux:8::baseos From an advisory covering 2 CVEs |
before 0:1.0.3-11.el8 | 0:1.0.3-11.el8 |
gdisk-debugsourceRed Hat:enterprise_linux:8::baseos From an advisory covering 2 CVEs |
before 0:1.0.3-11.el8 | 0:1.0.3-11.el8 |
gdiskRed Hat:rhel_eus:8.6::baseos From an advisory covering 2 CVEs |
before 0:1.0.3-9.el8_6.1 | 0:1.0.3-9.el8_6.1 |
gdisk-debuginfoRed Hat:rhel_eus:8.6::baseos From an advisory covering 2 CVEs |
before 0:1.0.3-9.el8_6.1 | 0:1.0.3-9.el8_6.1 |
gdisk-debugsourceRed Hat:rhel_eus:8.6::baseos From an advisory covering 2 CVEs |
before 0:1.0.3-9.el8_6.1 | 0:1.0.3-9.el8_6.1 |
gdiskRocky Linux:8 From an advisory covering 2 CVEs |
before 0:1.0.3-11.el8 | 0:1.0.3-11.el8 |
gdiskUbuntu:14.04:LTS |
All versions, plus listed versions 0.8.7-10.8.8-1build10.8.8-1ubuntu0.1 |
None known |
gdiskUbuntu:Pro:16.04:LTS |
before 1.0.1-1ubuntu0.1~esm2, plus listed versions 1.0.0-31.0.1-11.0.1-1build1 |
1.0.1-1ubuntu0.1~esm2 |
gdiskUbuntu:18.04:LTS |
All versions, plus listed versions 1.0.1-1build11.0.3-1 |
None known |
gdiskUbuntu:20.04:LTS |
All versions, plus listed versions 1.0.4-31.0.5-1 |
None known |
gdiskUbuntu:22.04:LTS |
All versions, plus listed versions 1.0.8-11.0.8-31.0.8-41.0.8-4build1 |
None known |
gdiskUbuntu:Pro:16.04:LTS From an advisory covering 2 CVEs |
before 1.0.1-1ubuntu0.1~esm2, plus listed versions 1.0.0-31.0.1-11.0.1-1build1 |
1.0.1-1ubuntu0.1~esm2 |
gptfdiskopenSUSE:Tumbleweed From an advisory covering 2 CVEs |
before 1.0.8-1.2 | 1.0.8-1.2 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected | OSV | |
| facts | OSV | |
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2020-0256 is a medium vulnerability (CVSS 6.8) in Google Android, published August 1, 2020. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.21%, the 11th percentile. Fixed in gptfdisk 1.0.6-r0.
References
source.android.com/security/bulletin/2020-08-01
lists.debian.org/debian-lts-announce/2021/02/msg00010.html
nvd.nist.gov/vuln/detail/CVE-2020-0256
github.com/advisories/GHSA-cj3m-c468-w963
security.alpinelinux.org/vuln/CVE-2020-0256
access.redhat.com/errata/RHSA-2022:7700
Show 29 moreShow less
access.redhat.com/security/cve/CVE-2020-0256
access.redhat.com/security/cve/CVE-2021-0308
bugzilla.redhat.com/2051939
bugzilla.redhat.com/2051943
errata.almalinux.org/8/ALSA-2022-7700.html
android.googlesource.com/platform/external/gptfdisk/+/7ffd0a26064cf25c0922f2bab511e4b4e8149083
docs.bell-sw.com/security/cves/CVE-2020-0256
security-tracker.debian.org/tracker/CVE-2020-0256
advisories.mageia.org/MGASA-2021-0073.html
bugs.mageia.org/show_bug.cgi?id=28206
sourceforge.net/p/gptfdisk/code/ci/6180deb472c302c47f4d4acff8f2123d10824364/tree/NEWS
access.redhat.com/security/updates/classification
access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/8.7_release_notes/index
bugzilla.redhat.com/show_bug.cgi?id=2051939
bugzilla.redhat.com/show_bug.cgi?id=2051943
bugzilla.redhat.com/show_bug.cgi?id=2065205
security.access.redhat.com/data/csaf/v2/advisories/2022/rhsa-2022_7700.json
cve.org/CVERecord?id=CVE-2020-0256
cve.org/CVERecord?id=CVE-2021-0308
nvd.nist.gov/vuln/detail/CVE-2021-0308
access.redhat.com/errata/RHSA-2024:3486
security.access.redhat.com/data/csaf/v2/advisories/2024/rhsa-2024_3486.json
errata.rockylinux.org/RLSA-2022:7700
ubuntu.com/security/CVE-2020-0256
sourceforge.net/p/gptfdisk/code/ci/81c8bbee46ad6ebacf72eae70ba5147f376205a4
ubuntu.com/security/notices/USN-5262-1
ubuntu.com/security/CVE-2021-0308
suse.com/security/cve/CVE-2020-0256
suse.com/security/cve/CVE-2021-0308