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

CVE-2026-7568: PHP metaphone() DoS Vulnerability

CVE-2026-7568 is a denial of service vulnerability in PHP's metaphone() function caused by signed integer overflow. Attackers can crash PHP processes using oversized strings. This article covers technical details, affected versions, impact, and mitigation strategies.

Published: May 18, 2026

CVE-2026-7568 Overview

CVE-2026-7568 is an out-of-bounds read vulnerability [CWE-125] in the metaphone() function implemented in ext/standard/metaphone.c within the PHP interpreter. The function uses a signed int variable to track the position within the input string. When an input string exceeds 2,147,483,647 bytes, a signed integer overflow occurs and triggers undefined behavior. The resulting out-of-bounds read can cause a segmentation fault or expose unrelated process memory. PHP maintainers addressed the issue in versions 8.2.31, 8.3.31, 8.4.21, and 8.5.6.

Critical Impact

Applications invoking metaphone() on attacker-influenced input larger than 2 GiB can crash the PHP process or read out-of-bounds memory, impacting availability.

Affected Products

  • PHP 8.2.x prior to 8.2.31
  • PHP 8.3.x prior to 8.3.31
  • PHP 8.4.x prior to 8.4.21 and PHP 8.5.x prior to 8.5.6

Discovery Timeline

  • 2026-05-10 - CVE-2026-7568 published to the National Vulnerability Database (NVD)
  • 2026-05-12 - Last updated in NVD database

Technical Details for CVE-2026-7568

Vulnerability Analysis

The metaphone() function converts an input string into its phonetic representation. Internally, ext/standard/metaphone.c tracks the current parsing position using a signed integer. When the input length exceeds INT_MAX (2,147,483,647 bytes), incrementing this index produces a signed integer overflow. Signed overflow is undefined behavior in C and yields an unpredictable index value. The function then dereferences memory using that index, reading outside the bounds of the input buffer. Depending on memory layout, this triggers a segmentation fault or exposes adjacent heap contents. The defect maps to CWE-125 (Out-of-Bounds Read).

Root Cause

The root cause is the use of a signed 32-bit counter rather than a width-safe type such as size_t for indexing input bytes. PHP strings can exceed INT_MAX on 64-bit builds, so the index type must accommodate the full string length. The fix replaces the unsafe counter with a sufficiently wide type and validates traversal against the actual string length.

Attack Vector

Exploitation requires an attacker to supply a string larger than 2 GiB to metaphone(). The condition is rare in production workloads because most input pipelines reject or truncate inputs of that size. Web endpoints that accept large uploads or stream data directly into metaphone() are the most likely entry points. Successful triggering produces a process crash and denial of service against the PHP worker handling the request. There is no public proof-of-concept, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog.

No verified exploit code is available. Refer to the PHP GitHub Security Advisory GHSA-96wq-48vp-hh57 for the upstream fix and technical commentary.

Detection Methods for CVE-2026-7568

Indicators of Compromise

  • Unexpected segmentation faults or SIGSEGV entries in PHP-FPM, Apache mod_php, or CLI worker logs that correlate with calls into metaphone().
  • HTTP requests or job payloads containing string fields larger than 2 GiB targeting endpoints that pass user input to phonetic processing routines.
  • Sudden restarts of PHP workers or container OOM-adjacent crashes without a matching application-level exception.

Detection Strategies

  • Audit application code for direct or indirect calls to metaphone() and identify call sites where input size is not bounded before invocation.
  • Inspect web server and reverse proxy logs for abnormally large request bodies or query parameters directed at affected endpoints.
  • Correlate PHP crash dumps with request identifiers to determine whether oversized inputs preceded the failure.

Monitoring Recommendations

  • Track PHP process exit codes and crash counters in your observability platform and alert on spikes.
  • Enforce request body size limits at the web server tier (client_max_body_size in nginx, LimitRequestBody in Apache) and log violations.
  • Forward PHP error logs to a centralized log platform and create rules for repeated metaphone stack frames in core dumps.

How to Mitigate CVE-2026-7568

Immediate Actions Required

  • Upgrade PHP to 8.2.31, 8.3.31, 8.4.21, or 8.5.6 depending on the branch in use.
  • Inventory application code and dependencies for usages of metaphone() and confirm input length is validated before the call.
  • Apply request size limits at the reverse proxy or web server tier to reject payloads larger than realistic business needs.

Patch Information

PHP maintainers fixed the integer handling in ext/standard/metaphone.c in PHP 8.2.31, 8.3.31, 8.4.21, and 8.5.6. The advisory and patch references are documented in the PHP GitHub Security Advisory GHSA-96wq-48vp-hh57. Distribution maintainers have issued corresponding package updates for supported branches.

Workarounds

  • Enforce strict input length validation before any call to metaphone(), rejecting strings beyond a small fixed maximum.
  • Disable code paths that invoke metaphone() on untrusted input until the patched PHP version is deployed.
  • Constrain upload and form sizes at the ingress layer to prevent multi-gigabyte payloads from reaching PHP workers.
bash
# Example nginx ingress limit to prevent oversized payloads reaching PHP
http {
    client_max_body_size 10m;
    client_body_buffer_size 128k;
}

# Verify installed PHP version after patching
php -v

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 Score6.3

  • EPSS Probability0.06%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:L/SC:L/SI:L/SA:L/E:X/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:L/U:Amber
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-125
  • Vendor Resources
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-7258: PHP urldecode() Denial of Service Vulnerability

  • CVE-2026-7259: PHP mb_regex_encoding() DOS Vulnerability

  • CVE-2026-7262: PHP SOAP Server DoS Vulnerability

  • CVE-2026-7263: PHP DOMNode::C14N() DoS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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