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

CVE-2026-0822: QuickJS Buffer Overflow Vulnerability

CVE-2026-0822 is a heap-based buffer overflow vulnerability in QuickJS-NG up to version 0.11.0 that allows remote exploitation. This article covers the technical details, affected versions, security impact, and mitigation.

Updated: January 22, 2026

CVE-2026-0822 Overview

A heap-based buffer overflow vulnerability has been identified in quickjs-ng QuickJS versions up to 0.11.0. This memory corruption flaw affects the js_typed_array_sort function within the quickjs.c file. The vulnerability arises from improper memory boundary handling during the manipulation of typed arrays, potentially leading to memory corruption.

Critical Impact

Remote attackers can exploit this heap-based buffer overflow to potentially corrupt memory, cause denial of service, or achieve code execution through specially crafted JavaScript input processed by the vulnerable QuickJS engine.

Affected Products

  • quickjs-ng QuickJS versions up to 0.11.0

Discovery Timeline

  • January 10, 2026 - CVE-2026-0822 published to NVD
  • January 13, 2026 - Last updated in NVD database

Technical Details for CVE-2026-0822

Vulnerability Analysis

This vulnerability is classified as CWE-119 (Improper Restriction of Operations within the Bounds of a Memory Buffer). The flaw resides in the js_typed_array_sort function, which is responsible for sorting typed arrays in the QuickJS JavaScript engine. When processing certain input, the function fails to properly validate memory boundaries, leading to heap-based buffer overflow conditions.

QuickJS is a lightweight JavaScript engine designed for embedding in applications. The js_typed_array_sort function handles sorting operations on TypedArray objects (such as Int32Array, Float64Array, etc.). During the sort operation, improper bounds checking allows memory writes beyond allocated buffer boundaries, corrupting heap memory structures.

The vulnerability can be triggered remotely when a victim application using the vulnerable QuickJS library processes attacker-controlled JavaScript code. An exploit is publicly available, increasing the risk of active exploitation in the wild.

Root Cause

The root cause stems from insufficient bounds validation in the js_typed_array_sort function within quickjs.c. When sorting typed array elements, the function does not adequately verify that memory access operations remain within the allocated buffer boundaries. This oversight allows heap memory corruption when processing maliciously crafted typed arrays with specific element configurations designed to trigger out-of-bounds write operations.

Attack Vector

The attack vector is network-based, allowing remote exploitation. An attacker can exploit this vulnerability by:

  1. Crafting malicious JavaScript code containing a specially constructed typed array
  2. Triggering the sort operation on the typed array to invoke the vulnerable js_typed_array_sort function
  3. Exploiting the heap-based buffer overflow to corrupt adjacent memory structures

The vulnerability requires user interaction, as the victim must process the attacker-supplied JavaScript code through an application embedding the vulnerable QuickJS engine. Successful exploitation could result in memory corruption, denial of service, or potentially arbitrary code execution depending on heap layout and exploitation techniques employed.

Technical details and proof-of-concept information can be found in GitHub Issue #1297.

Detection Methods for CVE-2026-0822

Indicators of Compromise

  • Unexpected crashes or segmentation faults in applications using QuickJS when processing JavaScript code
  • Abnormal memory allocation patterns or heap corruption signatures in QuickJS process memory
  • JavaScript files containing unusual typed array operations followed by sort method calls

Detection Strategies

  • Monitor QuickJS-embedded applications for crash patterns indicating heap corruption
  • Implement memory sanitizers (ASAN/MSAN) in development and testing environments to detect buffer overflow conditions
  • Deploy endpoint detection solutions capable of identifying memory corruption exploitation attempts

Monitoring Recommendations

  • Enable application crash logging and analyze stack traces for js_typed_array_sort function involvement
  • Monitor for unusual JavaScript payloads targeting typed array sort operations
  • Implement runtime application self-protection (RASP) to detect heap-based buffer overflow exploitation attempts

How to Mitigate CVE-2026-0822

Immediate Actions Required

  • Update quickjs-ng QuickJS to a version that includes commit 53eefbcd695165a3bd8c584813b472cb4a69fbf5 or later
  • Review applications embedding QuickJS and prioritize patching for internet-facing services
  • Implement input validation for JavaScript code processed by QuickJS where possible

Patch Information

The vulnerability has been addressed in the quickjs-ng repository. The fix is available through:

  • Patch Commit: 53eefbcd695165a3bd8c584813b472cb4a69fbf5
  • Pull Request: PR #1298

Organizations using quickjs-ng QuickJS should apply the patch immediately by updating to a version containing the security fix.

Workarounds

  • Restrict JavaScript execution to trusted sources only until patching is complete
  • Implement sandboxing for QuickJS engine execution to limit impact of potential exploitation
  • Consider disabling typed array sort operations if not required by application functionality

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

  • Vulnerability Details
  • TypeBuffer Overflow

  • Vendor/TechQuickjs

  • SeverityMEDIUM

  • CVSS Score5.3

  • EPSS Probability0.05%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/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
  • IntegrityLow
  • AvailabilityLow
  • CWE References
  • CWE-119
  • Technical References
  • GitHub Commit Update

  • GitHub Issue #1297

  • GitHub Issue Comment #3780006202

  • GitHub Pull Request #1298

  • VulDB CTI ID #340356

  • VulDB ID #340356

  • VulDB Submission #731783
  • Related CVEs
  • CVE-2026-1145: QuickJS-NG Buffer Overflow Vulnerability

  • CVE-2026-0821: QuickJS-NG Buffer Overflow Vulnerability

  • CVE-2026-3979: QuickJS-ng Use After Free Vulnerability

  • CVE-2025-69654: QuickJS Interpreter DOS 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