Integer Overflow or Wraparound Affecting ghostscript-tools-dvipdf package, versions *


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.02% (4th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Integer Overflow or Wraparound vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RHEL8-GHOSTSCRIPTTOOLSDVIPDF-13547868
  • published14 Oct 2025
  • disclosed22 Sept 2025

Introduced: 22 Sep 2025

CVE-2025-59800  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

There is no fixed version for RHEL:8 ghostscript-tools-dvipdf.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ghostscript-tools-dvipdf package and not the ghostscript-tools-dvipdf package as distributed by RHEL. See How to fix? for RHEL:8 relevant fixed versions and status.

In Artifex Ghostscript through 10.05.1, ocr_begin_page in devices/gdevpdfocr.c has an integer overflow that leads to a heap-based buffer overflow in ocr_line8.

CVSS Base Scores

version 3.1