OESA-2023-1607

Source
https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2023-1607
Import Source
https://repo.openeuler.org/security/data/osv/OESA-2023-1607.json
JSON Data
https://api.test.osv.dev/v1/vulns/OESA-2023-1607
Upstream
Published
2023-09-09T11:05:52Z
Modified
2025-08-12T05:19:33.908885Z
Summary
ghostscript security update
Details

Ghostscript is an interpreter for PostScript™ and Portable Document Format (PDF) files. Ghostscript consists of a PostScript interpreter layer, and a graphics library.

Security Fix(es):

In Artifex Ghostscript through 10.01.0, there is a buffer overflow leading to potential corruption of data internal to the PostScript interpreter, in base/sbcp.c. This affects BCPEncode, BCPDecode, TBCPEncode, and TBCPDecode. If the write buffer is filled to one byte less than full, and one then tries to write an escaped character, two bytes are written.(CVE-2023-28879)

Artifex Ghostscript through 10.01.2 mishandles permission validation for pipe devices (with the %pipe% prefix or the | pipe character prefix).(CVE-2023-36664)

A buffer overflow flaw was found in base/gdevdevn.c:1973 in devnpcxwrite_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.(CVE-2023-38559)

Database specific
{
    "severity": "Critical"
}
References

Affected packages

openEuler:22.03-LTS-SP1 / ghostscript

Package

Name
ghostscript
Purl
pkg:rpm/openEuler/ghostscript&distro=openEuler-22.03-LTS-SP1

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
9.55.0-5.oe2203sp1

Ecosystem specific

{
    "noarch": [
        "ghostscript-help-9.55.0-5.oe2203sp1.noarch.rpm"
    ],
    "aarch64": [
        "ghostscript-debuginfo-9.55.0-5.oe2203sp1.aarch64.rpm",
        "ghostscript-9.55.0-5.oe2203sp1.aarch64.rpm",
        "ghostscript-devel-9.55.0-5.oe2203sp1.aarch64.rpm",
        "ghostscript-tools-dvipdf-9.55.0-5.oe2203sp1.aarch64.rpm",
        "ghostscript-debugsource-9.55.0-5.oe2203sp1.aarch64.rpm"
    ],
    "src": [
        "ghostscript-9.55.0-5.oe2203sp1.src.rpm"
    ],
    "x86_64": [
        "ghostscript-debugsource-9.55.0-5.oe2203sp1.x86_64.rpm",
        "ghostscript-devel-9.55.0-5.oe2203sp1.x86_64.rpm",
        "ghostscript-tools-dvipdf-9.55.0-5.oe2203sp1.x86_64.rpm",
        "ghostscript-9.55.0-5.oe2203sp1.x86_64.rpm",
        "ghostscript-debuginfo-9.55.0-5.oe2203sp1.x86_64.rpm"
    ]
}