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-2020-7067

CVE-2020-7067: PHP Buffer Overflow Vulnerability

CVE-2020-7067 is a buffer overflow flaw in PHP's urldecode() function affecting EBCDIC-compiled versions. Attackers can access memory beyond allocated boundaries. This article covers technical details, affected versions, and mitigation.

Published: March 4, 2026

CVE-2020-7067 Overview

CVE-2020-7067 is an out-of-bounds read vulnerability affecting PHP's urldecode() function when PHP is compiled with EBCDIC support. The vulnerability allows attackers to read memory locations past the allocated buffer by exploiting erroneously used signed numbers as array indexes. While EBCDIC support is uncommon in typical PHP deployments, systems utilizing this character encoding—primarily IBM mainframe environments—are at risk of information disclosure through this flaw.

Critical Impact

Attackers can exploit this vulnerability to access sensitive memory contents beyond allocated buffers, potentially exposing confidential data processed by PHP applications.

Affected Products

  • PHP versions 7.2.x below 7.2.30
  • PHP versions 7.3.x below 7.3.17
  • PHP versions 7.4.x below 7.4.5
  • Tenable Tenable.sc (various versions)
  • Oracle Communications Diameter Signaling Router
  • Debian Linux 9.0 and 10.0

Discovery Timeline

  • April 27, 2020 - CVE-2020-7067 published to NVD
  • November 21, 2024 - Last updated in NVD database

Technical Details for CVE-2020-7067

Vulnerability Analysis

This vulnerability is classified as CWE-125 (Out-of-Bounds Read) and affects the urldecode() function in PHP when compiled with EBCDIC (Extended Binary Coded Decimal Interchange Code) support. EBCDIC is a character encoding system primarily used on IBM mainframe and midrange computer systems.

The core issue stems from improper handling of signed integer values when used as array indexes within the URL decoding logic. When the urldecode() function processes specially crafted input, the signed number handling can result in negative index values, causing the function to access memory locations outside the intended buffer boundaries.

While EBCDIC support is uncommon in standard PHP deployments, organizations running PHP on IBM z/OS, AS/400, or similar mainframe systems may have this support enabled. The network-accessible nature of this vulnerability means remote attackers can trigger the out-of-bounds read without authentication, potentially extracting sensitive information from process memory.

Root Cause

The root cause of CVE-2020-7067 lies in the incorrect use of signed integers as array indexes within the urldecode() function's EBCDIC handling code path. When processing percent-encoded characters in URL strings, the function uses integer values that can become negative due to sign extension or arithmetic operations. These negative values, when used as array indexes, cause the function to read from memory addresses before the start of the intended array buffer.

Attack Vector

The attack vector for this vulnerability is network-based and requires no user interaction or authentication. An attacker can exploit this vulnerability by sending maliciously crafted URL-encoded strings to a PHP application that processes them using the urldecode() function. On affected systems with EBCDIC support enabled, the crafted input triggers the out-of-bounds memory read.

The exploitation scenario involves:

  1. Identifying a target PHP application running on an EBCDIC-enabled system
  2. Crafting URL-encoded input designed to trigger negative array index calculations
  3. Sending the malicious input to the application endpoint
  4. Analyzing responses or application behavior to extract leaked memory contents

For technical details on the vulnerability mechanism, refer to the PHP Bug Report #79465.

Detection Methods for CVE-2020-7067

Indicators of Compromise

  • Unusual URL-encoded requests with specific byte patterns targeting urldecode() processing
  • PHP error logs showing memory access violations or segmentation faults during URL decoding operations
  • Anomalous response sizes or content from PHP applications that may indicate memory leakage
  • Increased memory-related warnings in PHP error logs from EBCDIC-enabled systems

Detection Strategies

  • Implement web application firewall rules to detect and block anomalous URL-encoded request patterns
  • Monitor PHP error logs for CWE-125-related memory access errors and segmentation faults
  • Deploy intrusion detection signatures that identify exploitation attempts against urldecode() functionality
  • Conduct regular vulnerability scanning to identify PHP installations running affected versions

Monitoring Recommendations

  • Enable verbose PHP error logging on systems with EBCDIC support to capture early exploitation indicators
  • Implement application-level monitoring for unusual memory consumption patterns during URL decoding operations
  • Configure SIEM alerts for patterns indicative of information disclosure attempts targeting PHP applications
  • Establish baseline behavior for URL processing endpoints to detect anomalous activity

How to Mitigate CVE-2020-7067

Immediate Actions Required

  • Upgrade PHP to version 7.2.30 or later for the 7.2.x branch
  • Upgrade PHP to version 7.3.17 or later for the 7.3.x branch
  • Upgrade PHP to version 7.4.5 or later for the 7.4.x branch
  • Apply vendor-specific patches for Tenable.sc, Oracle Communications Diameter Signaling Router, and Debian Linux

Patch Information

Patches addressing CVE-2020-7067 are available from multiple vendors. The PHP project has released fixed versions that correct the signed integer handling in the urldecode() function. Organizations should apply the following updates based on their environment:

  • PHP: Upgrade to versions 7.2.30+, 7.3.17+, or 7.4.5+ as documented in PHP Bug Report #79465
  • Debian Linux: Apply patches from DSA-4717 and DSA-4719
  • Oracle: Refer to Oracle CPU October 2020 and Oracle CPU April 2021
  • Tenable: Apply updates per Tenable Security Notification TNS-2021-14

Workarounds

  • Disable EBCDIC support in PHP compilation if not required for your environment
  • Implement input validation and sanitization for URL-encoded data before passing to urldecode()
  • Deploy web application firewall rules to filter potentially malicious URL-encoded inputs
  • Consider isolating EBCDIC-enabled PHP applications in network segments with restricted access
bash
# Verify PHP version and check for EBCDIC support
php -v
php -i | grep -i ebcdic

# If vulnerable and EBCDIC not required, recompile PHP without EBCDIC support
./configure --disable-ebcdic
make && 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/TechPhp

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability3.38%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-125
  • Technical References
  • NetApp Security Advisory NTAP-20200504-0001

  • Debian Security Advisory DSA-4717

  • Debian Security Advisory DSA-4719

  • Oracle CPU April 2021 Alerts

  • Oracle CPU October 2020 Alerts
  • Vendor Resources
  • PHP Bug Report #79465

  • Tenable Security Notification TNS-2021-14
  • Related CVEs
  • CVE-2025-14178: PHP Buffer Overflow Vulnerability

  • CVE-2024-8932: PHP ldap_escape() Buffer Overflow Flaw

  • CVE-2024-11236: PHP ldap_escape() Buffer Overflow Flaw

  • CVE-2024-11233: PHP Buffer Overflow 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