CVE-2024-11235

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-11235
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-11235.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-11235
Related
Published
2025-04-04T18:15:48Z
Modified
2025-04-04T21:47:27.375798Z
Downstream
Summary
[none]
Details

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.

References

Affected packages

Debian:13 / php8.4

Package

Name
php8.4
Purl
pkg:deb/debian/php8.4?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
8.4.5-1

Affected versions

8.*

8.4.0~alpha1-1
8.4.0~alpha4-1
8.4.0~beta3-1
8.4.0~beta4-1
8.4.0~beta5-1
8.4.0~rc1-1
8.4.0~rc4-1
8.4.1-4
8.4.1-5
8.4.1-6
8.4.2-1
8.4.3-1
8.4.4-1
8.4.4-1.1

Ecosystem specific

{
    "urgency": "not yet assigned"
}