Buffer overflow in PHP

CVE-2023-3824

In PHP version 8.0.* before 8.0.30,  8.1.* before 8.1.22, and 8.2.* before 8.2.8, when loading phar file, while reading PHAR directory entries, insufficient length checking may lead to a stack buffer overflow, leading potentially to memory corruption or RCE.

Vulnerability class: Buffer Overflow

Published · last modified .

CVSS v3 metric

CVSS v3 base score 9.4 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L.

EPSS exploit prediction

EPSS 0.218, 97.7th percentile (scored ); unchanged over 30 days. About EPSS.

Affected products

Weakness classification (CWE)

Public exploits and proof-of-concept code

15 public repositories with exploit or proof-of-concept code for this CVE:

5 more are listed on the interactive page.

Also mentioned in 8 other repositories (ARPSyndicate/cve-scores, fkie-cad/nvd-json-data-feeds, htankhaishan/ASC, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.

References