{"id":"UBUNTU-CVE-2020-36773","details":"Artifex Ghostscript before 9.53.0 has an out-of-bounds write and use-after-free in devices/vector/gdevtxtw.c (for txtwrite) because a single character code in a PDF document can map to more than one Unicode code point (e.g., for a ligature).","modified":"2025-07-16T07:19:35.460480Z","published":"2024-02-04T18:16:00Z","withdrawn":"2025-07-18T16:46:18Z","upstream":["CVE-2020-36773"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2020-36773"},{"type":"REPORT","url":"https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/tag/gs9530"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2020-36773"}],"affected":[{"package":{"name":"ghostscript","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/ghostscript@9.50~dfsg-5ubuntu4.11?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.50~dfsg-5ubuntu4.11"}]}],"versions":["9.27~dfsg+0-0ubuntu3","9.27~dfsg+0-0ubuntu4","9.50~dfsg-5ubuntu1","9.50~dfsg-5ubuntu2","9.50~dfsg-5ubuntu3","9.50~dfsg-5ubuntu4","9.50~dfsg-5ubuntu4.1","9.50~dfsg-5ubuntu4.2","9.50~dfsg-5ubuntu4.3","9.50~dfsg-5ubuntu4.4","9.50~dfsg-5ubuntu4.5","9.50~dfsg-5ubuntu4.6","9.50~dfsg-5ubuntu4.7","9.50~dfsg-5ubuntu4.8","9.50~dfsg-5ubuntu4.9","9.50~dfsg-5ubuntu4.10"],"ecosystem_specific":{"binaries":[{"binary_version":"9.50~dfsg-5ubuntu4.11","binary_name":"ghostscript"},{"binary_version":"9.50~dfsg-5ubuntu4.11","binary_name":"ghostscript-dbg"},{"binary_version":"9.50~dfsg-5ubuntu4.11","binary_name":"ghostscript-doc"},{"binary_version":"9.50~dfsg-5ubuntu4.11","binary_name":"ghostscript-x"},{"binary_version":"9.50~dfsg-5ubuntu4.11","binary_name":"libgs-dev"},{"binary_version":"9.50~dfsg-5ubuntu4.11","binary_name":"libgs9"},{"binary_version":"9.50~dfsg-5ubuntu4.11","binary_name":"libgs9-common"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-36773.json"}},{"package":{"name":"ghostscript","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/ghostscript@9.55.0~dfsg1-0ubuntu5.5?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.55.0~dfsg1-0ubuntu5.5"}]}],"versions":["9.54.0~dfsg1-0ubuntu2","9.55.0~dfsg1-0ubuntu4","9.55.0~dfsg1-0ubuntu5","9.55.0~dfsg1-0ubuntu5.1","9.55.0~dfsg1-0ubuntu5.2","9.55.0~dfsg1-0ubuntu5.3","9.55.0~dfsg1-0ubuntu5.4"],"ecosystem_specific":{"binaries":[{"binary_version":"9.55.0~dfsg1-0ubuntu5.5","binary_name":"ghostscript"},{"binary_version":"9.55.0~dfsg1-0ubuntu5.5","binary_name":"ghostscript-dbgsym"},{"binary_version":"9.55.0~dfsg1-0ubuntu5.5","binary_name":"ghostscript-doc"},{"binary_version":"9.55.0~dfsg1-0ubuntu5.5","binary_name":"ghostscript-x"},{"binary_version":"9.55.0~dfsg1-0ubuntu5.5","binary_name":"ghostscript-x-dbgsym"},{"binary_version":"9.55.0~dfsg1-0ubuntu5.5","binary_name":"libgs-dev"},{"binary_version":"9.55.0~dfsg1-0ubuntu5.5","binary_name":"libgs9"},{"binary_version":"9.55.0~dfsg1-0ubuntu5.5","binary_name":"libgs9-common"},{"binary_version":"9.55.0~dfsg1-0ubuntu5.5","binary_name":"libgs9-dbgsym"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-36773.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}