Every CVE Search/ Get API key

CVE-2018-16541

In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use...

5.5 MediumFix available

In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use incorrect free logic in pagedevice replacement to crash the interpreter.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

Exploit likelihood

1.42%Down 0.4 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 5.5

In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use incorrect free logic in pagedevice replacement to crash the interpreter.

Record
CVE-2018-16541
CVSS 3.0
5.5 MediumCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS 2.0
4.3 MediumAV:N/AC:M/Au:N/C:N/I:N/A:P
Weakness
CWE-416
Updated
2026-11-02
CVE List No score

In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use incorrect free logic in pagedevice replacement to crash the interpreter.

Record
CVE-2018-16541
Updated
2026-11-02
EUVDEUVD-2018-8350 No score

In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use incorrect free logic in pagedevice replacement to crash the interpreter.

Record
EUVD-2018-8350
Updated
2026-11-03
GitHub AdvisoriesGHSA-m76g-5q68-xv2c 5.5

In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use...

In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use incorrect free logic in pagedevice replacement to crash the interpreter.

Record
GHSA-m76g-5q68-xv2c
CVSS 3.0
5.5 MediumCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness
CWE-416
Updated
2026-11-02
OSVBELL-CVE-2018-16541 5.5

CVE-2018-16541 does not affect BellSoft software

Record
BELL-CVE-2018-16541
CVSS 3.0
5.5 MediumCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSV 5.5

In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use incorrect free logic in pagedevice replacement to crash the interpreter.

Record
CVE-2018-16541
CVSS 3.0
5.5 MediumCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
Show 12 moreShow less
OSVDEBIAN-CVE-2018-16541 5.5

In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use incorrect free logic in pagedevice replacement to crash the interpreter.

Record
DEBIAN-CVE-2018-16541
CVSS 3.0
5.5 MediumCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVRHSA-2018:3834 7.5

Red Hat Security Advisory: ghostscript security and bug fix update

Record
RHSA-2018:3834
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2018-16541 5.5

In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use incorrect free logic in pagedevice replacement to crash the interpreter.

Record
UBUNTU-CVE-2018-16541
CVSS 3.0
5.5 MediumCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVMGASA-2018-0378 No score

Updated ghostscript packages fix security vulnerabilities

Updated ghostscript packages fix several security vulnerabilities including:

In Artifex Ghostscript 9.23 before 2018-08-23, attackers are able to supply malicious PostScript files to bypass .tempfile restrictions and write files (CVE-2018-15908).

In Artifex Ghostscript 9.23 before 2018-08-24, a type confusion using the .shfill operator could be used by attackers able to supply crafted PostScript files to crash the interpreter or potentially execute code (CVE-2018-15909).

In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the LockDistillerParams parameter to crash the interpreter or execute code (CVE-2018-15910).

In Artifex Ghostscript 9.23 before 2018-08-24, attackers able to supply crafted PostScript could use uninitialized memory access in the aesdecode operator to crash the interpreter or potentially execute code (CVE-2018-15911).

An issue was discovered in Artifex Ghostscript before 9.24. Incorrect "restoration of privilege" checking during handling of /invalidaccess exceptions could be used by attackers able to supply crafted PostScript to execute code using the "pipe" instruction (CVE-2018-16509).

An issue was discovered in Artifex Ghostscript before 9.24. Incorrect exec stack handling in the "CS" and "SC" PDF primitives could be used by remote attackers able to supply crafted PDFs to crash the interpreter or possibly have unspecified other impact (CVE-2018-16510).

An issue was discovered in Artifex Ghostscript before 9.24. A type confusion in "ztype" could be used by remote attackers able to supply crafted PostScript to crash the interpreter or possibly have unspecified other impact (CVE-2018-16511).

In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact (CVE-2018-16513).

In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use incorrect access checking in temp file handling to disclose contents of files on the system otherwise not readable (CVE-2018-16539).

In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files to the builtin PDF14 converter could use a use-after-free in copydevice handling to crash the interpreter or possibly have unspecified other impact (CVE-2018-16540).

In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use incorrect free logic in pagedevice replacement to crash the interpreter (CVE-2018-16541).

In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use insufficient interpreter stack-size checking during error handling to crash the interpreter (CVE-2018-16542).

In Artifex Ghostscript before 9.24, gssetresolution and gsgetresolution allow attackers to have an unspecified impact (CVE-2018-16543).

An issue was discovered in Artifex Ghostscript before 9.25. Incorrect "restoration of privilege" checking when running out of stack during exception handling could be used by attackers able to supply crafted PostScript to execute code using the "pipe" instruction. This is due to an incomplete fix for CVE-2018-16509 (CVE-2018-16802).

GS Bug 699663 : .setdistillerkeys memory corruption. (CVE Requested)

GS Bug 699699 : Crash upon bogus input argument

GS Bug 699719: Fix @ files in arg handling

GS Bug 699711: Review arg_next to ensure that NULL arg returns are coped with

