CVEMETERBack to radar
OFFICIAL RECORD · PHP

CVE-2026-6722

PUBLISHEDOfficial status check: verifiedCVSS 4.0: 9.5 · critical

Use-After-Free in SOAP using Apache map

In PHP versions 8.2.* before 8.2.31, 8.3.* before 8.3.31, 8.4.* before 8.4.21, and 8.5.* before 8.5.6, the SOAP extension's object deduplication mechanism stores pointers to PHP objects in a global map without incrementing their reference counts. When an apache:Map node contains duplicate keys, processing the second entry overwrites the first in the temporary result map, freeing the original PHP object while its stale pointer remains in the map. A subsequent href reference to the freed node can copy the dangling pointer into the result. As PHP string allocations can reclaim the freed memory region, an attacker with control over the SOAP request body can exploit this use-after-free to achieve remote code execution.

Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.

Severity and exploitation evidence

EPSS: 0.894% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.

CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T16:25:55.090Z. Public exploit availability is not used to set this status.

CVSS 4.0 · 9.5 · published by php
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/AU:Y/RE:M/U:Red
Assessment source · checked 2026-11-19T10:46:20.332Z

CVSS 4.0 · 9.5 · published by [email protected]
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/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:Y/R:X/V:X/RE:M/U:Red
Assessment source · checked 2026-11-19T10:05:26.094Z

CVSS 4.0 · 9.5 · published by Ubuntu Security
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/AU:Y/RE:M/U:Red
Assessment source · checked 2026-11-19T14:19:00.134Z

CVSS 3.1 · 9.8 · published by [email protected]
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Assessment source · checked 2026-11-19T10:05:26.094Z

CVSS 3.1 · 7.7 · published by 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L
Assessment source · checked 2026-11-19T10:05:26.094Z

CVSS 3.1 · 7.7 · published by Ubuntu Security
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L
Assessment source · checked 2026-11-19T14:19:00.134Z

Verification by field

FieldStatusChecked at (UTC)Source
kevverified2026-11-19T16:25:55.090ZCISA KEV
cvssverified2026-11-19T10:46:20.332ZCVE Program
epssverified2026-11-19T16:04:53.982ZFIRST EPSS
patchesverified2026-11-19T14:19:09.487ZUbuntu Security
affectedverified2026-11-19T10:46:20.332ZCVE Program
lifecycleverified2026-11-19T10:46:20.332ZCVE Program

Affected versions and configuration

PHP Group PHP; default status: affected: 8.2.* to < 8.2.31 [affected; scheme: semver]; 8.3.* to < 8.3.31 [affected; scheme: semver]; 8.4.* to < 8.4.21 [affected; scheme: semver]; 8.5.* to < 8.5.6 [affected; scheme: semver]

Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.

