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

CVE-2025-6491: PHP SOAP Extension DoS Vulnerability

CVE-2025-6491 is a denial of service flaw in PHP's SOAP extension caused by overly large XML namespace prefixes that trigger null pointer dereference. This article covers technical details, affected versions, and mitigation.

Updated: January 22, 2026

CVE-2025-6491 Overview

CVE-2025-6491 is a Null Pointer Dereference vulnerability affecting the SOAP extension in multiple PHP versions. When parsing XML data, overly large XML namespace prefixes exceeding 2GB can trigger a null pointer dereference condition. This vulnerability can lead to application crashes and denial of service, impacting the availability of PHP-based web servers and applications.

Critical Impact

Attackers can cause denial of service conditions by sending specially crafted SOAP requests with oversized XML namespace prefixes, crashing PHP applications and affecting server availability.

Affected Products

  • PHP 8.1.* versions before 8.1.33
  • PHP 8.2.* versions before 8.2.29
  • PHP 8.3.* versions before 8.3.23
  • PHP 8.4.* versions before 8.4.10

Discovery Timeline

  • 2025-07-13 - CVE-2025-6491 published to NVD
  • 2025-11-04 - Last updated in NVD database

Technical Details for CVE-2025-6491

Vulnerability Analysis

This vulnerability exists within PHP's SOAP extension, specifically in the XML parsing functionality. The SOAP extension is commonly used in PHP applications for web service communication using XML-based messaging protocols. When the parser encounters an XML namespace prefix that exceeds 2GB in size, improper memory handling occurs, resulting in a null pointer dereference condition.

The vulnerability is classified under CWE-476 (NULL Pointer Dereference), indicating that the application attempts to use a pointer that it expects to be valid but is actually NULL. In this case, the oversized namespace prefix causes the parser to enter an unexpected state where memory references become invalid.

Root Cause

The root cause of CVE-2025-6491 lies in inadequate input validation and boundary checking when processing XML namespace prefixes within the SOAP extension. The parser does not properly validate the size of namespace prefix data before attempting to process it, leading to memory corruption when extremely large values are encountered. When the namespace prefix exceeds the 2GB threshold, internal data structures fail to properly allocate or reference memory, resulting in a null pointer being dereferenced during subsequent operations.

Attack Vector

The attack vector for this vulnerability is network-based, requiring an attacker to send malicious SOAP requests to a vulnerable PHP application. The attack does not require authentication or user interaction, making it accessible to remote unauthenticated attackers. However, the attack complexity is considered high because:

  1. The attacker must craft a SOAP request with an XML namespace prefix exceeding 2GB in size
  2. The target application must use the PHP SOAP extension and process the malicious input
  3. Network and server configurations may impose limits on request sizes that could prevent exploitation

The vulnerability specifically manifests when the SOAP extension processes XML data containing the oversized namespace prefix. An attacker would need to identify PHP applications using SOAP functionality and craft requests that bypass any existing input size restrictions.

Detection Methods for CVE-2025-6491

Indicators of Compromise

  • Unexpected PHP process crashes or segmentation faults in application logs
  • Abnormally large SOAP/XML requests in web server access logs (requests approaching or exceeding 2GB)
  • Increased error rates or service unavailability on PHP-powered endpoints using SOAP
  • Memory-related errors in PHP error logs when processing SOAP requests

Detection Strategies

  • Monitor web application firewall (WAF) logs for unusually large XML payloads in SOAP requests
  • Implement request size monitoring to detect anomalous traffic patterns targeting SOAP endpoints
  • Configure application performance monitoring (APM) tools to alert on PHP process crashes
  • Review PHP error logs for null pointer dereference or segmentation fault messages related to SOAP operations

Monitoring Recommendations

  • Set up alerting for PHP-FPM or Apache/Nginx worker process crashes
  • Monitor request payload sizes at the network perimeter and application layer
  • Implement rate limiting and size restrictions on SOAP endpoints
  • Enable verbose logging for SOAP extension operations during investigation periods

How to Mitigate CVE-2025-6491

Immediate Actions Required

  • Upgrade PHP to patched versions: 8.1.33, 8.2.29, 8.3.23, or 8.4.10
  • Implement request size limits at the web server level to prevent oversized payloads from reaching PHP
  • Configure WAF rules to block abnormally large SOAP requests
  • Consider temporarily disabling SOAP functionality if not critical and patching is delayed

Patch Information

PHP has released security patches addressing this vulnerability. Users should upgrade to the following minimum versions:

  • PHP 8.1.x: Upgrade to 8.1.33 or later
  • PHP 8.2.x: Upgrade to 8.2.29 or later
  • PHP 8.3.x: Upgrade to 8.3.23 or later
  • PHP 8.4.x: Upgrade to 8.4.10 or later

For detailed patch information, refer to the PHP GitHub Security Advisory. Additional security announcements are available via the OpenWall OSS Security mailing list and the Debian LTS Announcement.

Workarounds

  • Configure web server request size limits (e.g., client_max_body_size in Nginx, LimitRequestBody in Apache) to prevent oversized requests
  • Implement application-level input validation to reject SOAP requests with excessively large namespace prefixes
  • Deploy network-level filtering to drop packets associated with abnormally large HTTP requests
  • Use a reverse proxy with strict payload size enforcement in front of PHP applications
bash
# Nginx configuration example - limit request body size
server {
    # Limit request body to 10MB to prevent oversized payloads
    client_max_body_size 10m;
    
    location /soap {
        # Additional restrictions for SOAP endpoints
        client_max_body_size 5m;
    }
}

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechPhp

  • SeverityMEDIUM

  • CVSS Score5.9

  • EPSS Probability0.14%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-476
  • Technical References
  • OpenWall OSS Security Alert

  • Debian LTS Announcement
  • Vendor Resources
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2025-14180: PHP PDO PostgreSQL DoS Vulnerability

  • CVE-2025-1735: PHP pgsql/pdo_pgsql DOS Vulnerability

  • CVE-2024-2757: PHP mb_encode_mimeheader DoS Vulnerability

  • CVE-2023-0662: PHP HTTP Form Upload 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