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-2025-48060

CVE-2025-48060: Jqlang Jq Buffer Overflow Vulnerability

CVE-2025-48060 is a heap-buffer-overflow vulnerability in Jqlang Jq affecting versions up to 1.7.1. This flaw occurs in the jv_string_vfmt function and can compromise system integrity. This article covers technical details, affected versions, impact, and mitigation strategies.

Updated: January 22, 2026

CVE-2025-48060 Overview

CVE-2025-48060 is a heap-buffer-overflow vulnerability affecting jq, a popular command-line JSON processor. The vulnerability exists in versions up to and including 1.7.1, specifically in the jv_string_vfmt function within the jv.c source file at line 1456. This memory corruption flaw was discovered through the OSS-Fuzz project's jq_fuzz_execute harness, highlighting the importance of continuous fuzzing in identifying security vulnerabilities in widely-used software components.

Critical Impact

This heap-buffer-overflow vulnerability can be exploited remotely without authentication, potentially causing denial of service conditions in systems and applications that rely on jq for JSON processing.

Affected Products

  • jqlang jq versions up to and including 1.7.1
  • All applications and systems utilizing vulnerable jq binaries for JSON processing
  • Container images and Linux distributions packaging vulnerable jq versions

Discovery Timeline

  • 2025-05-21 - CVE-2025-48060 published to NVD
  • 2025-11-03 - Last updated in NVD database

Technical Details for CVE-2025-48060

Vulnerability Analysis

This vulnerability represents a classic heap-buffer-overflow (CWE-787: Out-of-bounds Write, CWE-121: Stack-based Buffer Overflow) that occurs during string formatting operations in jq's core JSON value handling code. The flaw manifests in the jv_string_vfmt function, which is responsible for formatting string values within jq's internal JSON representation system.

The vulnerable code path involves a memory allocation via malloc(sz) at line 1456 in jv.c, where insufficient bounds checking allows an attacker to trigger an overflow condition. When processing specially crafted JSON input or jq filter expressions, the application can write beyond the allocated heap buffer boundaries, corrupting adjacent memory regions.

The network attack vector with no authentication requirements means that any system processing untrusted JSON data through jq could be vulnerable to this attack.

Root Cause

The root cause lies in improper memory allocation size calculation within the jv_string_vfmt function. When formatting string values, the function fails to properly account for all possible input lengths, leading to an undersized heap allocation. Subsequent write operations then exceed the allocated buffer, causing heap corruption.

The vulnerability was identified through fuzzing, indicating that edge cases in string formatting logic were not adequately handled, particularly when processing malformed or adversarial input patterns.

Attack Vector

An attacker can exploit this vulnerability by supplying maliciously crafted JSON data or jq filter expressions to a system running a vulnerable version of jq. The attack can be executed remotely over the network without requiring any authentication or user interaction.

Exploitation scenarios include:

  1. Web applications using jq for server-side JSON transformation receiving malicious API payloads
  2. CI/CD pipelines processing untrusted JSON configuration files through jq
  3. Command-line usage where users inadvertently process malicious JSON from untrusted sources
  4. Automated scripts that fetch and process JSON from external endpoints

The heap-buffer-overflow condition can result in denial of service through application crashes. While the primary impact is availability disruption, heap corruption vulnerabilities can sometimes be leveraged for more severe exploitation depending on the memory layout and application context.

Detection Methods for CVE-2025-48060

Indicators of Compromise

  • Unexpected crashes or segmentation faults in processes using jq for JSON processing
  • Core dumps indicating heap corruption in the jv_string_vfmt function or jv.c module
  • Abnormal memory usage patterns in jq processes before crash events
  • Application logs showing jq process termination with memory-related errors

Detection Strategies

  • Deploy runtime application self-protection (RASP) to detect heap overflow attempts
  • Implement process monitoring to alert on repeated jq crashes that may indicate exploitation attempts
  • Use memory sanitizer tools (AddressSanitizer, Valgrind) in development environments to catch heap overflows
  • Monitor system logs for segmentation faults and abort signals from jq processes

Monitoring Recommendations

  • Configure alerting for jq process crashes and abnormal terminations across production systems
  • Implement centralized logging to correlate jq-related errors that may indicate attack attempts
  • Monitor for unusual JSON payload sizes or patterns in systems that process external JSON through jq
  • Deploy SentinelOne agents to detect and respond to memory corruption exploitation attempts in real-time

How to Mitigate CVE-2025-48060

Immediate Actions Required

  • Inventory all systems and applications using jq and identify vulnerable versions (1.7.1 and earlier)
  • Implement input validation and size limits for JSON data processed by jq where possible
  • Consider temporarily replacing jq with alternative JSON processing tools in critical systems
  • Apply any available patches from your Linux distribution (see Debian LTS announcement)
  • Restrict network access to systems that process untrusted JSON through jq

Patch Information

As of the original publication date, no official patched version was available from the upstream jqlang project. However, the Debian LTS Announcement indicates that distribution-level patches may be available. Organizations should monitor the GitHub Security Advisory for updates on official fixes and apply distribution patches as they become available.

Workarounds

  • Implement strict input validation on JSON data before processing with jq to reject oversized or malformed payloads
  • Run jq processes in sandboxed environments with resource limits (memory, CPU) to contain potential exploitation
  • Use containerization with read-only filesystems and minimal privileges for jq processing workloads
  • Consider implementing alternative JSON processing using safer languages or libraries where jq is not essential
bash
# Configuration example: Resource limits for jq processes
# Limit memory and CPU for jq execution using systemd
# Create /etc/systemd/system/jq-processor.service.d/limits.conf

[Service]
MemoryMax=256M
CPUQuota=50%
NoNewPrivileges=true
ProtectSystem=strict
ProtectHome=true

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

  • Vulnerability Details
  • TypeBuffer Overflow

  • Vendor/TechJqlang Jq

  • SeverityHIGH

  • CVSS Score7.7

  • EPSS Probability0.12%

  • 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: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
  • AvailabilityHigh
  • CWE References
  • CWE-121

  • CWE-787
  • Technical References
  • Debian LTS Announcement
  • Vendor Resources
  • GitHub Security Advisory
  • 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