# CVE-2025-46646: In Artifex Ghostscript before 10.05.0, decodeutf8 in base/gputf8.c mishandles overlong UTF-8 encoding.

- Severity: Medium 4.5 (CVSS:3.1, scored by mitre) `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 8% of CVEs (2026-12-01)
- Published: 2025-04-26T00:00:00.000Z
- Modified: 2026-06-17T09:26:46.180Z
- Weaknesses: CWE-24
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Artifex Ghostscript: before 10.05.0

## References

- <https://bugs.ghostscript.com/show_bug.cgi?id=708311> (issue-tracking)
- <https://cgit.ghostscript.com/cgi-bin/cgit.cgi/ghostpdl.git/commit/?id=f14ea81e6c3d2f51593f23cdf13c4679a18f1a3f> (patch)

## Sources

- CVE List: [CVE-2025-46646](https://www.cve.org/CVERecord?id=CVE-2025-46646), CVE Terms of Use, modified 2025-04-29
- NVD: [CVE-2025-46646](https://nvd.nist.gov/vuln/detail/CVE-2025-46646), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-46646 · Whole record: https://cve.day/CVE-2025-46646.json · Rebuilt by cve.day 2026-11-25T22:58:56.942Z
