CVE Vulnerabilities

CVE-2023-46751

Use After Free

Published: Dec 06, 2023 | Modified: Nov 21, 2024
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
RedHat/V2
RedHat/V3
7.5 MODERATE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Ubuntu
MEDIUM

An issue was discovered in the function gdev_prn_open_printer_seekable() in Artifex Ghostscript through 10.02.0 allows remote attackers to crash the application via a dangling pointer.

Weakness

The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory “belongs” to the code that operates on the new pointer.

Affected Software

Name Vendor Start Version End Version
Ghostscript Artifex * 10.02.0 (including)
Red Hat Enterprise Linux 8 RedHat ghostscript-0:9.27-16.el8_10 *
Red Hat Enterprise Linux 9 RedHat ghostscript-0:9.54.0-18.el9_6 *
Ghostscript Ubuntu bionic *
Ghostscript Ubuntu devel *
Ghostscript Ubuntu jammy *
Ghostscript Ubuntu lunar *
Ghostscript Ubuntu mantic *
Ghostscript Ubuntu noble *
Ghostscript Ubuntu trusty *
Ghostscript Ubuntu upstream *
Ghostscript Ubuntu xenial *

Potential Mitigations

References