Skip to main content

Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')

CVE-2025-27831

Severity High
Score 9.8/10

Summary

An issue was discovered in Artifex Ghostscript before 10.05.0. The DOCXWRITE TXTWRITE device has a text Buffer Overflow via long characters to "devices/vector/doc_common.c".

  • LOW
  • NETWORK
  • HIGH
  • UNCHANGED
  • NONE
  • NONE
  • HIGH
  • HIGH

CWE-120 - Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')

The program copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer, leading to a buffer overflow.

Advisory Timeline

  • Published