VDB

CVE-2026-129481

CVE-2026-129481 PUBLISHED CVSS 9.2 CRITICAL

Use-after-free after interrupted session shutdown

Reported by php · Published November 19, 2026

Use-after-free after interrupted session shutdown. The session extension records the filename of the executing script when a session starts. If a fatal error occurs in an application callback while the session variables are destroyed at shutdown, such as stream_close() of a user-defined stream wrapper, the pointer is retained after the request memory is freed, and a later request handled by the same worker can free the stale string. An attacker who can trigger such a failing cleanup may crash the worker or corrupt memory; code execution has not been demonstrated. This requires the filename to be allocated in request memory, for example when the script is not cached by OPcache. This issue affects PHP versions 8.3.* before 8.3.37, 8.4.* before 8.4.28 and 8.5.* before 8.5.13.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
php8.3-dbaAmazon Linux8.3.37-1.amzn2023.0.1
php8.5-processAmazon Linux8.5.13-1.amzn2023.0.1
php8.3-pgsqlAmazon Linux8.3.37-1.amzn2023.0.1
php8.4-intlAmazon Linux8.4.28-1.amzn2023.0.1
php8.3-bcmathAmazon Linux8.3.37-1.amzn2023.0.1
php8.4-enchantAmazon Linux8.4.28-1.amzn2023.0.1
php-8.5Wolfi8.5.13-r0
php8.5-pgsqlAmazon Linux8.5.13-1.amzn2023.0.1
php8.5-ldapAmazon Linux8.5.13-1.amzn2023.0.1
php8.5-gdAmazon Linux8.5.13-1.amzn2023.0.1
php8.5-dbgAmazon Linux8.5.13-1.amzn2023.0.1
php8.5-enchantAmazon Linux8.5.13-1.amzn2023.0.1

80 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 4.0
9.2
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Affected products

VendorProductVersions
PHP GroupPHP8.3.0, 8.4.0, 8.5.0
PHP GroupPHP8.3.0, 8.4.0, 8.5.0

Timeline

  • Nov 19, 2026 Coalition ESS Score
  • Nov 19, 2026 PoC Published (7 in total, the first dated here)
  • Nov 19, 2026 CVE Published
  • Nov 19, 2026 CVE Updated
  • Nov 20, 2026 EPSS Score (2 in total, the first dated here)
  • Nov 22, 2026 Distribution Patch (3 in total, the first dated here)
  • Nov 22, 2026 Security Advisory (3 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-129481
vulnetix vdb fixes CVE-2026-129481

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-129481/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

  • vendor-advisory
Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›