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-2026-24133

CVE-2026-24133: jsPDF Library DoS Vulnerability

CVE-2026-24133 is a denial of service flaw in jsPDF library that allows attackers to cause out of memory errors through malicious BMP files. This post explains its impact, affected versions, and mitigation steps.

Published: February 6, 2026

CVE-2026-24133 Overview

CVE-2026-24133 is a Denial of Service vulnerability affecting jsPDF, a popular JavaScript library used to generate PDF documents in client-side and server-side environments. The vulnerability stems from improper handling of user-controlled input in the addImage method, which can be exploited to cause out-of-memory errors and application crashes.

When an attacker provides a specially crafted BMP file with excessively large width and/or height values in its header, the library attempts to allocate memory proportional to these dimensions without proper validation. This can lead to memory exhaustion and denial of service conditions. The html method is also affected as it internally processes images.

Critical Impact

Applications using jsPDF versions prior to 4.1.0 that allow user-controlled image uploads or URL inputs to the addImage method are vulnerable to denial of service attacks through memory exhaustion.

Affected Products

  • jsPDF versions prior to 4.1.0
  • Applications using the addImage method with unsanitized user input
  • Applications using the html method to process user-controlled content

Discovery Timeline

  • 2026-02-02 - CVE-2026-24133 published to NVD
  • 2026-02-03 - Last updated in NVD database

Technical Details for CVE-2026-24133

Vulnerability Analysis

This vulnerability is classified under CWE-770 (Allocation of Resources Without Limits or Throttling). The core issue lies in the BMP image parsing logic within jsPDF, which reads width and height values directly from the BMP file header and uses these values to allocate memory buffers without implementing reasonable limits or sanity checks.

BMP files store dimension information in their header structure, and these values can be arbitrarily large (up to 32-bit integers). When jsPDF processes such a file, it attempts to create image buffers sized according to these header values. A malicious BMP file claiming dimensions of millions of pixels can trigger allocation requests for gigabytes of memory, causing the JavaScript runtime to exhaust available memory.

The attack surface includes any application endpoint that accepts image data or URLs from users and passes them to jsPDF's addImage or html methods. This is particularly concerning for web applications that generate PDFs from user-submitted content.

Root Cause

The root cause is the absence of input validation for BMP image dimensions before memory allocation. The library trusts the dimension values provided in the BMP header without verifying they fall within reasonable bounds. This violates the principle of defensive programming where untrusted input should always be validated before resource allocation.

Attack Vector

The attack can be executed remotely over the network without authentication or user interaction. An attacker needs only to provide a malicious BMP file or URL pointing to one. The attack requires:

  1. A target application using jsPDF prior to version 4.1.0
  2. User input that reaches the addImage or html methods
  3. A crafted BMP file with large dimension values in its header

The malicious BMP file itself can be extremely small in actual file size (just a few bytes for the header) while claiming enormous dimensions. When processed, the library attempts to allocate memory based on the claimed dimensions rather than the actual file size, leading to memory exhaustion.

Detection Methods for CVE-2026-24133

Indicators of Compromise

  • Sudden memory spikes in applications using jsPDF for PDF generation
  • Application crashes or unresponsive states during image processing operations
  • BMP files with unusually large dimension values in headers (width or height exceeding reasonable bounds)
  • Error logs showing out-of-memory exceptions in PDF generation contexts

Detection Strategies

  • Monitor application memory usage patterns during PDF generation operations
  • Implement server-side validation of image dimensions before passing to jsPDF
  • Use application performance monitoring (APM) tools to detect unusual memory allocation patterns
  • Review incoming file uploads for BMP files with suspicious header values

Monitoring Recommendations

  • Set up alerts for memory usage thresholds in services that generate PDFs
  • Log all image processing operations with dimension metadata for forensic analysis
  • Monitor for repeated failed PDF generation attempts from single sources
  • Implement rate limiting on PDF generation endpoints to mitigate automated attacks

How to Mitigate CVE-2026-24133

Immediate Actions Required

  • Upgrade jsPDF to version 4.1.0 or later immediately
  • Audit all code paths where user input reaches addImage or html methods
  • Implement server-side validation of image dimensions before processing
  • Consider restricting accepted image formats if BMP support is not required

Patch Information

The vulnerability has been fixed in jsPDF version 4.1.0. The fix implements proper bounds checking for BMP image dimensions before memory allocation. Organizations should upgrade to this version or later as soon as possible.

For detailed information about the fix, refer to:

  • GitHub Security Advisory GHSA-95fx-jjr5-f39c
  • jsPDF v4.1.0 Release
  • Security Fix Commit

Workarounds

  • Disable BMP image support if not required by your application
  • Implement a pre-processing step that validates image dimensions before passing to jsPDF
  • Use a web application firewall (WAF) to filter requests containing BMP files with abnormal headers
  • Implement memory limits or sandboxing for PDF generation processes to contain potential impact
bash
# Example: Update jsPDF using npm
npm update jspdf@4.1.0

# Verify installed version
npm list jspdf

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechJspdf

  • SeverityHIGH

  • CVSS Score8.7

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-770
  • Technical References
  • GitHub Commit Update

  • GitHub Release v4.1.0

  • GitHub Security Advisory GHSA-95fx-jjr5-f39c
  • Related CVEs
  • CVE-2026-25535: jsPDF Library DoS Vulnerability

  • CVE-2026-31938: Parall Jspdf XSS Vulnerability

  • CVE-2026-31898: jsPDF Library XSS Vulnerability

  • CVE-2026-25940: jsPDF Acroform 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