Vulnary
← back to the feed
Critical· 9.5official fix available

CVE-2026-6722

A flaw in the SOAP extension of certain PHP versions allows for a memory error known as a 'use-after-free.' This occurs when the system incorrectly manages how it tracks objects in memory, potentially allowing an attacker to take control of the application.

publishedMay 10, 2026
last modifiedJul 24, 2026
sourcesNVD
severity · cvss
9.5
critical · how bad it is
exploitation · epss
<1%
56th percentile · chance of exploitation in 30 days
(ai-assisted) A model wrote this summary from the official data, so double-check it against the source before you act on it. Read the official advisory →
auto-deletes from the system
counting…on Aug 25, 2026

An official fix is available, so this entry is kept for 30 days and then removed automatically.

01

Who is affected

Users running PHP versions 8.2.x (before 8.2.31), 8.3.x (before 8.3.31), 8.4.x (before 8.4.21), or 8.5.x (before 8.5.6) that have the SOAP extension enabled.

02

Real-world impact

An attacker could send a specially crafted SOAP request to a server running affected PHP versions to execute arbitrary code remotely, potentially taking full control of the system.

03

Why this severity

The critical score reflects that an attacker can achieve remote code execution without needing special privileges or user interaction, though the attack requires high complexity.

04

What to do about it

official fix available
recommended steps
  1. 01Upgrade PHP to version 8.2.31 or later.
  2. 02Upgrade PHP to version 8.3.31 or later.
  3. 03Upgrade PHP to version 8.4.21 or later.
  4. 04Upgrade PHP to version 8.5.6 or later.

NVD-referenced vendor advisory

05

Timeline

  1. May 10, 2026 · May 10, 2026
    Published
    Disclosed and added to the National Vulnerability Database.
  2. Jul 24, 2026 · 12d ago
    Advisory updated
    The NVD record was last revised.
  3. Jul 26, 2026 · 10d ago
    Official fix available
    A vendor patch or mitigation now exists — see the remediation steps above.
06

How it’s attacked

Attack vectorNetwork (remote)
Attack complexityHigh
Attack requirementsPresent
Privileges requiredNone
User interactionNone needed
Confidentiality impactHigh
Integrity impactHigh
Availability impactHigh
07

References & advisories

(ai-assisted) A model wrote this summary from the official data, so double-check it against the source before you act on it. Read the official advisory →