Skip to content
Noroxi
CVE-2024-11235· NVD / CVE Program· CNA php

Reference counting in php_request_shutdown causes Use-After-Free

In PHP versions 8.3.* before 8.3.19 and 8.4.* before 8.4.5, a code sequence involving __set handler or ??=  operator and exceptions can lead to a use-after-free vulnerability. If the third party can control the memory layout leading to this, for example by supplying specially crafted inputs to the script, it could lead to remote code execution.

CriticalCVSS 9.2 · v4.0—No exploit Fix available
Published
Apr 4, 2025
Updated
Jun 17, 2026
EPSS
1.5% · 72th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

36

Monitor

Low priority for now.

CVSS
36 / 40 · 9.2 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 1.5%

CISA SSVC decision

Exploitation
proof of concept
Automatable
no
Technical impact
total

Vulnrichment: CISA's decision-tree inputs.

CNA vs NVD score

NVD
—
CNA · php
9.2
NVD has not scored this yet; the score shown is the CNA’s.

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/U:Amber

The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.

Affected systems

VendorProduct
phpphp

Using php? Add it to your stack and be the first to know about CVEs like this one. (PHP)

Add to my stack

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • php php8.3.0 and later · before 8.3.19
  • php php8.4.0 and later · before 8.4.5

Versions reported by the vendor

Affected version ranges reported by the assigning authority (php). Independent of NVD's CPE analysis and usually ahead of it.

  • PHP Group PHP

    • 8.4.* and later · before 8.4.5affected · semver
    • 8.3.* and later · before 8.3.19affected · semver

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
AlmaLinux:10phpbefore 8.3.19-1.el10_08.3.19-1.el10_0
AlmaLinux:10php-bcmathbefore 8.3.19-1.el10_08.3.19-1.el10_0
AlmaLinux:10php-clibefore 8.3.19-1.el10_08.3.19-1.el10_0
AlmaLinux:10php-commonbefore 8.3.19-1.el10_08.3.19-1.el10_0
AlmaLinux:10php-dbabefore 8.3.19-1.el10_08.3.19-1.el10_0
AlmaLinux:10php-dbgbefore 8.3.19-1.el10_08.3.19-1.el10_0
AlmaLinux:10php-develbefore 8.3.19-1.el10_08.3.19-1.el10_0
AlmaLinux:10php-embeddedbefore 8.3.19-1.el10_08.3.19-1.el10_0
AlmaLinux:10php-enchantbefore 8.3.19-1.el10_08.3.19-1.el10_0
AlmaLinux:10php-ffibefore 8.3.19-1.el10_08.3.19-1.el10_0
AlmaLinux:10php-fpmbefore 8.3.19-1.el10_08.3.19-1.el10_0
AlmaLinux:10php-gdbefore 8.3.19-1.el10_08.3.19-1.el10_0
AlmaLinux:10php-gmpbefore 8.3.19-1.el10_08.3.19-1.el10_0
AlmaLinux:10php-intlbefore 8.3.19-1.el10_08.3.19-1.el10_0
AlmaLinux:10php-ldapbefore 8.3.19-1.el10_08.3.19-1.el10_0
AlmaLinux:10php-mbstringbefore 8.3.19-1.el10_08.3.19-1.el10_0
AlmaLinux:10php-mysqlndbefore 8.3.19-1.el10_08.3.19-1.el10_0
AlmaLinux:10php-odbcbefore 8.3.19-1.el10_08.3.19-1.el10_0
AlmaLinux:10php-opcachebefore 8.3.19-1.el10_08.3.19-1.el10_0
AlmaLinux:10php-pdobefore 8.3.19-1.el10_08.3.19-1.el10_0
AlmaLinux:10php-pgsqlbefore 8.3.19-1.el10_08.3.19-1.el10_0
AlmaLinux:10php-processbefore 8.3.19-1.el10_08.3.19-1.el10_0
AlmaLinux:10php-snmpbefore 8.3.19-1.el10_08.3.19-1.el10_0
AlmaLinux:10php-soapbefore 8.3.19-1.el10_08.3.19-1.el10_0

+96

Same product

php: all records

