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

CVE-2026-3147: Libvips Buffer Overflow Vulnerability

CVE-2026-3147 is a heap-based buffer overflow vulnerability in Libvips up to version 8.18.0, affecting the CSV load function. This locally exploitable flaw poses risks to system stability and security.

Published: February 27, 2026

CVE-2026-3147 Overview

A heap-based buffer overflow vulnerability has been identified in libvips versions up to 8.18.0. The vulnerability exists in the vips_foreign_load_csv_build function within the file libvips/foreign/csvload.c. This memory corruption flaw occurs when the library fails to properly validate that whitespace and separator parameters are ASCII characters before processing CSV files, allowing an attacker with local access to potentially corrupt heap memory through crafted input.

Critical Impact

Local attackers can exploit this heap-based buffer overflow in libvips CSV loading functionality to potentially cause application crashes, corrupt memory, or achieve code execution through maliciously crafted CSV input with non-ASCII whitespace or separator characters.

Affected Products

  • libvips versions up to 8.18.0
  • Applications and services that utilize libvips for CSV file processing
  • Image processing pipelines integrating libvips library

Discovery Timeline

  • 2026-02-25 - CVE-2026-3147 published to NVD
  • 2026-02-25 - Last updated in NVD database

Technical Details for CVE-2026-3147

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 CSV loading component of libvips, specifically within the vips_foreign_load_csv_build function located in libvips/foreign/csvload.c. The vulnerability requires local access to exploit, meaning an attacker needs the ability to provide malicious CSV input to an application utilizing the vulnerable libvips library.

The core issue stems from insufficient validation of user-controllable input parameters before memory operations are performed. When processing CSV files, the library accepts whitespace and separator configuration options that were not properly validated, allowing non-ASCII characters to be processed in ways that corrupt heap memory.

Root Cause

The root cause of CVE-2026-3147 is the absence of ASCII character validation for the whitespace and separator parameters in the CSV loading functionality. Before the patch, the vips_foreign_load_csv_build function would proceed to create string buffers and process CSV data without verifying that these critical parameters contained only ASCII characters. Non-ASCII characters in these fields could lead to unexpected behavior during string parsing operations, resulting in heap memory corruption through out-of-bounds memory access.

Attack Vector

The attack requires local access to the target system or the ability to provide malicious input to an application using libvips. An attacker would craft a malicious CSV file or manipulate the whitespace and separator parameters with non-ASCII characters when invoking libvips CSV loading functions. When the vulnerable application processes this input, the heap-based buffer overflow is triggered, potentially allowing memory corruption, denial of service, or in certain scenarios, code execution.

The exploit methodology has been publicly disclosed, increasing the risk of active exploitation in the wild.

c
// Patch applied in csvload.c - Source: GitHub Commit b3ab458a
// The fix validates that whitespace and separator are ASCII before processing

	int i;
	const char *p;

	if (!g_str_is_ascii(csv->whitespace) ||
		!g_str_is_ascii(csv->separator)) {
		vips_error("csvload", "%s",
			_("whitespace and separator must be ASCII"));
		return -1;
	}

	if (!(csv->sbuf = vips_sbuf_new_from_source(csv->source)))
		return -1;

Source: GitHub Commit b3ab458a25e0e261cbd1788474bbc763f7435780

Detection Methods for CVE-2026-3147

Indicators of Compromise

  • Unexpected crashes or segmentation faults in applications using libvips CSV loading functionality
  • Anomalous heap memory corruption errors in application logs related to CSV processing
  • CSV files with unusual non-ASCII characters in delimiter or whitespace positions
  • Increased memory allocation anomalies in libvips-dependent processes

Detection Strategies

  • Monitor application logs for errors originating from csvload.c or the vips_foreign_load_csv_build function
  • Implement file integrity monitoring for applications utilizing libvips to detect unexpected behavior
  • Deploy runtime memory protection mechanisms (ASLR, stack canaries) to detect exploitation attempts
  • Utilize static analysis tools to identify libvips version in use across your environment

Monitoring Recommendations

  • Enable verbose logging for applications using libvips to capture CSV processing errors
  • Implement anomaly detection for unusual CSV file characteristics in upload or processing pipelines
  • Monitor system logs for heap corruption indicators or unexpected process terminations
  • Track libvips library version deployments across infrastructure for vulnerability management

How to Mitigate CVE-2026-3147

Immediate Actions Required

  • Update libvips to a patched version that includes commit b3ab458a25e0e261cbd1788474bbc763f7435780
  • Review applications using libvips CSV loading functionality and assess exposure
  • Implement input validation at the application layer to ensure CSV parameters contain only ASCII characters
  • Consider temporarily disabling CSV loading functionality if not required until patching is complete

Patch Information

A security patch has been released by the libvips development team. The fix is identified by commit hash b3ab458a25e0e261cbd1788474bbc763f7435780. The patch adds validation to ensure that the whitespace and separator parameters are ASCII characters before proceeding with CSV processing operations.

For detailed patch information, refer to:

  • GitHub Commit Details
  • GitHub Issue Discussion
  • GitHub Pull Request #4894

Workarounds

  • Implement application-level input validation to reject non-ASCII characters in whitespace and separator parameters before passing to libvips
  • Restrict CSV file uploads to trusted sources only until patching is completed
  • Deploy Web Application Firewalls (WAF) or input sanitization layers to filter potentially malicious CSV content
  • Consider using containerization with limited privileges for applications processing untrusted CSV files
bash
# Example: Check installed libvips version
vips --version

# Verify the patch is applied by checking git log
cd /path/to/libvips
git log --oneline | grep b3ab458

# Rebuild libvips from patched source
git pull origin master
meson setup build --wipe
meson compile -C build
sudo meson install -C build

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

  • Vulnerability Details
  • TypeBuffer Overflow

  • Vendor/TechLibvips

  • SeverityMEDIUM

  • CVSS Score4.8

  • EPSS Probability0.02%

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

  • GitHub Pull Request

  • VulDB #347653

  • VulDB #347653 Details

  • VulDB Submission #758692
  • Vendor Resources
  • GitHub Commit Details

  • GitHub Issue Discussion

  • GitHub Issue Comment
  • Related CVEs
  • CVE-2026-6491: libvips Buffer Overflow Vulnerability

  • CVE-2026-3145: Libvips Buffer Overflow Vulnerability

  • CVE-2026-2913: Libvips Buffer Overflow Vulnerability

  • CVE-2026-3283: Libvips Out-of-Bounds Read 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