Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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-2023-7101

CVE-2023-7101: Spreadsheet::ParseExcel RCE Vulnerability

CVE-2023-7101 is a remote code execution vulnerability in Spreadsheet::ParseExcel version 0.65, a Perl module for parsing Excel files. Attackers can execute arbitrary code through malicious Number format strings. This article covers technical details, affected versions, impact analysis, and mitigation strategies.

Published: February 11, 2026

CVE-2023-7101 Overview

CVE-2023-7101 is an arbitrary code execution vulnerability affecting Spreadsheet::ParseExcel version 0.65, a widely-used Perl module for parsing Excel files. The vulnerability exists due to the module passing unvalidated input from Excel files directly into a string-type eval statement. Specifically, the flaw is triggered during the evaluation of Number format strings within the Excel parsing logic, allowing attackers to inject and execute arbitrary Perl code when a maliciously crafted Excel file is processed.

This vulnerability is particularly dangerous because Spreadsheet::ParseExcel is a dependency for numerous Perl applications and scripts that handle Excel file uploads or processing, potentially exposing backend systems to remote code execution through seemingly innocuous spreadsheet files.

Critical Impact

This vulnerability has been added to the CISA Known Exploited Vulnerabilities (KEV) catalog, indicating confirmed active exploitation in the wild. Attackers can achieve arbitrary code execution by crafting malicious Excel files that exploit the unsafe eval of Number format strings.

Affected Products

  • Spreadsheet::ParseExcel (Perl module) version 0.65 and earlier
  • Debian Linux 10.0
  • Fedora 38 and 39

Discovery Timeline

  • December 24, 2023 - CVE-2023-7101 published to NVD
  • December 29, 2023 - Security discussion posted to Openwall OSS-Security mailing list
  • October 24, 2025 - Last updated in NVD database

Technical Details for CVE-2023-7101

Vulnerability Analysis

The vulnerability resides in the Spreadsheet/ParseExcel/Utility.pm module, specifically in the code responsible for handling conditional formatting within Excel Number format strings. The original implementation used a Perl string eval to process conditional expressions extracted from format strings. Since these format strings are read directly from the Excel file without proper sanitization, an attacker can embed malicious Perl code within the conditional portion of a Number format string.

When the module parses an Excel file containing a crafted format string, the malicious payload is passed directly to eval, resulting in arbitrary code execution with the privileges of the Perl process. This attack requires user interaction (opening/processing a malicious Excel file), but once triggered, provides complete code execution capabilities.

Root Cause

The root cause is the use of Perl's string eval function to evaluate user-controlled input without proper sanitization. The vulnerable code extracts conditional expressions from Excel Number format strings using a regular expression and then evaluates them directly. The format string [<>=condition] syntax was intended for numeric comparisons but accepted arbitrary content that would be passed to eval. This represents a classic code injection vulnerability (CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code, CWE-94: Improper Control of Generation of Code).

Attack Vector

The attack requires local access where a user must be convinced to open or process a maliciously crafted Excel file. Exploitation scenarios include:

  1. Email attachments - Sending malicious Excel files as email attachments to users who process them with Perl scripts using Spreadsheet::ParseExcel
  2. File upload applications - Web applications that accept Excel uploads and parse them server-side using the vulnerable module
  3. Automated processing pipelines - Systems that automatically process Excel files from untrusted sources

The attacker crafts an Excel file with a malicious Number format string containing Perl code in the conditional expression field. When parsed, this code executes in the context of the Perl interpreter.

text
# Security patch in lib/Spreadsheet/ParseExcel/Utility.pm
# Do not use string eval for conditional formatting
     $format_str = '@' if uc($format_str) eq "GENERAL";
 
     # Check for a conditional at the start of the format. See notes above.
-    my $conditional;
-    if ( $format_str =~ /^\[([<>=][^\]]+)\](.*)$/ ) {
-        $conditional = $1;
-        $format_str  = $2;
+    my $conditional_op;
+    my $conditional_value;
+    if ( $format_str =~ /^\[([<>=]+)([^\]]+)\](.*)$/ ) {
+        $conditional_op = $1;
+        $conditional_value = $2;
+        $format_str = $3;
     }
 
     # Ignore the underscore token which is used to indicate a padding space.

