Every CVE Search/ Get API key

CVE-2025-46646

In Artifex Ghostscript before 10.05.0, decode_utf8 in base/gp_utf8.c mishandles overlong UTF-8...

4.5 MediumFix available

In Artifex Ghostscript before 10.05.0, decode_utf8 in base/gp_utf8.c mishandles overlong UTF-8 encoding. NOTE: this issue exists because of an incomplete fix for CVE-2024-46954.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
High
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
Low
Integrity
Low
Availability
None

Exploit likelihood

0.18%Up 0.2 points since Apr 27, 2025
90%50%10%1%

What each source reports

CVE List Score used 4.5

In Artifex Ghostscript before 10.05.0, decode_utf8 in base/gp_utf8.c mishandles overlong UTF-8 encoding. NOTE: this issue exists because of an incomplete fix for CVE-2024-46954.

Record
CVE-2025-46646
CVSS 3.1
4.5 MediumCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N
Weakness
CWE-24
Updated
2026-11-02
EUVDEUVD-2025-12483 4.5

In Artifex Ghostscript before 10.05.0, decode_utf8 in base/gp_utf8.c mishandles overlong UTF-8 encoding. NOTE: this issue exists because of an incomplete fix for CVE-2024-46954.

Record
EUVD-2025-12483
CVSS 3.1
4.5 MediumCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N
Updated
2026-11-02
GitHub AdvisoriesGHSA-56g6-5g9j-wjc3 4.5

In Artifex Ghostscript before 10.05.0, decode_utf8 in base/gp_utf8.c mishandles overlong UTF-8...

In Artifex Ghostscript before 10.05.0, decode_utf8 in base/gp_utf8.c mishandles overlong UTF-8 encoding. NOTE: this issue exists because of an incomplete fix for CVE-2024-46954.

Record
GHSA-56g6-5g9j-wjc3
CVSS 3.1
4.5 MediumCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N
Weakness
CWE-24
Updated
2026-11-02
NVD 4.5

In Artifex Ghostscript before 10.05.0, decode_utf8 in base/gp_utf8.c mishandles overlong UTF-8 encoding. NOTE: this issue exists because of an incomplete fix for CVE-2024-46954.

Record
CVE-2025-46646
CVSS 3.1
4.5 MediumCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N
Weakness
CWE-24
Updated
2026-11-02
OSVALPINE-CVE-2025-46646 4.5

In Artifex Ghostscript before 10.05.0, decode_utf8 in base/gp_utf8.c mishandles overlong UTF-8 encoding. NOTE: this issue exists because of an incomplete fix for CVE-2024-46954.

Record
ALPINE-CVE-2025-46646
CVSS 3.1
4.5 MediumCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N
Updated
2026-11-03
OSVBELL-CVE-2025-46646 4.5
Record
BELL-CVE-2025-46646
CVSS 3.1
4.5 MediumCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N
Updated
2026-11-02
Show 7 moreShow less
OSV 4.5

In Artifex Ghostscript before 10.05.0, decode_utf8 in base/gp_utf8.c mishandles overlong UTF-8 encoding. NOTE: this issue exists because of an incomplete fix for CVE-2024-46954.

Record
CVE-2025-46646
CVSS 3.1
4.5 MediumCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N
Updated
2026-11-02
OSVDEBIAN-CVE-2025-46646 4.5

In Artifex Ghostscript before 10.05.0, decode_utf8 in base/gp_utf8.c mishandles overlong UTF-8 encoding. NOTE: this issue exists because of an incomplete fix for CVE-2024-46954.

Record
DEBIAN-CVE-2025-46646
CVSS 3.1
4.5 MediumCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N
Updated
2026-11-02
OSVUBUNTU-CVE-2025-46646 4.5

In Artifex Ghostscript before 10.05.0, decode_utf8 in base/gp_utf8.c mishandles overlong UTF-8 encoding. NOTE: this issue exists because of an incomplete fix for CVE-2024-46954.

Record
UBUNTU-CVE-2025-46646
CVSS 3.1
4.5 MediumCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N
Updated
2026-11-02
OSVopenSUSE-SU-2025:15413-1 No score

ghostscript-10.05.1-1.1 on GA media

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

Record
openSUSE-SU-2025:15413-1
Updated
2026-11-02
OSVopenSUSE-SU-2026:20592-1 No score

Security update for ghostscript

This update for ghostscript fixes the following issues:

Update to version 10.06.0.