Other highest-scoring records for the same primary product.

  • CVE-2024-4577Argument Injection in PHP-CGIKEV
    99Now
  • CVE-2019-11043Underflow in PHP-FPM can lead to RCEKEV
    99Now
  • CVE-2012-1823sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not properly handle queKEV
    99Now
  • CVE-2018-7584In PHP through 5.6.33, 7.0.x before 7.0.28, 7.1.x through 7.1.14, and 7.2.x through 7.2.2, there is a stack-based buffer under-read while pa
    65This week
  • CVE-2018-19518University of Washington IMAP Toolkit 2007f on UNIX, as used in imap_open() in PHP and other products, launches an rsh command (by means of
    59Plan
  • CVE-2016-3078Multiple integer overflows in php_zip.c in the zip extension in PHP before 7.0.6 allow remote attackers to cause a denial of service (heap-b
    56Plan

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
PHP Group PHP8.3.19Vendor (CNA)
PHP Group PHP8.4.5Vendor (CNA)
almalinux:apcu-panel5.1.23-1.module_el9.6.0+151+5f31e576 · AlmaLinux:9Package registry (OSV)
almalinux:php8.3.19-1.module_el9.6.0+166+f262c21c · AlmaLinux:9Package registry (OSV)
almalinux:php-bcmath8.3.19-1.module_el9.6.0+166+f262c21c · AlmaLinux:9Package registry (OSV)
almalinux:php-cli8.3.19-1.module_el9.6.0+166+f262c21c · AlmaLinux:9Package registry (OSV)
almalinux:php-common8.3.19-1.module_el9.6.0+166+f262c21c · AlmaLinux:9Package registry (OSV)
almalinux:php-dba8.3.19-1.module_el9.6.0+166+f262c21c · AlmaLinux:9Package registry (OSV)
almalinux:php-dbg8.3.19-1.module_el9.6.0+166+f262c21c · AlmaLinux:9Package registry (OSV)
almalinux:php-devel8.3.19-1.module_el9.6.0+166+f262c21c · AlmaLinux:9Package registry (OSV)
almalinux:php-embedded8.3.19-1.module_el9.6.0+166+f262c21c · AlmaLinux:9Package registry (OSV)
almalinux:php-enchant8.3.19-1.module_el9.6.0+166+f262c21c · AlmaLinux:9Package registry (OSV)
almalinux:php-ffi8.3.19-1.module_el9.6.0+166+f262c21c · AlmaLinux:9Package registry (OSV)
almalinux:php-fpm8.3.19-1.module_el9.6.0+166+f262c21c · AlmaLinux:9Package registry (OSV)
debian:php8.48.4.5-1 · Debian:13Package registry (OSV)
opensuse:apache2-mod_php88.2.28-150600.3.16.1 · openSUSE:Leap 15.6Package registry (OSV)
opensuse:php88.2.28-150600.3.16.1 · openSUSE:Leap 15.6Package registry (OSV)
opensuse:php8-embed8.2.28-150600.3.16.1 · openSUSE:Leap 15.6Package registry (OSV)
opensuse:php8-fastcgi8.2.28-150600.3.16.1 · openSUSE:Leap 15.6Package registry (OSV)
opensuse:php8-fpm8.2.28-150600.3.16.1 · openSUSE:Leap 15.6Package registry (OSV)
opensuse:php8-test8.2.28-150600.3.16.1 · openSUSE:Leap 15.6Package registry (OSV)
red hat:apcu-panel0:5.1.23-1.module+el9.6.0+22647+1741ae35 · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
red hat:php0:8.3.19-1.module+el9.6.0+23015+da8065b7 · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
red hat:php-bcmath0:8.3.19-1.module+el9.6.0+23015+da8065b7 · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
red hat:php-bcmath-debuginfo0:8.3.19-1.module+el9.6.0+23015+da8065b7 · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
red hat:php-cli0:8.3.19-1.module+el9.6.0+23015+da8065b7 · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
red hat:php-cli-debuginfo0:8.3.19-1.module+el9.6.0+23015+da8065b7 · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
red hat:php-common0:8.3.19-1.module+el9.6.0+23015+da8065b7 · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
red hat:php-common-debuginfo0:8.3.19-1.module+el9.6.0+23015+da8065b7 · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
red hat:php-dba0:8.3.19-1.module+el9.6.0+23015+da8065b7 · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)

+19

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

  • CVE-2026-6722401 days apartUse-After-Free in SOAP using Apache map
    38Monitor
  • CVE-2026-7261401 days apartSoapServer session-persisted object use-after-free via SOAP header fault
    25Monitor

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • No account or password is required.
  • No user action is required.
  • Special conditions such as timing or configuration are required.

If successful

Confidentiality
Integrity
Availability
Attack vector
Network
Attack complexity
High
Privileges required
None
User interaction
None
Scope
X

Weakness class (CWE)

CWE-416 · Use After Free

CVSS vector

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/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:X/U:Amber

nvd-secondary

Root cause

After a memory region is freed, another reference pointing to it is still used. By then, the same region may have been allocated for different data.

A representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.

Vulnerable

c
free(dev->buf);/* ... another thread is still running ... */process(dev->buf);

Fixed

c
lock(&dev->lock);free(dev->buf);dev->buf = NULL;unlock(&dev->lock);

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

MITRE has no CAPEC/ATT&CK mapping for this CWE.

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

All records