The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2025-27833

CVE-2025-27833: Artifex Ghostscript Buffer Overflow Flaw

CVE-2025-27833 is a buffer overflow vulnerability in Artifex Ghostscript triggered by long TTF font names. This flaw affects versions before 10.05.0 and may lead to crashes or code execution. Learn about technical details and fixes.

Updated: January 22, 2026

CVE-2025-27833 Overview

CVE-2025-27833 is a buffer overflow vulnerability discovered in Artifex Ghostscript before version 10.05.0. The vulnerability occurs in the pdf/pdf_fmap.c file when processing TrueType Font (TTF) names that exceed expected length boundaries. This memory corruption flaw can be triggered when Ghostscript processes specially crafted documents containing malicious TTF font references.

Critical Impact

Successful exploitation of this buffer overflow vulnerability could allow an attacker to execute arbitrary code with the privileges of the user running Ghostscript, potentially leading to full system compromise when processing malicious PDF or PostScript files.

Affected Products

  • Artifex Ghostscript versions prior to 10.05.0
  • Applications and services that utilize Ghostscript for PDF/PostScript processing
  • Document conversion pipelines and print spoolers integrating vulnerable Ghostscript versions

Discovery Timeline

  • 2025-03-25 - CVE-2025-27833 published to NVD
  • 2025-04-01 - Last updated in NVD database

Technical Details for CVE-2025-27833

Vulnerability Analysis

This vulnerability is classified as CWE-120 (Buffer Copy without Checking Size of Input), commonly known as a classic buffer overflow. The flaw exists in the font mapping functionality within Ghostscript's PDF processing subsystem, specifically in the pdf/pdf_fmap.c source file.

When Ghostscript parses PDF documents containing embedded or referenced TrueType fonts, it processes font name strings as part of the font mapping routine. The vulnerable code path fails to properly validate the length of TTF font names before copying them into fixed-size buffers. An attacker can craft a malicious document with an excessively long font name that overflows the destination buffer, corrupting adjacent memory regions.

The local attack vector requires user interaction, meaning the victim must open or process a malicious file. However, this is a common scenario in environments where Ghostscript is used for automated document processing, print services, or PDF conversion workflows.

Root Cause

The root cause of CVE-2025-27833 is insufficient bounds checking in the font name handling code within pdf/pdf_fmap.c. When a TTF font name is encountered during PDF parsing, the code copies the name string into a buffer without first verifying that the source string length does not exceed the allocated buffer size. This classic buffer overflow pattern allows memory corruption when processing fonts with names exceeding the expected maximum length.

Attack Vector

The attack vector for this vulnerability is local, requiring the attacker to deliver a malicious file to the target system. Exploitation scenarios include:

  1. Malicious Document Delivery: An attacker sends a crafted PDF document via email or file sharing that contains an embedded TTF font with an overly long name
  2. Automated Processing Pipelines: Systems that automatically process incoming documents (print servers, document converters) are particularly at risk
  3. Web-Based Conversion Services: Online services using Ghostscript for PDF processing could be exploited through malicious file uploads

The vulnerability manifests when Ghostscript processes a PDF document containing a TrueType font reference with an excessively long name. The font name string overflows the fixed-size buffer in pdf/pdf_fmap.c, potentially allowing an attacker to overwrite adjacent memory, corrupt program state, and achieve code execution. For detailed technical analysis, refer to Ghostscript Bug Report #708259.

Detection Methods for CVE-2025-27833

Indicators of Compromise

  • Ghostscript process crashes or unexpected terminations when processing PDF files
  • Unusual memory access violations or segmentation faults in Ghostscript processes
  • PDF files containing fonts with abnormally long name strings (exceeding typical 256 character boundaries)
  • Suspicious PDF documents with embedded or referenced TTF fonts from untrusted sources

Detection Strategies

  • Monitor Ghostscript processes for abnormal crash patterns or memory corruption indicators
  • Implement file inspection rules to detect PDF documents with excessively long font name entries
  • Deploy endpoint detection rules that identify exploitation attempts targeting Ghostscript
  • Enable crash dump analysis for Ghostscript-related processes to identify buffer overflow exploitation

Monitoring Recommendations

  • Log all Ghostscript process executions and their input file sources
  • Monitor for unusual process behavior including unexpected child process spawning from Ghostscript
  • Implement network monitoring for systems that provide Ghostscript-based document conversion services
  • Track file uploads to document processing services and flag suspicious PDF structures

How to Mitigate CVE-2025-27833

Immediate Actions Required

  • Upgrade Artifex Ghostscript to version 10.05.0 or later immediately
  • Restrict Ghostscript processing to trusted documents only until patching is complete
  • Implement sandbox isolation for Ghostscript processes handling untrusted files
  • Review and audit document processing workflows that utilize Ghostscript

Patch Information

Artifex has addressed this vulnerability in Ghostscript version 10.05.0. Organizations should prioritize upgrading to this version or later to remediate the buffer overflow vulnerability. Detailed patch information and discussion can be found in the Ghostscript Bug Report #708259.

Workarounds

  • Run Ghostscript in a sandboxed environment with restricted permissions to limit exploitation impact
  • Disable or restrict TTF font processing if not required for your use case
  • Implement input validation to reject PDF documents with suspicious font structures before processing
  • Use -dSAFER flag when invoking Ghostscript to enable safer mode restrictions
bash
# Configuration example - Running Ghostscript with safer mode enabled
gs -dSAFER -dBATCH -dNOPAUSE -sDEVICE=pdfwrite -sOutputFile=output.pdf input.pdf

# Sandboxing Ghostscript execution with firejail
firejail --private --net=none gs -dSAFER -dBATCH input.pdf

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeBuffer Overflow

  • Vendor/TechArtifex Ghostscript

  • SeverityHIGH

  • CVSS Score7.8

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityHigh
  • AvailabilityHigh
  • CWE References
  • CWE-120
  • Vendor Resources
  • Ghostscript Bug Report #708259
  • Related CVEs
  • CVE-2025-27836: Artifex Ghostscript Buffer Overflow Flaw

  • CVE-2025-27832: Artifex Ghostscript Buffer Overflow Flaw

  • CVE-2025-27831: Ghostscript Buffer Overflow Vulnerability

  • CVE-2025-27834: Artifex Ghostscript Buffer Overflow Flaw
Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English