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-4603

CVE-2026-4603: Jsrsasign Division by Zero DOS Vulnerability

CVE-2026-4603 is a division by zero denial-of-service flaw in Jsrsasign that allows attackers to force RSA operations to collapse by supplying malicious JWK keys. This article covers technical details, affected versions, impact, and mitigation.

Published: March 27, 2026

CVE-2026-4603 Overview

CVE-2026-4603 is a division by zero vulnerability affecting the jsrsasign JavaScript library versions prior to 11.1.1. The flaw exists in the RSA public key parsing and BigInteger reduction logic within ext/rsa.js and ext/jsbn.js. An attacker can exploit this vulnerability by supplying a maliciously crafted JSON Web Key (JWK) with a modulus that decodes to zero, causing RSA operations such as signature verification and encryption to collapse to deterministic zero outputs while suppressing "invalid key" error messages.

Critical Impact

Attackers can bypass cryptographic signature verification and encryption safeguards by forcing RSA operations to produce deterministic zero outputs, potentially enabling authentication bypass or data integrity attacks in applications relying on jsrsasign for cryptographic operations.

Affected Products

  • jsrsasign_project jsrsasign versions before 11.1.1
  • Node.js applications using vulnerable jsrsasign package
  • Web applications implementing JWK-based RSA cryptographic operations with jsrsasign

Discovery Timeline

  • 2026-03-23 - CVE CVE-2026-4603 published to NVD
  • 2026-03-23 - Last updated in NVD database

Technical Details for CVE-2026-4603

Vulnerability Analysis

This division by zero vulnerability (CWE-369) stems from insufficient validation of RSA public key parameters during the key parsing and cryptographic operation phases. When processing a JSON Web Key, the library fails to verify that the modulus value is a valid, non-zero integer before performing modular arithmetic operations. This oversight allows an attacker to craft a JWK with a zero-valued modulus, which propagates through the RSA computation pipeline.

The impact is particularly concerning because the vulnerability causes RSA operations to fail silently or produce deterministic outputs rather than throwing appropriate cryptographic errors. Applications relying on jsrsasign for JWT signature verification, encrypted data validation, or other RSA-based security controls may inadvertently accept forged or manipulated cryptographic tokens.

Root Cause

The root cause lies in two components of the jsrsasign library. First, the RSASetPublic/KEYUTIL parsing path in ext/rsa.js does not validate that the RSA modulus (n) is greater than one and that the public exponent (e) is a valid positive integer. Second, the BigInteger.modPowInt reduction logic in ext/jsbn.js does not properly handle division operations when the divisor equals zero, instead silently returning rather than throwing an exception.

Attack Vector

The vulnerability requires local access and can be exploited without authentication or user interaction. An attacker provides a malformed JWK to an application that processes RSA keys using jsrsasign. The malicious JWK contains a modulus value that decodes to zero. When the application performs RSA operations with this key, the division by zero causes cryptographic computations to collapse, potentially allowing the attacker to bypass signature verification or cause other security failures.

javascript
// Security patch in ext/jsbn.js - Division by zero protection
// Source: https://github.com/kjur/jsrsasign/commit/dc41d49fac4297e7a737a3ef8ebd0aa9c49ef93f

 // r != q, this != m.  q or r may be null.
 function bnpDivRemTo(m,q,r) {
   var pm = m.abs();
-  if(pm.t <= 0) return;
+  if(pm.t <= 0) throw "BigInteger divide by zero";
   var pt = this.abs();
   if(pt.t < pm.t) {
     if(q != null) q.fromInt(0);
javascript
// Security patch in ext/rsa.js - RSA public key validation
// Source: https://github.com/kjur/jsrsasign/commit/dc41d49fac4297e7a737a3ef8ebd0aa9c49ef93f

     } else {
 	throw "Invalid RSA public key";
     }
+
+    if (this.n == null ||
+	typeof this.n.compareTo !== "function" ||
+	this.n.compareTo(BigInteger.ONE) <= 0 ||
+	this.e == null ||
+	isNaN(this.e) ||
+	this.e <= 0) {
+	throw "Invalid RSA public key";
+    }
 }
 
 // Perform raw public operation on "x": return x^e (mod n)

Detection Methods for CVE-2026-4603

Indicators of Compromise

  • RSA signature verification operations returning unexpected success for obviously invalid signatures
  • Cryptographic operations completing without errors when using malformed JWK inputs
  • Application logs showing silent failures or unexpected behavior in JWT validation workflows
  • Network traffic containing JWK payloads with abnormally small or zero-valued modulus fields

Detection Strategies

  • Audit application dependencies to identify jsrsasign versions below 11.1.1
  • Implement input validation logging to detect JWK submissions with suspicious modulus values
  • Monitor for security exceptions related to RSA key validation that may indicate exploitation attempts
  • Use software composition analysis (SCA) tools to flag vulnerable jsrsasign package versions

Monitoring Recommendations

  • Deploy runtime application self-protection (RASP) to detect anomalous cryptographic operation patterns
  • Implement centralized logging for all JWT and JWK processing events with key parameter validation
  • Configure alerting for authentication or signature verification anomalies in applications using jsrsasign
  • Establish baseline metrics for cryptographic operation success/failure rates to detect deviation

How to Mitigate CVE-2026-4603

Immediate Actions Required

  • Upgrade jsrsasign to version 11.1.1 or later immediately
  • Audit all applications in your environment that depend on jsrsasign for cryptographic operations
  • Review authentication and signature verification logs for signs of potential exploitation
  • Consider implementing additional server-side validation of JWK parameters as defense-in-depth

Patch Information

The vulnerability has been addressed in jsrsasign version 11.1.1. The fix adds explicit validation in the RSA key parsing logic to ensure the modulus is greater than one and the exponent is a valid positive integer. Additionally, the BigInteger division function now throws an explicit exception when encountering a zero divisor rather than silently returning.

The security patch is available via the GitHub Commit. Additional technical details can be found in the GitHub Pull Request Discussion and the Snyk Vulnerability Report.

Workarounds

  • Implement pre-validation of JWK parameters before passing them to jsrsasign RSA operations
  • Add application-level checks to verify RSA modulus values are valid non-zero integers exceeding BigInteger.ONE
  • Consider temporarily switching to an alternative JWT/JWK library if immediate patching is not feasible
  • Deploy web application firewall (WAF) rules to filter JWK payloads with suspicious modulus values
bash
# Configuration example - Update jsrsasign package
npm update jsrsasign@11.1.1

# Verify installed version
npm list jsrsasign

# For yarn users
yarn upgrade jsrsasign@11.1.1

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechJsrsasign

  • SeverityMEDIUM

  • CVSS Score5.1

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/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
  • AvailabilityLow
  • CWE References
  • CWE-369
  • Technical References
  • GitHub Pull Request Discussion

  • Snyk Vulnerability Report
  • Vendor Resources
  • GitHub Gist Code Snippet

  • GitHub Commit Change Log
  • Related CVEs
  • CVE-2026-4598: Jsrsasign DoS Vulnerability

  • CVE-2026-4600: Jsrsasign Auth Bypass Vulnerability

  • CVE-2026-4599: Jsrsasign Information Disclosure Flaw

  • CVE-2026-4601: Jsrsasign Information Disclosure 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