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
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • 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-46397

CVE-2025-46397: Fig2dev RCE Vulnerability via Bezier

CVE-2025-46397 is a remote code execution vulnerability in Fig2dev that allows attackers to execute arbitrary code through the bezier_spline function. This article covers the technical details, affected versions, and mitigation.

Published: April 15, 2026

CVE-2025-46397 Overview

A buffer overflow vulnerability has been identified in xfig/fig2dev, a utility for converting FIG format files to various output formats. The flaw resides in the bezier_spline function and allows possible code execution via local input manipulation. An attacker with local access could craft malicious input to exploit this vulnerability, potentially gaining arbitrary code execution with the privileges of the user running the affected application.

Critical Impact

This vulnerability enables local code execution through a buffer overflow in the bezier_spline function, potentially allowing attackers to execute arbitrary code with local user privileges on affected systems.

Affected Products

  • fig2dev version 3.2.9a
  • Red Hat Enterprise Linux 6.0
  • Red Hat Enterprise Linux 7.0
  • Red Hat Enterprise Linux 8.0
  • Red Hat Enterprise Linux 9.0

Discovery Timeline

  • April 23, 2025 - CVE-2025-46397 published to NVD
  • January 19, 2026 - Last updated in NVD database

Technical Details for CVE-2025-46397

Vulnerability Analysis

CVE-2025-46397 is classified under CWE-120 (Buffer Copy without Checking Size of Input), a classic buffer overflow weakness. The vulnerability exists within the bezier_spline function in the fig2dev codebase. When processing specially crafted FIG format files, the function fails to properly validate the size of input data before copying it into a fixed-size buffer.

This buffer overflow condition allows an attacker to overwrite adjacent memory regions, potentially corrupting critical program data or control structures. Given the nature of the vulnerability requiring local access and a low-privileged user context, the exploitation scenario typically involves a user opening a malicious FIG file or processing it through automated workflows.

The vulnerability affects the confidentiality, integrity, and availability of the system, as successful exploitation could lead to complete control over the affected process and potential privilege escalation depending on the execution context.

Root Cause

The root cause of this vulnerability is the absence of proper bounds checking in the bezier_spline function when handling input data. The function copies data into a buffer without verifying that the input size does not exceed the allocated buffer capacity. This is a classic buffer overflow pattern (CWE-120) where improper validation of input length leads to memory corruption.

Attack Vector

The attack vector is local, requiring an attacker to have access to the system and the ability to provide malicious input to the fig2dev utility. Exploitation scenarios include:

  1. Direct file processing - An attacker provides a crafted FIG file to a user who processes it with fig2dev
  2. Automated processing pipelines - Systems that automatically convert FIG files could be targeted by submitting malicious files
  3. Document conversion workflows - Any workflow that processes untrusted FIG format files is potentially vulnerable

The vulnerability requires low privileges to exploit and no user interaction beyond processing the malicious file. The bezier_spline function processes spline curve data from FIG files, and malformed spline definitions can trigger the buffer overflow condition.

Detection Methods for CVE-2025-46397

Indicators of Compromise

  • Unexpected crashes or segmentation faults in fig2dev processes when processing FIG files
  • Anomalous process behavior following fig2dev execution, including spawned child processes
  • Memory corruption artifacts in fig2dev core dumps or crash logs
  • Unusual file system or network activity initiated by fig2dev processes

Detection Strategies

  • Monitor for fig2dev process crashes with segmentation fault or memory corruption signals
  • Implement file integrity monitoring on systems that process FIG files automatically
  • Deploy endpoint detection rules to identify anomalous behavior following fig2dev execution
  • Use application sandboxing to contain potential exploitation attempts

Monitoring Recommendations

  • Enable audit logging for fig2dev process executions across affected systems
  • Monitor for unexpected privilege escalation attempts following fig2dev activity
  • Implement file scanning for potentially malicious FIG files in upload directories
  • Configure alerting for unusual memory consumption or crash patterns in document conversion services

How to Mitigate CVE-2025-46397

Immediate Actions Required

  • Update fig2dev to the latest patched version available from your distribution
  • Apply Red Hat security updates (RHSA-2026:0700, RHSA-2026:0704, RHSA-2026:0705, RHSA-2026:0756) on affected RHEL systems
  • Restrict fig2dev execution to trusted users and isolate the utility in sandboxed environments
  • Audit and validate all FIG files before processing, especially those from untrusted sources

Patch Information

Multiple vendors have released security updates addressing this vulnerability:

  • Red Hat: Security advisories RHSA-2026:0700, RHSA-2026:0704, RHSA-2026:0705, and RHSA-2026:0756 provide patched packages for RHEL 6, 7, 8, and 9
  • Debian: Updates available via the Debian LTS Announcement
  • Upstream: The issue is tracked in SourceForge Ticket #192

For detailed CVE information from Red Hat, refer to the Red Hat CVE Analysis and Bug Report #2362058.

Workarounds

  • Avoid processing untrusted FIG files until patches are applied
  • Run fig2dev in a restricted container or sandbox environment to limit potential damage
  • Implement mandatory access controls (SELinux, AppArmor) to constrain fig2dev process capabilities
  • Temporarily disable automated FIG file processing workflows until systems are patched
bash
# Example: Run fig2dev in a restricted environment using firejail
firejail --private --net=none fig2dev input.fig output.eps

# Example: Apply RHEL security updates
sudo yum update fig2dev
# or on RHEL 8/9
sudo dnf update fig2dev

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechFig2dev

  • SeverityHIGH

  • CVSS Score7.8

  • EPSS Probability0.06%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-120
  • Technical References
  • Red Hat Security Advisory RHSA-2026:0700

  • Red Hat Security Advisory RHSA-2026:0704

  • Red Hat Security Advisory RHSA-2026:0705

  • Red Hat Security Advisory RHSA-2026:0756

  • SourceForge Ticket #192

  • Debian LTS Announcement April 2025
  • Vendor Resources
  • Red Hat CVE Analysis CVE-2025-46397

  • Red Hat Bug Report #2362058
  • Latest CVEs
  • CVE-2026-46333: Linux Kernel Privilege Escalation Flaw

  • CVE-2026-2586: Eclipse Glassfish RCE Vulnerability

  • CVE-2026-2587: Eclipse Glassfish RCE Vulnerability

  • CVE-2026-45255: FreeBSD bsdinstall/bsdconfig RCE Flaw
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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