GS Bug Fix SEGV seen in all-devices test with plank examples/ridt91.eps

GS Bug 699708 (part 1): 'Hide' non-replaceable error handlers for SAFER

GS Bug 699707: Security review bug - continuation procedures

Record
MGASA-2018-0378
Updated
2026-11-02
OSVopenSUSE-SU-2018:3687-1 No score

Security update for MozillaThunderbird

This update for Mozilla Thunderbird to version 60.2.1 fixes multiple issues.

Multiple security issues were fixed in the Mozilla platform as advised in MFSA 2018-25 and MFSA 2018-28. In general, these flaws cannot be exploited through email in Thunderbird because scripting is disabled when reading mail, but are potentially risks in browser or browser-like contexts:

  • CVE-2018-12359: Prevent buffer overflow using computed size of canvas element (bsc#1098998)
  • CVE-2018-12360: Prevent use-after-free when using focus() (bsc#1098998)
  • CVE-2018-12361: Prevent integer overflow in SwizzleData (bsc#1098998)
  • CVE-2018-12362: Prevent integer overflow in SSSE3 scaler (bsc#1098998)
  • CVE-2018-5156: Prevent media recorder segmentation fault when track type is changed during capture (bsc#1098998)
  • CVE-2018-12363: Prevent use-after-free when appending DOM nodes (bsc#1098998)
  • CVE-2018-12364: Prevent CSRF attacks through 307 redirects and NPAPI plugins (bsc#1098998)
  • CVE-2018-12365: Prevent compromised IPC child process listing local filenames (bsc#1098998)
  • CVE-2018-12371: Prevent integer overflow in Skia library during edge builder allocation (bsc#1098998)
  • CVE-2018-12366: Prevent invalid data handling during QCMS transformations (bsc#1098998)
  • CVE-2018-12367: Timing attack mitigation of PerformanceNavigationTiming (bsc#1098998)
  • CVE-2018-5187: Various memory safety bugs (bsc#1098998)
  • CVE-2018-5188: Various memory safety bugs (bsc#1098998)
  • CVE-2018-12377: Use-after-free in refresh driver timers (bsc#1107343)
  • CVE-2018-12378: Use-after-free in IndexedDB (bsc#1107343)
  • CVE-2017-16541: Proxy bypass using automount and autofs (bsc#1066489)
  • CVE-2018-12376: Memory safety bugs fixed in Firefox 62 and Firefox ESR 60.2 (bsc#1107343)
  • CVE-2018-12385: Crash in TransportSecurityInfo due to cached data (bsc#1109363)
  • CVE-2018-12383: Setting a master password did not delete unencrypted previously stored passwords (bsc#1107343)
  • CVE-2018-12389: Fixed memory safety bugs (bsc#1112852)
  • CVE-2018-12390: Fixed memory safety bugs (bsc#1112852)
  • CVE-2018-12391: Fixed HTTP Live Stream audio data is accessible cross-origin (bsc#1112852)
  • CVE-2018-12392: Fixed crash with nested event loops (bsc#1112852)
  • CVE-2018-12393: Fixed integer overflow during Unicode conversion while loading JavaScript (bsc#1112852)

These non-security issues were fixed:

  • Fix date display issues (bsc#1109379)
  • Fix start-up crash due to folder name with special characters (bsc#1107772)
  • Storing of remote content settings fixed (bsc#1084603)
  • Improved message handling and composing
  • Improved handling of message templates
  • Support for OAuth2 and FIDO U2F
  • Various Calendar improvements
  • Various fixes and changes to e-mail workflow
  • Various IMAP fixes
  • Native desktop notifications
  • various theme fixes
  • Shift+PageUp/PageDown in Write window
  • Gloda attachment filtering
  • Mailing list address auto-complete enter/return handling
  • Thunderbird hung if HTML signature references non-existent image
  • Filters not working for headers that appear more than once
Record
openSUSE-SU-2018:3687-1
Updated
2026-11-02
OSVopenSUSE-SU-2024:10783-1 No score

ghostscript-9.54.0-2.2 on GA media

These are all security issues fixed in the ghostscript-9.54.0-2.2 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:10783-1
Updated
2026-11-02
OSVSUSE-SU-2018:2975-1 No score

Security update for ghostscript

This update for ghostscript to version 9.25 fixes the following issues:

These security issues were fixed:

  • CVE-2018-17183: Remote attackers were be able to supply crafted PostScript to potentially overwrite or replace error handlers to inject code (bsc#1109105)
  • CVE-2018-15909: Prevent type confusion using the .shfill operator that could have been used by attackers able to supply crafted PostScript files to crash the interpreter or potentially execute code (bsc#1106172).
  • CVE-2018-15908: Prevent attackers that are able to supply malicious PostScript files to bypass .tempfile restrictions and write files (bsc#1106171).
  • CVE-2018-15910: Prevent a type confusion in the LockDistillerParams parameter that could have been used to crash the interpreter or execute code (bsc#1106173).
  • CVE-2018-15911: Prevent use uninitialized memory access in the aesdecode operator that could have been used to crash the interpreter or potentially execute code (bsc#1106195).
  • CVE-2018-16513: Prevent a type confusion in the setcolor function that could have been used to crash the interpreter or possibly have unspecified other impact (bsc#1107412).
  • CVE-2018-16509: Incorrect 'restoration of privilege' checking during handling of /invalidaccess exceptions could be have been used by attackers able to supply crafted PostScript to execute code using the 'pipe' instruction (bsc#1107410).
  • CVE-2018-16510: Incorrect exec stack handling in the 'CS' and 'SC' PDF primitives could have been used by remote attackers able to supply crafted PDFs to crash the interpreter or possibly have unspecified other impact (bsc#1107411).
  • CVE-2018-16542: Prevent attackers able to supply crafted PostScript files from using insufficient interpreter stack-size checking during error handling to crash the interpreter (bsc#1107413).
  • CVE-2018-16541: Prevent attackers able to supply crafted PostScript files from using incorrect free logic in pagedevice replacement to crash the interpreter (bsc#1107421).
  • CVE-2018-16540: Prevent use-after-free in copydevice handling that could have been used to crash the interpreter or possibly have unspecified other impact (bsc#1107420).
  • CVE-2018-16539: Prevent attackers able to supply crafted PostScript files from using incorrect access checking in temp file handling to disclose contents of files on the system otherwise not readable (bsc#1107422).
  • CVE-2018-16543: gssetresolution and gsgetresolution allowed attackers to have an unspecified impact (bsc#1107423).
  • CVE-2018-16511: A type confusion in 'ztype' could have been used by remote attackers able to supply crafted PostScript to crash the interpreter or possibly have unspecified other impact (bsc#1107426).
  • CVE-2018-16585: The .setdistillerkeys PostScript command was accepted even though it is not intended for use during document processing (e.g., after the startup phase). This lead to memory corruption, allowing remote attackers able to supply crafted PostScript to crash the interpreter or possibly have unspecified other impact (bsc#1107581).
  • CVE-2018-16802: Incorrect 'restoration of privilege' checking when running out of stack during exception handling could have been used by attackers able to supply crafted PostScript to execute code using the 'pipe' instruction. This is due to an incomplete fix for CVE-2018-16509 (bsc#1108027).

These non-security issues were fixed:

  • Fixes problems with argument handling, some unintended results of the security fixes to the SAFER file access restrictions (specifically accessing ICC profile files).
  • Avoid that ps2epsi fails with 'Error: /undefined in --setpagedevice--'

For additional changes please check http://www.ghostscript.com/doc/9.25/News.htm and the changes file of the package.

Record
SUSE-SU-2018:2975-1
Updated
2026-11-02
OSVSUSE-SU-2018:2975-2 No score

Security update for ghostscript

This update for ghostscript to version 9.25 fixes the following issues:

These security issues were fixed:

  • CVE-2018-17183: Remote attackers were be able to supply crafted PostScript to potentially overwrite or replace error handlers to inject code (bsc#1109105)
  • CVE-2018-15909: Prevent type confusion using the .shfill operator that could have been used by attackers able to supply crafted PostScript files to crash the interpreter or potentially execute code (bsc#1106172).
  • CVE-2018-15908: Prevent attackers that are able to supply malicious PostScript files to bypass .tempfile restrictions and write files (bsc#1106171).
  • CVE-2018-15910: Prevent a type confusion in the LockDistillerParams parameter that could have been used to crash the interpreter or execute code (bsc#1106173).
  • CVE-2018-15911: Prevent use uninitialized memory access in the aesdecode operator that could have been used to crash the interpreter or potentially execute code (bsc#1106195).
  • CVE-2018-16513: Prevent a type confusion in the setcolor function that could have been used to crash the interpreter or possibly have unspecified other impact (bsc#1107412).
  • CVE-2018-16509: Incorrect 'restoration of privilege' checking during handling of /invalidaccess exceptions could be have been used by attackers able to supply crafted PostScript to execute code using the 'pipe' instruction (bsc#1107410).
  • CVE-2018-16510: Incorrect exec stack handling in the 'CS' and 'SC' PDF primitives could have been used by remote attackers able to supply crafted PDFs to crash the interpreter or possibly have unspecified other impact (bsc#1107411).
  • CVE-2018-16542: Prevent attackers able to supply crafted PostScript files from using insufficient interpreter stack-size checking during error handling to crash the interpreter (bsc#1107413).
  • CVE-2018-16541: Prevent attackers able to supply crafted PostScript files from using incorrect free logic in pagedevice replacement to crash the interpreter (bsc#1107421).
  • CVE-2018-16540: Prevent use-after-free in copydevice handling that could have been used to crash the interpreter or possibly have unspecified other impact (bsc#1107420).
  • CVE-2018-16539: Prevent attackers able to supply crafted PostScript files from using incorrect access checking in temp file handling to disclose contents of files on the system otherwise not readable (bsc#1107422).
  • CVE-2018-16543: gssetresolution and gsgetresolution allowed attackers to have an unspecified impact (bsc#1107423).
  • CVE-2018-16511: A type confusion in 'ztype' could have been used by remote attackers able to supply crafted PostScript to crash the interpreter or possibly have unspecified other impact (bsc#1107426).
  • CVE-2018-16585: The .setdistillerkeys PostScript command was accepted even though it is not intended for use during document processing (e.g., after the startup phase). This lead to memory corruption, allowing remote attackers able to supply crafted PostScript to crash the interpreter or possibly have unspecified other impact (bsc#1107581).
  • CVE-2018-16802: Incorrect 'restoration of privilege' checking when running out of stack during exception handling could have been used by attackers able to supply crafted PostScript to execute code using the 'pipe' instruction. This is due to an incomplete fix for CVE-2018-16509 (bsc#1108027).

These non-security issues were fixed:

  • Fixes problems with argument handling, some unintended results of the security fixes to the SAFER file access restrictions (specifically accessing ICC profile files).
  • Avoid that ps2epsi fails with 'Error: /undefined in --setpagedevice--'

For additional changes please check http://www.ghostscript.com/doc/9.25/News.htm and the changes file of the package.

Record
SUSE-SU-2018:2975-2
Updated
2026-11-02
OSVSUSE-SU-2018:2975-3 No score

Security update for ghostscript

This update for ghostscript to version 9.25 fixes the following issues:

These security issues were fixed:

  • CVE-2018-17183: Remote attackers were be able to supply crafted PostScript to potentially overwrite or replace error handlers to inject code (bsc#1109105)
  • CVE-2018-15909: Prevent type confusion using the .shfill operator that could have been used by attackers able to supply crafted PostScript files to crash the interpreter or potentially execute code (bsc#1106172).
  • CVE-2018-15908: Prevent attackers that are able to supply malicious PostScript files to bypass .tempfile restrictions and write files (bsc#1106171).
  • CVE-2018-15910: Prevent a type confusion in the LockDistillerParams parameter that could have been used to crash the interpreter or execute code (bsc#1106173).
  • CVE-2018-15911: Prevent use uninitialized memory access in the aesdecode operator that could have been used to crash the interpreter or potentially execute code (bsc#1106195).
  • CVE-2018-16513: Prevent a type confusion in the setcolor function that could have been used to crash the interpreter or possibly have unspecified other impact (bsc#1107412).
  • CVE-2018-16509: Incorrect 'restoration of privilege' checking during handling of /invalidaccess exceptions could be have been used by attackers able to supply crafted PostScript to execute code using the 'pipe' instruction (bsc#1107410).
  • CVE-2018-16510: Incorrect exec stack handling in the 'CS' and 'SC' PDF primitives could have been used by remote attackers able to supply crafted PDFs to crash the interpreter or possibly have unspecified other impact (bsc#1107411).
  • CVE-2018-16542: Prevent attackers able to supply crafted PostScript files from using insufficient interpreter stack-size checking during error handling to crash the interpreter (bsc#1107413).
  • CVE-2018-16541: Prevent attackers able to supply crafted PostScript files from using incorrect free logic in pagedevice replacement to crash the interpreter (bsc#1107421).
  • CVE-2018-16540: Prevent use-after-free in copydevice handling that could have been used to crash the interpreter or possibly have unspecified other impact (bsc#1107420).
  • CVE-2018-16539: Prevent attackers able to supply crafted PostScript files from using incorrect access checking in temp file handling to disclose contents of files on the system otherwise not readable (bsc#1107422).
  • CVE-2018-16543: gssetresolution and gsgetresolution allowed attackers to have an unspecified impact (bsc#1107423).
  • CVE-2018-16511: A type confusion in 'ztype' could have been used by remote attackers able to supply crafted PostScript to crash the interpreter or possibly have unspecified other impact (bsc#1107426).
  • CVE-2018-16585: The .setdistillerkeys PostScript command was accepted even though it is not intended for use during document processing (e.g., after the startup phase). This lead to memory corruption, allowing remote attackers able to supply crafted PostScript to crash the interpreter or possibly have unspecified other impact (bsc#1107581).
  • CVE-2018-16802: Incorrect 'restoration of privilege' checking when running out of stack during exception handling could have been used by attackers able to supply crafted PostScript to execute code using the 'pipe' instruction. This is due to an incomplete fix for CVE-2018-16509 (bsc#1108027).

These non-security issues were fixed:

  • Fixes problems with argument handling, some unintended results of the security fixes to the SAFER file access restrictions (specifically accessing ICC profile files).
  • Avoid that ps2epsi fails with 'Error: /undefined in --setpagedevice--'

For additional changes please check http://www.ghostscript.com/doc/9.25/News.htm and the changes file of the package.

Record
SUSE-SU-2018:2975-3
Updated
2026-11-02
OSVSUSE-SU-2018:2976-1 No score

Security update for ghostscript

This update for ghostscript to version 9.25 fixes the following issues:

These security issues were fixed:

  • CVE-2018-17183: Remote attackers were be able to supply crafted PostScript to potentially overwrite or replace error handlers to inject code (bsc#1109105)
  • CVE-2018-15909: Prevent type confusion using the .shfill operator that could have been used by attackers able to supply crafted PostScript files to crash the interpreter or potentially execute code (bsc#1106172).
  • CVE-2018-15908: Prevent attackers that are able to supply malicious PostScript files to bypass .tempfile restrictions and write files (bsc#1106171).
  • CVE-2018-15910: Prevent a type confusion in the LockDistillerParams parameter that could have been used to crash the interpreter or execute code (bsc#1106173).
  • CVE-2018-15911: Prevent use uninitialized memory access in the aesdecode operator that could have been used to crash the interpreter or potentially execute code (bsc#1106195).
  • CVE-2018-16513: Prevent a type confusion in the setcolor function that could have been used to crash the interpreter or possibly have unspecified other impact (bsc#1107412).
  • CVE-2018-16509: Incorrect 'restoration of privilege' checking during handling of /invalidaccess exceptions could be have been used by attackers able to supply crafted PostScript to execute code using the 'pipe' instruction (bsc#1107410).
  • CVE-2018-16510: Incorrect exec stack handling in the 'CS' and 'SC' PDF primitives could have been used by remote attackers able to supply crafted PDFs to crash the interpreter or possibly have unspecified other impact (bsc#1107411).
  • CVE-2018-16542: Prevent attackers able to supply crafted PostScript files from using insufficient interpreter stack-size checking during error handling to crash the interpreter (bsc#1107413).
  • CVE-2018-16541: Prevent attackers able to supply crafted PostScript files from using incorrect free logic in pagedevice replacement to crash the interpreter (bsc#1107421).
  • CVE-2018-16540: Prevent use-after-free in copydevice handling that could have been used to crash the interpreter or possibly have unspecified other impact (bsc#1107420).
  • CVE-2018-16539: Prevent attackers able to supply crafted PostScript files from using incorrect access checking in temp file handling to disclose contents of files on the system otherwise not readable (bsc#1107422).
  • CVE-2018-16543: gssetresolution and gsgetresolution allowed attackers to have an unspecified impact (bsc#1107423).
  • CVE-2018-16511: A type confusion in 'ztype' could have been used by remote attackers able to supply crafted PostScript to crash the interpreter or possibly have unspecified other impact (bsc#1107426).
  • CVE-2018-16585: The .setdistillerkeys PostScript command was accepted even though it is not intended for use during document processing (e.g., after the startup phase). This lead to memory corruption, allowing remote attackers able to supply crafted PostScript to crash the interpreter or possibly have unspecified other impact (bsc#1107581).
  • CVE-2018-16802: Incorrect 'restoration of privilege' checking when running out of stack during exception handling could have been used by attackers able to supply crafted PostScript to execute code using the 'pipe' instruction. This is due to an incomplete fix for CVE-2018-16509 (bsc#1108027).

These non-security issues were fixed:

  • Fixes problems with argument handling, some unintended results of the security fixes to the SAFER file access restrictions (specifically accessing ICC profile files).
  • Avoid that ps2epsi fails with 'Error: /undefined in --setpagedevice--'

For additional changes please check http://www.ghostscript.com/doc/9.25/News.htm

Record
SUSE-SU-2018:2976-1
Updated
2026-11-02
OSVSUSE-SU-2018:3330-1 No score

Security update for ghostscript-library

This update for ghostscript-library fixes the following issues:

  • CVE-2018-16511: A type confusion in 'ztype' could be used by remote attackers able to supply crafted PostScript to crash the interpreter or possibly have unspecified other impact. (bsc#1107426)
  • CVE-2018-16540: Attackers able to supply crafted PostScript files to the builtin PDF14 converter could use a use-after-free in copydevice handling to crash the interpreter or possibly have unspecified other impact. (bsc#1107420)
  • CVE-2018-16541: Attackers able to supply crafted PostScript files could use incorrect free logic in pagedevice replacement to crash the interpreter. (bsc#1107421)
  • CVE-2018-16542: Attackers able to supply crafted PostScript files could use insufficient interpreter stack-size checking during error handling to crash the interpreter. (bsc#1107413)
  • CVE-2018-16509: Incorrect 'restoration of privilege' checking during handling of /invalidaccess exceptions could be used by attackers able to supply crafted PostScript to execute code using the 'pipe' instruction. (bsc#1107410
  • CVE-2018-16513: Attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact. (bsc#1107412)
  • CVE-2018-15910: Attackers able to supply crafted PostScript files could use a type confusion in the LockDistillerParams parameter to crash the interpreter or execute code. (bsc#1106173)
  • CVE-2017-9611: The Ins_MIRP function allowed remote attackers to cause a denial of service (heap-based buffer over-read and application crash) or possibly have unspecified other impact via a crafted document. (bsc#1050893)
Record
SUSE-SU-2018:3330-1
Updated
2026-11-02
OSVUSN-3768-1 No score

ghostscript vulnerabilities

Tavis Ormandy discovered multiple security issues in Ghostscript. If a user or automated system were tricked into processing a specially crafted file, a remote attacker could possibly use these issues to access arbitrary files, execute arbitrary code, or cause a denial of service.

Record
USN-3768-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
ghostscript
Debian:12
before 9.22~dfsg-3
9.22~dfsg-3
ghostscript
Debian:13
before 9.22~dfsg-3
9.22~dfsg-3
ghostscript
Debian:14
before 9.22~dfsg-3
9.22~dfsg-3
ghostscript
Debian:8
From an advisory covering 14 CVEs
before 9.06~dfsg-2+deb8u8, plus listed versions
9.06~dfsg-29.06~dfsg-2+deb8u19.06~dfsg-2+deb8u29.06~dfsg-2+deb8u39.06~dfsg-2+deb8u49.06~dfsg-2+deb8u59.06~dfsg-2+deb8u69.06~dfsg-2+deb8u7
9.06~dfsg-2+deb8u8
ghostscript
Debian:9
From an advisory covering 12 CVEs
before 9.20~dfsg-3.2+deb9u4, plus listed versions
9.20~dfsg-3.29.20~dfsg-3.2+deb9u19.20~dfsg-3.2+deb9u29.20~dfsg-3.2+deb9u3
9.20~dfsg-3.2+deb9u4
ghostscript
Mageia:6
From an advisory covering 14 CVEs
before 9.24-1.5.mga6
9.24-1.5.mga6
ghostscript
Red Hat:enterprise_linux:7::client
From an advisory covering 9 CVEs
before 0:9.07-31.el7_6.6
0:9.07-31.el7_6.6
ghostscript-cups
Red Hat:enterprise_linux:7::client
From an advisory covering 9 CVEs
before 0:9.07-31.el7_6.6
0:9.07-31.el7_6.6
ghostscript-debuginfo
Red Hat:enterprise_linux:7::client
From an advisory covering 9 CVEs
before 0:9.07-31.el7_6.6
0:9.07-31.el7_6.6
ghostscript-devel
Red Hat:enterprise_linux:7::client
From an advisory covering 9 CVEs
before 0:9.07-31.el7_6.6
0:9.07-31.el7_6.6
Show 48 moreShow less
Affected packages
PackageAffectedFixed
ghostscript-doc
Red Hat:enterprise_linux:7::client
From an advisory covering 9 CVEs
before 0:9.07-31.el7_6.6
0:9.07-31.el7_6.6
ghostscript-gtk
Red Hat:enterprise_linux:7::client
From an advisory covering 9 CVEs
before 0:9.07-31.el7_6.6
0:9.07-31.el7_6.6
ghostscript
Red Hat:enterprise_linux:7::computenode
From an advisory covering 9 CVEs
before 0:9.07-31.el7_6.6
0:9.07-31.el7_6.6
ghostscript-cups
Red Hat:enterprise_linux:7::computenode
From an advisory covering 9 CVEs
before 0:9.07-31.el7_6.6
0:9.07-31.el7_6.6
ghostscript-debuginfo
Red Hat:enterprise_linux:7::computenode
From an advisory covering 9 CVEs
before 0:9.07-31.el7_6.6
0:9.07-31.el7_6.6
ghostscript-devel
Red Hat:enterprise_linux:7::computenode
From an advisory covering 9 CVEs
before 0:9.07-31.el7_6.6
0:9.07-31.el7_6.6
ghostscript-doc
Red Hat:enterprise_linux:7::computenode
From an advisory covering 9 CVEs
before 0:9.07-31.el7_6.6
0:9.07-31.el7_6.6
ghostscript-gtk
Red Hat:enterprise_linux:7::computenode
From an advisory covering 9 CVEs
before 0:9.07-31.el7_6.6
0:9.07-31.el7_6.6
ghostscript
Red Hat:enterprise_linux:7::server
From an advisory covering 9 CVEs
before 0:9.07-31.el7_6.6
0:9.07-31.el7_6.6
ghostscript-cups
Red Hat:enterprise_linux:7::server
From an advisory covering 9 CVEs
before 0:9.07-31.el7_6.6
0:9.07-31.el7_6.6
ghostscript-debuginfo
Red Hat:enterprise_linux:7::server
From an advisory covering 9 CVEs
before 0:9.07-31.el7_6.6
0:9.07-31.el7_6.6
ghostscript-devel
Red Hat:enterprise_linux:7::server
From an advisory covering 9 CVEs
before 0:9.07-31.el7_6.6
0:9.07-31.el7_6.6
ghostscript-doc
Red Hat:enterprise_linux:7::server
From an advisory covering 9 CVEs
before 0:9.07-31.el7_6.6
0:9.07-31.el7_6.6
ghostscript-gtk
Red Hat:enterprise_linux:7::server
From an advisory covering 9 CVEs
before 0:9.07-31.el7_6.6
0:9.07-31.el7_6.6
ghostscript
Red Hat:enterprise_linux:7::workstation
From an advisory covering 9 CVEs
before 0:9.07-31.el7_6.6
0:9.07-31.el7_6.6
ghostscript-cups
Red Hat:enterprise_linux:7::workstation
From an advisory covering 9 CVEs
before 0:9.07-31.el7_6.6
0:9.07-31.el7_6.6
ghostscript-debuginfo
Red Hat:enterprise_linux:7::workstation
From an advisory covering 9 CVEs
before 0:9.07-31.el7_6.6
0:9.07-31.el7_6.6
ghostscript-devel
Red Hat:enterprise_linux:7::workstation
From an advisory covering 9 CVEs
before 0:9.07-31.el7_6.6
0:9.07-31.el7_6.6
ghostscript-doc
Red Hat:enterprise_linux:7::workstation
From an advisory covering 9 CVEs
before 0:9.07-31.el7_6.6
0:9.07-31.el7_6.6
ghostscript-gtk
Red Hat:enterprise_linux:7::workstation
From an advisory covering 9 CVEs
before 0:9.07-31.el7_6.6
0:9.07-31.el7_6.6
ghostscript
SUSE:OpenStack Cloud 7
From an advisory covering 16 CVEs
before 9.25-23.13.1
9.25-23.13.1
ghostscript
SUSE:Linux Enterprise Desktop 12 SP3
From an advisory covering 16 CVEs
before 9.25-23.13.1
9.25-23.13.1
ghostscript
SUSE:Linux Enterprise Server for SAP Applications 12 SP2
From an advisory covering 16 CVEs
before 9.25-23.13.1
9.25-23.13.1
ghostscript
SUSE:Linux Enterprise Software Development Kit 12 SP3
From an advisory covering 16 CVEs
before 9.25-23.13.1
9.25-23.13.1
ghostscript
SUSE:Linux Enterprise Server 12-LTSS
From an advisory covering 16 CVEs
before 9.25-23.13.1
9.25-23.13.1
ghostscript
SUSE:Linux Enterprise Server 12 SP1-LTSS
From an advisory covering 16 CVEs
before 9.25-23.13.1
9.25-23.13.1
ghostscript
SUSE:Linux Enterprise Server 12 SP2-LTSS
From an advisory covering 16 CVEs
before 9.25-23.13.1
9.25-23.13.1
ghostscript
SUSE:Linux Enterprise Server 12 SP3
From an advisory covering 16 CVEs
before 9.25-23.13.1
9.25-23.13.1
ghostscript
SUSE:Linux Enterprise Server for SAP Applications 12 SP3
From an advisory covering 16 CVEs
before 9.25-23.13.1
9.25-23.13.1
ghostscript
SUSE:Enterprise Storage 4
From an advisory covering 16 CVEs
before 9.25-23.13.1
9.25-23.13.1
ghostscript
SUSE:Linux Enterprise Server 12 SP2-BCL
From an advisory covering 16 CVEs
before 9.25-23.13.1
9.25-23.13.1
ghostscript
SUSE:Linux Enterprise Server for SAP Applications 12 SP1
From an advisory covering 16 CVEs
before 9.25-23.13.1
9.25-23.13.1
ghostscript
SUSE:Linux Enterprise Module for Basesystem 15
From an advisory covering 16 CVEs
before 9.25-3.6.1
9.25-3.6.1
libspectre
SUSE:Linux Enterprise Module for Desktop Applications 15
From an advisory covering 16 CVEs
before 0.2.8-3.2.1
0.2.8-3.2.1
ghostscript-library
SUSE:Linux Enterprise Software Development Kit 11 SP4
From an advisory covering 8 CVEs
before 8.62-32.47.13.1
8.62-32.47.13.1
ghostscript-library
SUSE:Linux Enterprise Point of Sale 11 SP3
From an advisory covering 8 CVEs
before 8.62-32.47.13.1
8.62-32.47.13.1
ghostscript-library
SUSE:Linux Enterprise Server 11 SP3-LTSS
From an advisory covering 8 CVEs
before 8.62-32.47.13.1
8.62-32.47.13.1
ghostscript-library
SUSE:Linux Enterprise Server 11 SP3-TERADATA
From an advisory covering 8 CVEs
before 8.62-32.47.13.1
8.62-32.47.13.1
ghostscript-library
SUSE:Linux Enterprise Server 11 SP4
From an advisory covering 8 CVEs
before 8.62-32.47.13.1
8.62-32.47.13.1
ghostscript-library
SUSE:Linux Enterprise Server for SAP Applications 11 SP4
From an advisory covering 8 CVEs
before 8.62-32.47.13.1
8.62-32.47.13.1
ghostscript
Ubuntu:14.04:LTS
before 9.10~dfsg-0ubuntu10.13, plus listed versions
9.10~dfsg-0ubuntu29.10~dfsg-0ubuntu39.10~dfsg-0ubuntu49.10~dfsg-0ubuntu59.10~dfsg-0ubuntu6
Show 14 moreShow less
9.10~dfsg-0ubuntu79.10~dfsg-0ubuntu89.10~dfsg-0ubuntu99.10~dfsg-0ubuntu109.10~dfsg-0ubuntu10.19.10~dfsg-0ubuntu10.29.10~dfsg-0ubuntu10.39.10~dfsg-0ubuntu10.49.10~dfsg-0ubuntu10.59.10~dfsg-0ubuntu10.69.10~dfsg-0ubuntu10.79.10~dfsg-0ubuntu10.99.10~dfsg-0ubuntu10.109.10~dfsg-0ubuntu10.12
9.10~dfsg-0ubuntu10.13
ghostscript
Ubuntu:16.04:LTS
before 9.18~dfsg~0-0ubuntu2.9, plus listed versions
9.16~dfsg~0-0ubuntu39.16~dfsg~0-0ubuntu49.18~dfsg~0-0ubuntu19.18~dfsg~0-0ubuntu29.18~dfsg~0-0ubuntu2.2
Show 5 moreShow less
9.18~dfsg~0-0ubuntu2.39.18~dfsg~0-0ubuntu2.49.18~dfsg~0-0ubuntu2.69.18~dfsg~0-0ubuntu2.79.18~dfsg~0-0ubuntu2.8
9.18~dfsg~0-0ubuntu2.9
ghostscript
Ubuntu:18.04:LTS
before 9.22~dfsg+1-0ubuntu1.2, plus listed versions
9.21~dfsg+1-0ubuntu39.22~dfsg+1-0ubuntu19.22~dfsg+1-0ubuntu1.1
9.22~dfsg+1-0ubuntu1.2
ghostscript
Ubuntu:14.04:LTS
From an advisory covering 16 CVEs
before 9.10~dfsg-0ubuntu10.13, plus listed versions
9.10~dfsg-0ubuntu29.10~dfsg-0ubuntu39.10~dfsg-0ubuntu49.10~dfsg-0ubuntu59.10~dfsg-0ubuntu6
Show 14 moreShow less
9.10~dfsg-0ubuntu79.10~dfsg-0ubuntu89.10~dfsg-0ubuntu99.10~dfsg-0ubuntu109.10~dfsg-0ubuntu10.19.10~dfsg-0ubuntu10.29.10~dfsg-0ubuntu10.39.10~dfsg-0ubuntu10.49.10~dfsg-0ubuntu10.59.10~dfsg-0ubuntu10.69.10~dfsg-0ubuntu10.79.10~dfsg-0ubuntu10.99.10~dfsg-0ubuntu10.109.10~dfsg-0ubuntu10.12
9.10~dfsg-0ubuntu10.13
ghostscript
Ubuntu:16.04:LTS
From an advisory covering 16 CVEs
before 9.18~dfsg~0-0ubuntu2.9, plus listed versions
9.16~dfsg~0-0ubuntu39.16~dfsg~0-0ubuntu49.18~dfsg~0-0ubuntu19.18~dfsg~0-0ubuntu29.18~dfsg~0-0ubuntu2.2
Show 5 moreShow less
9.18~dfsg~0-0ubuntu2.39.18~dfsg~0-0ubuntu2.49.18~dfsg~0-0ubuntu2.69.18~dfsg~0-0ubuntu2.79.18~dfsg~0-0ubuntu2.8
9.18~dfsg~0-0ubuntu2.9
ghostscript
Ubuntu:18.04:LTS
From an advisory covering 16 CVEs
before 9.22~dfsg+1-0ubuntu1.2, plus listed versions
9.21~dfsg+1-0ubuntu39.22~dfsg+1-0ubuntu19.22~dfsg+1-0ubuntu1.1
9.22~dfsg+1-0ubuntu1.2
MozillaThunderbird
SUSE:Package Hub 12
From an advisory covering 25 CVEs
before 60.3.0-74.2
60.3.0-74.2
ghostscript
openSUSE:Tumbleweed
From an advisory covering 44 CVEs
before 9.54.0-2.2
9.54.0-2.2

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2018-16541 is a medium vulnerability (CVSS 5.5) in Artifex Ghostscript, published September 5, 2018. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.42%, the 73rd percentile. Fixed in ghostscript 9.22~dfsg-3.

References

Show 171 moreShow less
MoveEnter Open