Advisory

UBUNTU-CVE-2024-11235

Also known as: CVE-2024-11235

Summary

The record has no summary.

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.

Severity

High Basis: CVSS v3 score 8.1, vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Dates

Published
2025-03-14 00:00 UTC
Modified
2026-10-21 23:00 UTC

Affected packages and fixes

php7.4

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 7.4.3-4ubuntu2.29 (ecosystem)

Fixed versions

7.4.3-4ubuntu2.29

Fix

  • Fixed version 7.4.3-4ubuntu2.29
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

php8.1

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 8.1.2-1ubuntu2.21 (ecosystem)

Fixed versions

8.1.2-1ubuntu2.21

Fix

  • Fixed version 8.1.2-1ubuntu2.21
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

php8.3

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 8.3.6-0ubuntu0.24.04.4 (ecosystem)

Fixed versions

8.3.6-0ubuntu0.24.04.4

Fix

  • Fixed version 8.3.6-0ubuntu0.24.04.4
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences