Use After Free Affecting php package, versions <0:8.3.19-1.el10_0


Severity

Recommended
0.0
high
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.34% (57th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Use After Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RHEL10-PHP-10182392
  • published19 May 2025
  • disclosed1 Jan 2024

Introduced: 1 Jan 2024

CVE-2024-11235  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade RHEL:10 php to version 0:8.3.19-1.el10_0 or higher.
This issue was patched in RHSA-2025:7489.

NVD Description

Note: Versions mentioned in the description apply only to the upstream php package and not the php package as distributed by RHEL. See How to fix? for RHEL:10 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1