Use After Free Affecting php:8.3/php-cli package, versions <0:8.3.19-1.module_el9.6.0+166+f262c21c


Severity

Recommended
0.0
high
0
10

Based on AlmaLinux security rating.

Threat Intelligence

EPSS
1.35% (69th 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 IDSNYK-ALMALINUX9-PHP-10588407
  • published3 Jul 2025
  • disclosed13 May 2025

Introduced: 13 May 2025

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

How to fix?

Upgrade AlmaLinux:9 php:8.3/php-cli to version 0:8.3.19-1.module_el9.6.0+166+f262c21c or higher.
This issue was patched in ALSA-2025:7418.

NVD Description

Note: Versions mentioned in the description apply only to the upstream php:8.3/php-cli package and not the php:8.3/php-cli package as distributed by AlmaLinux. See How to fix? for AlmaLinux:9 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