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

CVE-2026-2241: janet-lang janet Buffer Overflow Vulnerability

CVE-2026-2241 is a buffer overflow vulnerability in janet-lang janet up to version 1.40.1 affecting the os_strftime function. This out-of-bounds read flaw requires local access. This article covers technical details, affected versions, impact, and mitigation steps.

Published: February 13, 2026

CVE-2026-2241 Overview

An out-of-bounds read vulnerability has been identified in janet-lang janet versions up to 1.40.1. This vulnerability affects the os_strftime function located in the file src/core/os.c. When exploited, an attacker can manipulate inputs to trigger an out-of-bounds read condition, potentially leading to information disclosure or application crashes.

Critical Impact

Local attackers with low privileges can exploit this vulnerability to read memory beyond intended boundaries, potentially exposing sensitive information or causing denial of service through application instability.

Affected Products

  • janet-lang janet versions up to and including 1.40.1
  • Applications and systems utilizing vulnerable janet-lang janet builds
  • Development environments with unpatched janet interpreters

Discovery Timeline

  • 2026-02-09 - CVE-2026-2241 published to NVD
  • 2026-02-09 - Last updated in NVD database

Technical Details for CVE-2026-2241

Vulnerability Analysis

This vulnerability is classified under CWE-119 (Improper Restriction of Operations within the Bounds of a Memory Buffer). The os_strftime function in src/core/os.c fails to properly validate input boundaries before performing memory operations. When crafted input is provided to this function, it can read data beyond the allocated buffer boundaries.

The local attack vector requires an attacker to have some level of access to the system where janet is running. The vulnerability does not directly impact confidentiality or integrity but can affect system availability. A proof-of-concept exploit has been made publicly available, increasing the likelihood of exploitation attempts.

Root Cause

The root cause of this vulnerability lies in insufficient bounds checking within the os_strftime function. The function processes time formatting strings without adequately validating the size of input data against buffer boundaries. This oversight allows specially crafted inputs to cause the function to read memory locations outside the intended buffer range.

Attack Vector

The attack requires local access to the system running a vulnerable version of janet-lang janet. An attacker with low-level privileges can craft malicious input that, when processed by the os_strftime function, triggers the out-of-bounds read condition.

The vulnerability manifests when manipulated format strings or time data are passed to the os_strftime function. The function fails to properly validate memory boundaries during its operations, leading to reads beyond the allocated buffer. For technical details and proof-of-concept reproduction steps, refer to GitHub Issue #1701 and the PoC repository.

Detection Methods for CVE-2026-2241

Indicators of Compromise

  • Unexpected crashes or segmentation faults in applications using janet-lang janet
  • Abnormal memory access patterns or errors logged by janet-based applications
  • Suspicious local activity targeting janet interpreter processes

Detection Strategies

  • Monitor for crashes or error logs related to the os_strftime function in janet applications
  • Implement memory sanitizers (ASan, MSan) in development and testing environments to detect out-of-bounds reads
  • Review application logs for unusual time formatting operations or related function calls

Monitoring Recommendations

  • Enable detailed logging for janet-based applications to capture function-level errors
  • Deploy endpoint detection and response (EDR) solutions like SentinelOne to identify memory exploitation attempts
  • Regularly audit systems running janet-lang for versions affected by this vulnerability

How to Mitigate CVE-2026-2241

Immediate Actions Required

  • Update janet-lang janet to a version containing the security patch (commit 0f285855f0e34f9183956be5f16e045f54626bff or later)
  • Review and restrict local access to systems running janet applications
  • Implement input validation for any external data processed by janet scripts
  • Consider temporarily disabling time formatting functionality if immediate patching is not possible

Patch Information

A patch has been released by the janet-lang project to address this vulnerability. The fix is available in commit 0f285855f0e34f9183956be5f16e045f54626bff. Users should update to a version of janet-lang janet that includes this commit. Additional details about the issue and its resolution can be found in GitHub Issue #1701.

Workarounds

  • Restrict local user access to systems running vulnerable janet versions until patching is complete
  • Implement application-level input validation to sanitize data before it reaches the os_strftime function
  • Use containerization or sandboxing to limit the impact of potential exploitation
  • Monitor and audit any janet scripts that utilize time formatting functionality
bash
# Configuration example - Update janet to patched version
git clone https://github.com/janet-lang/janet.git
cd janet
git checkout 0f285855f0e34f9183956be5f16e045f54626bff
make
sudo make install

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

  • Vulnerability Details
  • TypeBuffer Overflow

  • Vendor/TechJanet Lang

  • SeverityMEDIUM

  • CVSS Score4.8

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/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-119
  • Technical References
  • GitHub Janet Repository

  • GitHub Commit Changes

  • GitHub Issue #1701

  • GitHub Issue #1701 Event

  • GitHub PoC JA3 Reproduction

  • VulDB Cert #344980

  • VulDB #344980

  • VulDB Submission #753156
  • Related CVEs
  • CVE-2026-2242: janet-lang Buffer Overflow Vulnerability

  • CVE-2026-2240: janet-lang Use After Free 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