Security issues fixed:

  • CVE-2025-59800: an integer overflow can lead to a heap-based buffer overflow in ocr_line8 (bsc#1250355).
  • CVE-2025-59799: a large size value can cause a stack-based buffer overflow in pdfmark_coerce_dest (bsc#1250354).
  • CVE-2025-59798: stack-based buffer overflow in pdf_write_cmap can lead to a denial-of-service (bsc#1250353).
  • CVE-2025-48708: lacks of argument sanitization may lead to password disclosure (bsc#1243701).
  • CVE-2025-46646: mishandling of overlong utf-8 encoding in artifex ghostscript's decode_utf8 function (bsc#1257699).

Other updates and bugfixes:

  • switch over to libalternatives for ghostscript to provide a gs variant (bsc#1245896)

  • Version upgrade to 10.06.0:

    • removes the non-standard operator "selectdevice" (cf. the entry below dated Tue Apr 1 09:56:06 UTC 2025)
  • Version upgrade to 10.05.1:

    • an overflow issue in Freetype on platforms where long is a 4 byte (rather than 8 byte) type (Microsoft Windows, for example) causing corrupted glyph rendering at higher resolutions
    • an issue with embedded files, affecting Zugferd format PDF creation.
    • broken logic in PDF Optional Content processing
    • potential slow down due to searching for identifiable font files
    • a small number of extreme edge case segmentation faults.
Record
openSUSE-SU-2026:20592-1
Updated
2026-11-02
OSVSUSE-SU-2026:21363-1 No score

Security update for ghostscript

This update for ghostscript fixes the following issues:

Update to version 10.06.0.

Security issues fixed:

  • CVE-2025-59800: an integer overflow can lead to a heap-based buffer overflow in ocr_line8 (bsc#1250355).
  • CVE-2025-59799: a large size value can cause a stack-based buffer overflow in pdfmark_coerce_dest (bsc#1250354).
  • CVE-2025-59798: stack-based buffer overflow in pdf_write_cmap can lead to a denial-of-service (bsc#1250353).
  • CVE-2025-48708: lacks of argument sanitization may lead to password disclosure (bsc#1243701).
  • CVE-2025-46646: mishandling of overlong utf-8 encoding in artifex ghostscript's decode_utf8 function (bsc#1257699).

Other updates and bugfixes:

  • switch over to libalternatives for ghostscript to provide a gs variant (bsc#1245896)

  • Version upgrade to 10.06.0:

    • removes the non-standard operator "selectdevice" (cf. the entry below dated Tue Apr 1 09:56:06 UTC 2025)
  • Version upgrade to 10.05.1:

    • an overflow issue in Freetype on platforms where long is a 4 byte (rather than 8 byte) type (Microsoft Windows, for example) causing corrupted glyph rendering at higher resolutions
    • an issue with embedded files, affecting Zugferd format PDF creation.
    • broken logic in PDF Optional Content processing
    • potential slow down due to searching for identifiable font files
    • a small number of extreme edge case segmentation faults.
Record
SUSE-SU-2026:21363-1
Updated
2026-11-02
OSVUSN-7473-1 No score

ghostscript vulnerability

It was discovered that Ghostscript incorrectly handled parsing certain PS files. An attacker could use this issue to cause Ghostscript to crash, resulting in a denial of service, or possibly bypass file path validation.

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

Affected products

Affected packages

Affected packages
PackageAffectedFixed
ghostscript
Alpine:v3.18
before 10.05.1
10.05.1
ghostscript
Alpine:v3.19
before 10.05.1-r0
10.05.1-r0
ghostscript
Alpine:v3.20
before 10.05.1-r0
10.05.1-r0
ghostscript
Alpine:v3.21
before 10.05.1-r0
10.05.1-r0
ghostscript
Alpine:v3.22
before 10.05.1-r0
10.05.1-r0
ghostscript
Alpine:v3.23
before 10.05.1-r0
10.05.1-r0
ghostscript
Alpine:v3.24
before 10.05.1-r0
10.05.1-r0
ghostscript
Alpaquita:23
10.0.0-r0 up to 10.01.2-r5
10.01.2-r5
ghostscript
Alpaquita:stream
10.0.0-r0 up to 10.05.0-r0
10.05.0-r0
ghostscript
Debian:13
before 10.05.0~dfsg-1
10.05.0~dfsg-1
Show 4 moreShow less
Affected packages
PackageAffectedFixed
ghostscript
Debian:14
before 10.05.0~dfsg-1
10.05.0~dfsg-1
ghostscript
Ubuntu:24.04:LTS
before 10.02.1~dfsg1-0ubuntu7.6, plus listed versions
10.01.2~dfsg1-0ubuntu210.01.2~dfsg1-0ubuntu2.110.02.1~dfsg1-0ubuntu110.02.1~dfsg1-0ubuntu210.02.1~dfsg1-0ubuntu5
Show 6 moreShow less
10.02.1~dfsg1-0ubuntu610.02.1~dfsg1-0ubuntu710.02.1~dfsg1-0ubuntu7.110.02.1~dfsg1-0ubuntu7.310.02.1~dfsg1-0ubuntu7.410.02.1~dfsg1-0ubuntu7.5
10.02.1~dfsg1-0ubuntu7.6
ghostscript
openSUSE:Tumbleweed
From an advisory covering 2 CVEs
before 10.05.1-1.1
10.05.1-1.1
ghostscript
openSUSE:Leap 16.0
From an advisory covering 6 CVEs
before 10.06.0-160000.1.1
10.06.0-160000.1.1

History

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

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

In short

CVE-2025-46646 is a medium vulnerability (CVSS 4.5) in Artifex Ghostscript, published April 26, 2025. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.18%, the 8th percentile. Fixed in ghostscript 10.05.1.

References

Show 17 moreShow less
MoveEnter Open