Source: GitHub Commit Update

Detection Methods for CVE-2023-7101

Indicators of Compromise

  • Unusual Perl process behavior or unexpected child processes spawned during Excel file processing
  • Network connections initiated by Perl scripts that normally only perform local file operations
  • Suspicious Excel files with abnormal Number format strings containing Perl code patterns (backticks, system(), exec())
  • Log entries showing errors or exceptions in Spreadsheet::ParseExcel during file processing

Detection Strategies

  • Monitor for unusual process execution chains originating from Perl interpreters, particularly when processing Excel files
  • Implement file inspection rules to detect Excel files with suspicious format string patterns before processing
  • Deploy endpoint detection to identify code injection attempts through Excel parsing operations
  • Use application-level logging to capture format string contents during Excel processing for forensic analysis

Monitoring Recommendations

  • Enable verbose logging in applications using Spreadsheet::ParseExcel to capture processing events
  • Monitor system calls made by Perl processes handling file uploads or Excel processing tasks
  • Implement network segmentation for systems that process untrusted Excel files to limit lateral movement potential
  • Review CISA KEV alerts and threat intelligence feeds for indicators related to CVE-2023-7101 exploitation

How to Mitigate CVE-2023-7101

Immediate Actions Required

  • Update Spreadsheet::ParseExcel to the latest patched version immediately on all affected systems
  • Audit all Perl applications and scripts to identify dependencies on Spreadsheet::ParseExcel
  • Implement input validation and sandboxing for any systems that process Excel files from untrusted sources
  • Review recent Excel file processing logs for signs of exploitation attempts

Patch Information

The vulnerability has been addressed by the maintainer through commit bd3159277e745468e2c553417b35d5d7dc7405bc. The fix modifies the conditional format string parsing to separate the operator and value components rather than passing the entire expression to eval. Linux distributions including Debian and Fedora have released updated packages addressing this vulnerability.

For detailed patch information, refer to:

  • GitHub Commit Update
  • Debian LTS Advisory
  • Fedora Package Announcement

Workarounds

  • If immediate patching is not possible, consider temporarily disabling Excel file processing functionality or blocking Excel file uploads
  • Implement strict file type validation to ensure only legitimate Excel files are processed
  • Run Perl processes that handle Excel files in sandboxed or containerized environments with minimal privileges
  • Consider using alternative Excel parsing libraries that do not use unsafe eval patterns
bash
# Check installed Spreadsheet::ParseExcel version
perl -MSpreadsheet::ParseExcel -e 'print $Spreadsheet::ParseExcel::VERSION'

# Update via CPAN to latest version
cpan Spreadsheet::ParseExcel

# For Debian systems
sudo apt update && sudo apt upgrade libspreadsheet-parseexcel-perl

# For Fedora systems
sudo dnf update perl-Spreadsheet-ParseExcel

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechJmcnamara Spreadsheet

  • SeverityHIGH

  • CVSS Score7.8

  • EPSS Probability83.31%

  • 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
  • CISA KEV Information
  • In CISA KEVYes
  • CWE References
  • CWE-95

  • CWE-94
  • Technical References
  • GitHub Utility Code Review

  • Mandiant Vulnerability Disclosure MNDT-2023-0019

  • GitHub PoC Repository

  • MetaCPAN Spreadsheet Module

  • CVE-2023-7101 Record

  • Debian LTS Advisory

  • Fedora Package Announcement

  • Fedora Package Announcement

  • MetaCPAN Security Vulnerability Overview

  • CISA Known Exploited Vulnerabilities
  • Vendor Resources
  • Openwall Security Discussion

  • GitHub Commit Update
  • Latest CVEs
  • CVE-2025-49454: TinySalt Path Traversal Vulnerability

  • CVE-2025-48261: MultiVendorX Information Disclosure Flaw

  • CVE-2025-32119: CardGate WooCommerce SQL Injection Flaw

  • CVE-2025-26879: s2Member Plugin Reflected XSS Vulnerability
Default Legacy - Prefooter | 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