Medium
Security advisory
A buffer overflow vulnerability in p_print_image() in devices/gdevcdj.c of Artifex Software GhostScript v9.50 allows a remote attacker to cause a denial of service via a crafted PDF file. This is fixed in v9.51.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2020-16308
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 08:05 UTC · Revision 1
Source evidence
A buffer overflow vulnerability in p_print_image() in devices/gdevcdj.c of Artifex Software GhostScript v9.50 allows a remote attacker to cause a denial of service via a crafted PDF file. This is fixed in v9.51.
osv:CVE-2020-16308
Complete source record
{
"id": "be33649c42e57b8aa1ebd0d40c2a84735ccc2e6af8b0ba652e417ba8e6b1b61d",
"url": "https://osv.dev/vulnerability/CVE-2020-16308",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2020-16308",
"summary": "A buffer overflow vulnerability in p_print_image() in devices/gdevcdj.c of Artifex Software GhostScript v9.50 allows a remote attacker to cause a denial of service via a crafted PDF file. This is fixed in v9.51.",
"evidence": "osv:CVE-2020-16308",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2020-16308",
"aliases": [
"CVE-2020-16308"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/artifexsoftware/ghostpdl-downloads",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "16c7521e7784c75cbdc5ab31f4fe407eb7d72ae9"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "9.51"
}
],
"source": "DESCRIPTION"
}
]
}
}
],
"versions": [
"gs951rc3",
"ghostpdl-9.51rc2",
"gs950",
"gs928rc4",
"gs928rc3",
"gs928rc2",
"gs928rc1",
"gs927",
"gs9.27",
"9.27",
"gs926",
"gs9.26rc1",
"9.27rc1",
"gs925rc1",
"gs925",
"gs924rc2",
"gs924",
"gs923rc1",
"gs923",
"gs922",
"gs922rc2",
"gs922rc1",
"gs921",
"gs920",
"9.21rc1",
"gs920rc1",
"gs919",
"gs918"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-16308.json"
}
}
],
"modified": "2026-10-24T10:31:02.708409395Z",
"provider": "osv",
"references": [
"https://git.ghostscript.com/?p=ghostpdl.git%3Ba=commitdiff%3Bh=af004276fd8f6c305727183c159b83021020f7d6",
"https://lists.debian.org/debian-lts-announce/2020/08/msg00032.html",
"https://security.gentoo.org/glsa/202008-20",
"https://usn.ubuntu.com/4469-1/",
"https://www.debian.org/security/2020/dsa-4748",
"https://bugs.ghostscript.com/show_bug.cgi?id=701829"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:a:artifex:ghostscript:*:*:*:*:*:*:*:*"
],
"vendor_product": "artifex:ghostscript",
"extracted_events": [
{
"range": [
{
"fixed": "9.52"
}
],
"source": "CPE_RANGE"
}
]
},
{
"cpes": [
"cpe:2.3:a:artifex:ghostscript:9.50:*:*:*:*:*:*:*"
],
"vendor_product": "artifex:ghostscript",
"extracted_events": [
{
"range": [
{
"introduced": "9.50"
},
{
"last_affected": "9.50"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:esm:*:*:*",
"cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*",
"cpe:2.3:o:canonical:ubuntu_linux:20.04:*:*:*:lts:*:*:*"
],
"vendor_product": "canonical:ubuntu_linux",
"extracted_events": [
{
"range": [
{
"introduced": "16.04"
},
{
"last_affected": "16.04"
},
{
"introduced": "18.04"
},
{
"last_affected": "18.04"
},
{
"introduced": "20.04"
},
{
"last_affected": "20.04"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*",
"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
],
"vendor_product": "debian:debian_linux",
"extracted_events": [
{
"range": [
{
"introduced": "9.0"
},
{
"last_affected": "9.0"
},
{
"introduced": "10.0"
},
{
"last_affected": "10.0"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2020-16308",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 440075,
"published_at": "2020-08-13T03:15:14.307+00:00"
}