MediumFix available
ghostscript — security advisory
Ghostscript GhostPDL 9.50 through 9.54.0 has a heap-based buffer overflow in sampled_data_finish (called from sampled_data_continue and interp).
- Products
- ghostscript
- Affected versions
- Not specified
- Fixed versions
- 9.55.0~dfsg-1
- CVEs
- CVE-2021-45949
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 01:09 UTC · Revision 1
Source evidence
Ghostscript GhostPDL 9.50 through 9.54.0 has a heap-based buffer overflow in sampled_data_finish (called from sampled_data_continue and interp).
osv:DEBIAN-CVE-2021-45949
ghostscript
Fixed versions: 9.55.0~dfsg-1
ghostscript
Fixed versions: 9.55.0~dfsg-1
ghostscript
Fixed versions: 9.55.0~dfsg-1
Complete source record
{
"id": "d13b5095c10163bf64cf8c8fc0a8a8200ffd4e270ea3dc2cc4af19e27cd33623",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2021-45949",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2021-45949",
"summary": "Ghostscript GhostPDL 9.50 through 9.54.0 has a heap-based buffer overflow in sampled_data_finish (called from sampled_data_continue and interp).",
"evidence": "osv:DEBIAN-CVE-2021-45949",
"products": [
{
"name": {
"value": "ghostscript",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "9.55.0~dfsg-1",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "ghostscript",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "9.55.0~dfsg-1",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "ghostscript",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "9.55.0~dfsg-1",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": []
}
],
"severity": "medium",
"structured": {
"id": "DEBIAN-CVE-2021-45949",
"aliases": [
"DEBIAN-CVE-2021-45949"
],
"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": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "9.55.0~dfsg-1"
}
]
}
],
"package": {
"name": "ghostscript",
"purl": "pkg:deb/debian/ghostscript?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-45949.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "9.55.0~dfsg-1"
}
]
}
],
"package": {
"name": "ghostscript",
"purl": "pkg:deb/debian/ghostscript?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-45949.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "9.55.0~dfsg-1"
}
]
}
],
"package": {
"name": "ghostscript",
"purl": "pkg:deb/debian/ghostscript?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-45949.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-23T18:04:17.454948539Z",
"provider": "osv",
"upstream": [
"CVE-2021-45949"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2021-45949"
]
},
"related_cves": [
{
"value": "CVE-2021-45949",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 423175,
"published_at": "2022-01-01T00:15:08.413+00:00"
}