Ubuntu Security · ubuntu-package · full conditions
[
  {
    "name": "php8.4",
    "debian": "https://tracker.debian.org/pkg/php8.4",
    "source": "https://ubuntu.com/security/cve?package=php8.4",
    "ubuntu": "https://packages.ubuntu.com/search?suite=all&section=all&arch=any&searchon=sourcenames&keywords=php8.4",
    "statuses": [
      {
        "pocket": "security",
        "status": "DNE",
        "component": null,
        "description": "",
        "release_codename": "stonking"
      },
      {
        "pocket": "security",
        "status": "DNE",
        "component": null,
        "description": "",
        "release_codename": "jammy"
      },
      {
        "pocket": "security",
        "status": "DNE",
        "component": null,
        "description": "",
        "release_codename": "noble"
      },
      {
        "pocket": "security",
        "status": "DNE",
        "component": null,
        "description": "",
        "release_codename": "resolute"
      },
      {
        "pocket": "security",
        "status": "released",
        "component": null,
        "description": "8.4.21",
        "release_codename": "upstream"
      },
      {
        "pocket": "security",
        "status": "released",
        "component": null,
        "description": "8.4.11-1ubuntu1.2",
        "release_codename": "questing"
      }
    ]
  }
]
Archived source JSON
Ubuntu Security · ubuntu-package · full conditions
[
  {
    "name": "php8.3",
    "debian": "https://tracker.debian.org/pkg/php8.3",
    "source": "https://ubuntu.com/security/cve?package=php8.3",
    "ubuntu": "https://packages.ubuntu.com/search?suite=all&section=all&arch=any&searchon=sourcenames&keywords=php8.3",
    "statuses": [
      {
        "pocket": "security",
        "status": "DNE",
        "component": null,
        "description": "",
        "release_codename": "stonking"
      },
      {
        "pocket": "security",
        "status": "DNE",
        "component": null,
        "description": "",
        "release_codename": "jammy"
      },
      {
        "pocket": "security",
        "status": "DNE",
        "component": null,
        "description": "",
        "release_codename": "questing"
      },
      {
        "pocket": "security",
        "status": "DNE",
        "component": null,
        "description": "",
        "release_codename": "resolute"
      },
      {
        "pocket": "security",
        "status": "released",
        "component": null,
        "description": "8.3.31",
        "release_codename": "upstream"
      },
      {
        "pocket": "security",
        "status": "released",
        "component": null,
        "description": "8.3.6-0ubuntu0.24.04.9",
        "release_codename": "noble"
      }
    ]
  }
]
Archived source JSON
CVE Program · cve-json · full conditions
{
  "affected": [
    {
      "vendor": "PHP Group",
      "product": "PHP",
      "versions": [
        {
          "status": "affected",
          "version": "8.2.*",
          "lessThan": "8.2.31",
          "versionType": "semver"
        },
        {
          "status": "affected",
          "version": "8.3.*",
          "lessThan": "8.3.31",
          "versionType": "semver"
        },
        {
          "status": "affected",
          "version": "8.4.*",
          "lessThan": "8.4.21",
          "versionType": "semver"
        },
        {
          "status": "affected",
          "version": "8.5.*",
          "lessThan": "8.5.6",
          "versionType": "semver"
        }
      ],
      "packageName": "soap",
      "defaultStatus": "affected"
    }
  ],
  "additionalContainers": [
    {
      "title": "CISA ADP Vulnrichment",
      "metrics": [
        {
          "other": {
            "type": "ssvc",
            "content": {
              "id": "CVE-2026-6722",
              "role": "CISA Coordinator",
              "options": [
                {
                  "Exploitation": "none"
                },
                {
                  "Automatable": "no"
                },
                {
                  "Technical Impact": "total"
                }
              ],
              "version": "2.0.3",
              "timestamp": "2026-05-11T00:00:00+00:00"
            }
          }
        }
      ],
      "providerMetadata": {
        "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "shortName": "CISA-ADP",
        "dateUpdated": "2026-05-12T03:55:18.668Z"
      }
    },
    {
      "title": "php: php-soap: php-src: PHP SOAP extension: Remote Code Execution via use-after-free vulnerability",
      "metrics": [
        {
          "other": {
            "type": "Red Hat severity rating",
            "content": {
              "value": "Important",
              "namespace": "https://access.redhat.com/security/updates/classification/"
            }
          }
        },
        {
          "format": "CVSS",
          "cvssV3_1": {
            "scope": "UNCHANGED",
            "version": "3.1",
            "baseScore": 7.7,
            "attackVector": "NETWORK",
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L",
            "integrityImpact": "HIGH",
            "userInteraction": "NONE",
            "attackComplexity": "HIGH",
            "availabilityImpact": "LOW",
            "privilegesRequired": "NONE",
            "confidentialityImpact": "HIGH"
          }
        }
      ],
      "affected": [
        {
          "cpes": [
            "cpe:/o:redhat:enterprise_linux:10.2"
          ],
          "vendor": "Red Hat",
          "product": "Red Hat Enterprise Linux 10",
          "versions": [
            {
              "status": "unaffected",
              "version": "0:8.4.21-1.el10_2",
              "lessThan": "*",
              "versionType": "rpm"
            }
          ],
          "packageName": "php8.4",
          "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
          "defaultStatus": "affected"
        },
        {
          "cpes": [
            "cpe:/o:redhat:enterprise_linux:10.2"
          ],
          "vendor": "Red Hat",
          "product": "Red Hat Enterprise Linux 10",
          "versions": [
            {
              "status": "unaffected",
              "version": "0:8.3.31-1.el10_2",
              "lessThan": "*",
              "versionType": "rpm"
            }
          ],
          "packageName": "php",
          "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
          "defaultStatus": "affected"
        },
        {
          "cpes": [
            "cpe:/a:redhat:enterprise_linux:8"
          ],
          "vendor": "Red Hat",
          "product": "Red Hat Enterprise Linux 8",
          "versions": [
            {
              "status": "unaffected",
              "version": "8100020260521052503.f7998665",
              "lessThan": "*",
              "versionType": "rpm"
            }
          ],
          "packageName": "php:8.2",
          "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
          "defaultStatus": "affected"
        },
        {
          "cpes": [
            "cpe:/a:redhat:enterprise_linux:8"
          ],
          "vendor": "Red Hat",
          "product": "Red Hat Enterprise Linux 8",
          "versions": [
            {
              "status": "unaffected",
              "version": "8100020260604072603.f7998665",
              "lessThan": "*",
              "versionType": "rpm"
            }
          ],
          "packageName": "php:7.4",
          "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
          "defaultStatus": "affected"
        },
        {
          "cpes": [
            "cpe:/a:redhat:enterprise_linux:9"
          ],
          "vendor": "Red Hat",
          "product": "Red Hat Enterprise Linux 9",
          "versions": [
            {
              "status": "unaffected",
              "version": "9080020260521113736.9",
              "lessThan": "*",
              "versionType": "rpm"
            }
          ],
          "packageName": "php:8.3",
          "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
          "defaultStatus": "affected"
        },
        {
          "cpes": [
            "cpe:/a:redhat:enterprise_linux:9"
          ],
          "vendor": "Red Hat",
          "product": "Red Hat Enterprise Linux 9",
          "versions": [
            {
              "status": "unaffected",
              "version": "9080020260521080715.9",
              "lessThan": "*",
              "versionType": "rpm"
            }
          ],
          "packageName": "php:8.2",
          "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
          "defaultStatus": "affected"
        },
        {
          "cpes": [
            "cpe:/a:redhat:enterprise_linux:9"
          ],
          "vendor": "Red Hat",
          "product": "Red Hat Enterprise Linux 9",
          "versions": [
            {
              "status": "unaffected",
              "version": "0:8.0.30-6.el9_8",
              "lessThan": "*",
              "versionType": "rpm"
            }
          ],
          "packageName": "php",
          "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
          "defaultStatus": "affected"
        },
        {
          "cpes": [
            "cpe:/o:redhat:enterprise_linux:6"
          ],
          "vendor": "Red Hat",
          "product": "Red Hat Enterprise Linux 6",
          "packageName": "php",
          "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
          "defaultStatus": "unknown"
        },
        {
          "cpes": [
            "cpe:/o:redhat:enterprise_linux:7"
          ],
          "vendor": "Red Hat",
          "product": "Red Hat Enterprise Linux 7",
          "packageName": "php",
          "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
          "defaultStatus": "affected"
        }
      ],
      "timeline": [
        {
          "lang": "en",
          "time": "2026-05-10T05:00:46.220Z",
          "value": "Reported to Red Hat."
        },
        {
          "lang": "en",
          "time": "2026-05-10T04:19:15.288Z",
          "value": "Made public."
        }
      ],
      "solutions": [
        {
          "lang": "en",
          "value": "RHSA-2026:23388: Red Hat Enterprise Linux AppStream (v. 10)"
        },
        {
          "lang": "en",
          "value": "RHSA-2026:22649: Red Hat Enterprise Linux AppStream (v. 10)"
        },
        {
          "lang": "en",
          "value": "RHSA-2026:34354: Red Hat Enterprise Linux AppStream (v. 8)"
        },
        {
          "lang": "en",
          "value": "RHSA-2026:22305: Red Hat Enterprise Linux AppStream (v. 8)"
        },
        {
          "lang": "en",
          "value": "RHSA-2026:22142: Red Hat Enterprise Linux AppStream (v. 9)"
        },
        {
          "lang": "en",
          "value": "RHSA-2026:22143: Red Hat Enterprise Linux AppStream (v. 9)"
        },
        {
          "lang": "en",
          "value": "RHSA-2026:33449: Red Hat Enterprise Linux AppStream (v. 9)"
        }
      ],
      "x_adpType": "supplier",
      "datePublic": "2026-05-10T04:19:15.288Z",
      "references": [
        {
          "url": "https://access.redhat.com/security/cve/CVE-2026-6722",
          "tags": [
            "vdb-entry",
            "x_refsource_REDHAT"
          ]
        },
        {
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2468560",
          "name": "RHBZ#2468560",
          "tags": [
            "issue-tracking",
            "x_refsource_REDHAT"
          ]
        },
        {
          "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-6722.json",
          "tags": [
            "x_sadp-csaf-vex"
          ]
        },
        {
          "url": "https://access.redhat.com/errata/RHSA-2026:23388",
          "tags": [
            "vendor-advisory",
            "x_refsource_REDHAT"
          ]
        },
        {
          "url": "https://access.redhat.com/errata/RHSA-2026:22649",
          "tags": [
            "vendor-advisory",
            "x_refsource_REDHAT"
          ]
        },
        {
          "url": "https://access.redhat.com/errata/RHSA-2026:34354",
          "tags": [
            "vendor-advisory",
            "x_refsource_REDHAT"
          ]
        },
        {
          "url": "https://access.redhat.com/errata/RHSA-2026:22305",
          "tags": [
            "vendor-advisory",
            "x_refsource_REDHAT"
          ]
        },
        {
          "url": "https://access.redhat.com/errata/RHSA-2026:22142",
          "tags": [
            "vendor-advisory",
            "x_refsource_REDHAT"
          ]
        },
        {
          "url": "https://access.redhat.com/errata/RHSA-2026:22143",
          "tags": [
            "vendor-advisory",
            "x_refsource_REDHAT"
          ]
        },
        {
          "url": "https://access.redhat.com/errata/RHSA-2026:33449",
          "tags": [
            "vendor-advisory",
            "x_refsource_REDHAT"
          ]
        }
      ],
      "workarounds": [
        {
          "lang": "en",
          "value": "Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability."
        }
      ],
      "x_generator": {
        "engine": "sadp-cli 1.0.0"
      },
      "descriptions": [
        {
          "lang": "en",
          "value": "A flaw was found in PHP's SOAP extension. This vulnerability allows a remote attacker to execute arbitrary code on the affected system. The issue stems from a use-after-free error in the object deduplication mechanism, which can be triggered by sending a specially crafted SOAP request. This allows an attacker to manipulate memory and achieve remote code execution."
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "lang": "en",
              "type": "CWE",
              "cweId": "CWE-825",
              "description": "Expired Pointer Dereference"
            }
          ]
        }
      ],
      "providerMetadata": {
        "orgId": "0b0ca135-0b70-47e7-9f44-1890c2a1c46c",
        "shortName": "redhat-SADP",
        "dateUpdated": "2026-07-23T12:08:11.781Z"
      }
    }
  ]
}
Archived source JSON
NVD · nvd-cpe · full conditions
[
  {
    "nodes": [
      {
        "negate": false,
        "cpeMatch": [
          {
            "criteria": "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",
            "vulnerable": true,
            "matchCriteriaId": "A892B6FF-F4EB-40C6-8DD0-D2246A71D271",
            "versionEndExcluding": "8.2.31",
            "versionStartIncluding": "8.2.0"
          },
          {
            "criteria": "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",
            "vulnerable": true,
            "matchCriteriaId": "9DBBB51D-F0C4-4CEC-9B6B-33D0BF0044A5",
            "versionEndExcluding": "8.3.31",
            "versionStartIncluding": "8.3.0"
          },
          {
            "criteria": "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",
            "vulnerable": true,
            "matchCriteriaId": "BA663C03-392C-41CC-BD11-4A1245203C42",
            "versionEndExcluding": "8.4.21",
            "versionStartIncluding": "8.4.0"
          },
          {
            "criteria": "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",
            "vulnerable": true,
            "matchCriteriaId": "6101DA12-5AA1-4882-A52A-61FB74254F9A",
            "versionEndExcluding": "8.5.6",
            "versionStartIncluding": "8.5.0"
          }
        ],
        "operator": "OR"
      }
    ]
  }
]
Archived source JSON

Correction evidence

Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.

Evidence typeDistribution / releasePackageChannelVersion or source noteSource
upstream-releaseupstream / upstreamphp8.4Not a distribution channel8.4.21Official record
distribution-packageUbuntu / questingphp8.4security8.4.11-1ubuntu1.2Official record
upstream-releaseupstream / upstreamphp8.3Not a distribution channel8.3.31Official record
distribution-packageUbuntu / noblephp8.3security8.3.6-0ubuntu0.24.04.9Official record

Vendor notices and operational guidance

No connected vendor notice is available for this record.

Original sources and dates

Official status history