gdisk — security advisory
In ReadLogicalParts of basicmbr.cc, there is a possible out of bounds write due to a missing bounds check. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation. Product: Android; Versions: Android-8.1, Android-9, Android-10, Android-11, Android-8.0; Android ID: A-158063095.
- Products
- gdisk
- Affected versions
- Not specified
- Fixed versions
- 1.0.6-1
- CVEs
- CVE-2021-0308
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 01:39 UTC · Revision 1
Source evidence
In ReadLogicalParts of basicmbr.cc, there is a possible out of bounds write due to a missing bounds check. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation. Product: Android; Versions: Android-8.1, Android-9, Android-10, Android-11, Android-8.0; Android ID: A-158063095.
osv:DEBIAN-CVE-2021-0308
gdisk
Fixed versions: 1.0.6-1
gdisk
Fixed versions: 1.0.6-1
gdisk
Fixed versions: 1.0.6-1
Complete source record
{
"id": "7aa2822184dd67e9162e12a24e80759aa2a53b60192d373c0f5b839472241811",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2021-0308",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2021-0308",
"summary": "In ReadLogicalParts of basicmbr.cc, there is a possible out of bounds write due to a missing bounds check. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation. Product: Android; Versions: Android-8.1, Android-9, Android-10, Android-11, Android-8.0; Android ID: A-158063095.",
"evidence": "osv:DEBIAN-CVE-2021-0308",
"products": [
{
"name": {
"value": "gdisk",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1.0.6-1",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "gdisk",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1.0.6-1",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "gdisk",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1.0.6-1",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": []
}
],
"severity": "medium",
"structured": {
"id": "DEBIAN-CVE-2021-0308",
"aliases": [
"DEBIAN-CVE-2021-0308"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.0.6-1"
}
]
}
],
"package": {
"name": "gdisk",
"purl": "pkg:deb/debian/gdisk?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-0308.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.0.6-1"
}
]
}
],
"package": {
"name": "gdisk",
"purl": "pkg:deb/debian/gdisk?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-0308.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.0.6-1"
}
]
}
],
"package": {
"name": "gdisk",
"purl": "pkg:deb/debian/gdisk?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-0308.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-23T18:04:48.755487316Z",
"provider": "osv",
"upstream": [
"CVE-2021-0308"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2021-0308"
]
},
"related_cves": [
{
"value": "CVE-2021-0308",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 423907,
"published_at": "2021-01-11T22:15:13.173+00:00"
}