CVE-2023-38559
JSON

5.5medium

Ghostscript: out-of-bound read in base/gdevdevn.c:1973 in devn_pcx_write_rle could result in dos

Severity
5.5medium CVSS:3.1 by redhat
Exploit likelihood
0.46% (higher than 41% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
redhat

Description

A buffer overflow flaw was found in base/gdevdevn.c:1973 in devn_pcx_write_rle() in ghostscript. This issue may allow a local attacker to cause a denial of service via outputting a crafted PDF file for a DEVN device with gs.

Affected

Product or packageVersionsReported by
ghostscriptNot specified
Not affected: from 0:9.27-11.el8 before *, from 0:9.54.0-13.el9 before *
CVE List
gimp:flatpak/ghostscriptNot specifiedCVE List
artifex ghostscriptbefore 10.02.0NVD
redhat enterprise_linux8.0, 9.0NVD
fedoraproject fedora37, 38NVD
debian debian_linux10.0NVD

All scores

redhat5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Classification

CWE-120CWE-125

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

A buffer overflow flaw was found in base/gdevdevn.c:1973 in devn_pcx_write_rle() in ghostscript. This issue may allow a local attacker to cause a denial of service via outputting a crafted PDF file for a DEVN device with gs.

NVD (es)

Se ha encontrado un fallo de desbordamiento de búfer en base/gdevdevn.c:1973 en devn_pcx_write_rle() en ghostscript. Este problema puede permitir a un atacante local provocar una denegación de servicio mediante la salida de un archivo PDF manipulado para un dispositivo DEVN con gs.

References

https://access.redhat.com/errata/RHSA-2023:6544third-party-advisory, vendor-advisory
https://access.redhat.com/errata/RHSA-2023:7053third-party-advisory, vendor-advisory
https://access.redhat.com/security/cve/CVE-2023-38559third-party-advisory, vdb-entry
https://bugs.ghostscript.com/show_bug.cgi?id=706897permissions-required
https://bugzilla.redhat.com/show_bug.cgi?id=2224367issue-tracking, third-party-advisory
https://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=d81b82c70bc1mailing-list, patch
https://lists.debian.org/debian-lts-announce/2023/08/msg00006.html
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GBV6BTUREXM6DB3OGHGLMWGAZ3I45TXE/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QH7ERAYSSXEYDWWY7LOV7CA5MIDZN3Z6/

Sources

SourceRecordLicence
CVE ListCVE-2023-38559 changed 2026-11-26CVE Terms of Use
NVDCVE-2023-38559 changed 2026-11-26Public domain