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.6th percentile), scored .

Moderate probability of exploitation in the next 30 days — watch for active exploitation reports. 98th percentile — 97.6% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2023-3824: held from 0.218 to 0.218.

EPSS over last 30 days · oldest: 0.218 · newest: 0.218 · change: 0.000

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2023-3824?
CVE-2023-3824 is a critical-severity vulnerability in PHP, classified under Improper Restriction of Operations within the Bounds of a Memory Buffer. CVSS score: 9.4/10. Published 2023-08-11.
How severe is CVE-2023-3824?
Critical severity. CVSS v3 base score is 9.4 out of 10.
Is CVE-2023-3824 known to be exploited?
23 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.